Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add vault_wordpress_sites validations #823

Merged
merged 1 commit into from
Apr 8, 2017

Conversation

swalkinshaw
Copy link
Member

@swalkinshaw swalkinshaw commented Apr 8, 2017

This will catch a common error of forgetting to update site names/keys in both wordpress_sites and vault_wordpress_sites.

Example output:

Invalid WordPress sites configuration: site names in `wordpress_sites` must
have matching entry in `vault_wordpress_sites`.

Sites without a matching vault entry:
* `example.com`

Update `group_vars/development/vault_wordpress_sites.yml` to continue.

Docs: https://roots.io/trellis/docs/wordpress-sites/#passwordssecrets

@swalkinshaw swalkinshaw force-pushed the add-wordpress-sites-validation branch from dfcdf57 to 43bc75f Compare April 8, 2017 00:28
@fullyint
Copy link
Contributor

fullyint commented Apr 8, 2017

Works in my tests!

🏆 So many will be spared the frustration.

@swalkinshaw swalkinshaw changed the title Add wordpress_sites validations Add vault_wordpress_sites validations Apr 8, 2017
This will catch a common error of forgetting to update site names/keys
in both `wordpress_sites` and `vault_wordpress_sites`.
@swalkinshaw swalkinshaw force-pushed the add-wordpress-sites-validation branch from 43bc75f to 4b32632 Compare April 8, 2017 00:38
@swalkinshaw swalkinshaw merged commit 26aabfd into master Apr 8, 2017
@swalkinshaw swalkinshaw deleted the add-wordpress-sites-validation branch April 8, 2017 00:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants