diff options
author | Serdar Sutay <serdar@opscode.com> | 2014-04-07 13:36:33 -0700 |
---|---|---|
committer | Serdar Sutay <serdar@opscode.com> | 2014-04-07 13:36:33 -0700 |
commit | 0d7f637b663f53a07ca375d0953658ad283fe6a5 (patch) | |
tree | 8af31a6fffd2267abce284a964e61e38a73a4b97 /lib/chef | |
parent | a6d6930136cabac3ce9befcef9427a0a1215f653 (diff) | |
parent | c20a5790d864996013d8a597eab57ea2327c3c56 (diff) | |
download | chef-0d7f637b663f53a07ca375d0953658ad283fe6a5.tar.gz |
Merge pull request #1362 from opscode/jhs/CHEF-5189
CHEF-5189 Correct link provider debug output
Diffstat (limited to 'lib/chef')
-rw-r--r-- | lib/chef/provider/link.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/provider/link.rb b/lib/chef/provider/link.rb index 7776b59a85..322a2b7f84 100644 --- a/lib/chef/provider/link.rb +++ b/lib/chef/provider/link.rb @@ -99,13 +99,13 @@ class Chef if @new_resource.link_type == :symbolic converge_by("create symlink at #{@new_resource.target_file} to #{@new_resource.to}") do file_class.symlink(canonicalize(@new_resource.to),@new_resource.target_file) - Chef::Log.debug("#{@new_resource} created #{@new_resource.link_type} link from #{@new_resource.to} -> #{@new_resource.target_file}") + Chef::Log.debug("#{@new_resource} created #{@new_resource.link_type} link from #{@new_resource.target_file} -> #{@new_resource.to}") Chef::Log.info("#{@new_resource} created") end elsif @new_resource.link_type == :hard converge_by("create hard link at #{@new_resource.target_file} to #{@new_resource.to}") do file_class.link(@new_resource.to, @new_resource.target_file) - Chef::Log.debug("#{@new_resource} created #{@new_resource.link_type} link from #{@new_resource.to} -> #{@new_resource.target_file}") + Chef::Log.debug("#{@new_resource} created #{@new_resource.link_type} link from #{@new_resource.target_file} -> #{@new_resource.to}") Chef::Log.info("#{@new_resource} created") end end |