diff options
-rw-r--r-- | lib/chef/encrypted_data_bag_item.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/chef/encrypted_data_bag_item.rb b/lib/chef/encrypted_data_bag_item.rb index d3149c3171..009549eabe 100644 --- a/lib/chef/encrypted_data_bag_item.rb +++ b/lib/chef/encrypted_data_bag_item.rb @@ -128,8 +128,9 @@ 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[:encrypted_data_bag_secret] || Chef::Config.platform_specific_path('/etc/chef/encrypted_data_bag_secret')}" + raise ArgumentError, "No secret specified to load_secret and no secret found at" + + " #{Chef::Config[:encrypted_data_bag_secret] || + Chef::Config.platform_specific_path('/etc/chef/encrypted_data_bag_secret')}" end secret = case path when /^\w+:\/\// |