Skip to content

Instantly share code, notes, and snippets.

@hartfordfive
Created February 16, 2017 19:01
Show Gist options
  • Save hartfordfive/159a34322701493700d62f6852d4dc5d to your computer and use it in GitHub Desktop.
Save hartfordfive/159a34322701493700d62f6852d4dc5d to your computer and use it in GitHub Desktop.
Creating a local encrypted database for your TestKitcheCI suites
# Once
chef exec gem install knife-solo_data_bag
# Then run this to create the databag
chef exec knife solo data bag create [BAG_NAME] [ITEM_NAME] --secret-file '[PATH_TO_SECRET]' --data-bag-path test/integration/default/data_bags/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment