diff options
Diffstat (limited to 'lib/chef/provider/ifconfig.rb')
-rw-r--r-- | lib/chef/provider/ifconfig.rb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/chef/provider/ifconfig.rb b/lib/chef/provider/ifconfig.rb index c8da5e255f..243c8ee9c3 100644 --- a/lib/chef/provider/ifconfig.rb +++ b/lib/chef/provider/ifconfig.rb @@ -164,7 +164,7 @@ class Chef command = add_command converge_by("run #{command.join(' ')} to add #{new_resource}") do shell_out_compact!(command) - Chef::Log.info("#{new_resource} added") + logger.info("#{new_resource} added") end end end @@ -180,7 +180,7 @@ class Chef command = enable_command converge_by("run #{command.join(' ')} to enable #{new_resource}") do shell_out_compact!(command) - Chef::Log.info("#{new_resource} enabled") + logger.info("#{new_resource} enabled") end end @@ -190,10 +190,10 @@ class Chef command = delete_command converge_by("run #{command.join(' ')} to delete #{new_resource}") do shell_out_compact!(command) - Chef::Log.info("#{new_resource} deleted") + logger.info("#{new_resource} deleted") end else - Chef::Log.debug("#{new_resource} does not exist - nothing to do") + logger.trace("#{new_resource} does not exist - nothing to do") end delete_config end @@ -205,10 +205,10 @@ class Chef command = disable_command converge_by("run #{command.join(' ')} to disable #{new_resource}") do shell_out_compact!(command) - Chef::Log.info("#{new_resource} disabled") + logger.info("#{new_resource} disabled") end else - Chef::Log.debug("#{new_resource} does not exist - nothing to do") + logger.trace("#{new_resource} does not exist - nothing to do") end end |