diff options
Diffstat (limited to 'lib/chef/provider/osx_profile.rb')
-rw-r--r-- | lib/chef/provider/osx_profile.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/chef/provider/osx_profile.rb b/lib/chef/provider/osx_profile.rb index 326534c4bd..e753f84d86 100644 --- a/lib/chef/provider/osx_profile.rb +++ b/lib/chef/provider/osx_profile.rb @@ -189,14 +189,14 @@ class Chef def install_profile(profile_path) cmd = "profiles -I -F '#{profile_path}'" - Chef::Log.debug("cmd: #{cmd}") + logger.trace("cmd: #{cmd}") shellout_results = shell_out(cmd) shellout_results.exitstatus end def remove_profile cmd = "profiles -R -p '#{@new_profile_identifier}'" - Chef::Log.debug("cmd: #{cmd}") + logger.trace("cmd: #{cmd}") shellout_results = shell_out(cmd) shellout_results.exitstatus end @@ -214,7 +214,7 @@ class Chef tempfile = generate_tempfile write_installed_profiles(tempfile) installed_profiles = read_plist(tempfile) - Chef::Log.debug("Saved profiles to run_state") + logger.trace("Saved profiles to run_state") # Clean up the temp file as we do not need it anymore ::File.unlink(tempfile) installed_profiles |