Skip to content

Instantly share code, notes, and snippets.

@afirth
Created February 4, 2014 18:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save afirth/8809839 to your computer and use it in GitHub Desktop.
Save afirth/8809839 to your computer and use it in GitHub Desktop.
new secret loading
<< secret = Chef::EncryptedDataBagItem.load_secret(Chef::EncryptedDataBagItem::DEFAULT_SECRET_FILE)
<< splunk_auth_items = Chef::EncryptedDataBagItem.load("splunk_auth",node['splunk']['indexer_env'] + '_auth_creds',secret)
>> splunk_auth_items = Chef::EncryptedDataBagItem.load("splunk_auth",node['splunk']['indexer_env'] + '_auth_creds')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment