Last active
August 29, 2015 14:08
-
-
Save ocxo/53a3d5c1b3d52189e0e8 to your computer and use it in GitHub Desktop.
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
unless Chef::Config[:solo] | |
databag = Chef::EncryptedDataBagItem.load("credentials", "datadog") | |
node.default.datadog.api_key = databag['api_key'] | |
include_recipe "datadog::dd-agent" | |
end |
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
$ git grep -i datadog | |
Berksfile:cookbook "datadog", "~> 2.0.0" | |
metadata.rb:depends 'datadog' | |
recipes/datadog.rb: databag = Chef::EncryptedDataBagItem.load("credentials", "datadog") | |
recipes/datadog.rb: node.default.datadog.api_key = databag['api_key'] | |
recipes/datadog.rb: include_recipe "datadog::dd-agent" | |
recipes/default.rb:include_recipe "base::datadog" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment