summaryrefslogtreecommitdiff
path: root/chef-config/lib/chef-config/config.rb
diff options
context:
space:
mode:
authorMarc Chamberland <chamberland.marc@gmail.com>2019-11-20 15:04:20 -0500
committerMarc Chamberland <chamberland.marc@gmail.com>2019-12-05 08:47:17 -0500
commit6c93fb3efe1440ee07de76e8ad1f7b1646bf7cd0 (patch)
tree8f40344c21ca9272715fd18878f4292a748d9ac4 /chef-config/lib/chef-config/config.rb
parentc0b12875aedb970d93fbce1fa47d4e303f571aaf (diff)
downloadchef-6c93fb3efe1440ee07de76e8ad1f7b1646bf7cd0.tar.gz
bribing the cops
Signed-off-by: Marc Chamberland <chamberland.marc@gmail.com>
Diffstat (limited to 'chef-config/lib/chef-config/config.rb')
-rw-r--r--chef-config/lib/chef-config/config.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/chef-config/lib/chef-config/config.rb b/chef-config/lib/chef-config/config.rb
index 89bf625ec0..7a4d8682cf 100644
--- a/chef-config/lib/chef-config/config.rb
+++ b/chef-config/lib/chef-config/config.rb
@@ -696,7 +696,7 @@ module ChefConfig
# This secret is used to decrypt encrypted data bag items.
default(:encrypted_data_bag_secret) do
if target_mode? && File.exist?(PathHelper.cleanpath("#{etc_chef_dir}/#{target_mode.host}/encrypted_data_bag_secret"))
- PathHelper.cleanpath("#{etc_chef_dir}/#{target_mode.host}/encrypted_data_bag_secret")
+ PathHelper.cleanpath("#{etc_chef_dir}/#{target_mode.host}/encrypted_data_bag_secret")
elsif File.exist?(PathHelper.cleanpath("#{etc_chef_dir}/encrypted_data_bag_secret"))
PathHelper.cleanpath("#{etc_chef_dir}/encrypted_data_bag_secret")
else