Last active
August 29, 2015 13:56
-
-
Save andy-leonard/9077193 to your computer and use it in GitHub Desktop.
"knife solo data bag" in a cookbook - outside of a chef-solo repo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Create secret key: | |
openssl rand -base64 512 | tr -d '\r\n' > test/integration/edb_secret | |
# Create EDB: | |
knife solo data bag create pgsql_creds postgres --secret-file test/integration/edb_secret \ | |
--data-bag-path test/data_bags | |
# This creates: | |
# | |
# test/data_bags | |
# └── pgsql_creds | |
# └── postgres.json |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment