summaryrefslogtreecommitdiff
path: root/lib/chef/encrypted_data_bag_item.rb
diff options
context:
space:
mode:
authorClaire McQuin <claire@getchef.com>2014-08-19 08:44:18 -0700
committerClaire McQuin <claire@getchef.com>2014-08-22 11:59:32 -0700
commit82a8eb014c52cccbd8e1e73742e5e35d84b60761 (patch)
treeec024b370959e5483e577e6c445dd170a92370e2 /lib/chef/encrypted_data_bag_item.rb
parent49e82f5b0b3febf5931813050e013eedf3e671a7 (diff)
downloadchef-82a8eb014c52cccbd8e1e73742e5e35d84b60761.tar.gz
Enable autodetection of encrypted data bag items.
Diffstat (limited to 'lib/chef/encrypted_data_bag_item.rb')
-rw-r--r--lib/chef/encrypted_data_bag_item.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/encrypted_data_bag_item.rb b/lib/chef/encrypted_data_bag_item.rb
index f722b5dc38..120eb2a4ae 100644
--- a/lib/chef/encrypted_data_bag_item.rb
+++ b/lib/chef/encrypted_data_bag_item.rb
@@ -128,7 +128,7 @@ class Chef::EncryptedDataBagItem
def self.load_secret(path=nil)
path ||= Chef::Config[:encrypted_data_bag_secret]
if !path
- raise ArgumentError, "No secret specified to load_secret and no secret found at #{Chef::Config.platform_specific_path('/etc/chef/encrypted_data_bag_secret')}"
+ raise ArgumentError, "No secret specified and no secret found at #{Chef::Config.platform_specific_path('/etc/chef/encrypted_data_bag_secret')}"
end
secret = case path
when /^\w+:\/\//