summaryrefslogtreecommitdiff
path: root/lib/chef/provider/osx_profile.rb
diff options
context:
space:
mode:
authorThom May <thom@chef.io>2018-03-23 13:05:13 +0000
committerTim Smith <tsmith@chef.io>2018-03-26 10:34:39 -0700
commit97c1dd6f1cac6d97e85d05039cad8b28596141ba (patch)
treed8a97c0f7016986a2cc264aa50ae345638ed026c /lib/chef/provider/osx_profile.rb
parent1b81f35e023bcdc87e410c641545e849298de5c3 (diff)
downloadchef-97c1dd6f1cac6d97e85d05039cad8b28596141ba.tar.gz
mechanical conversion of most debug log statements to trace
Signed-off-by: Thom May <thom@chef.io>
Diffstat (limited to 'lib/chef/provider/osx_profile.rb')
-rw-r--r--lib/chef/provider/osx_profile.rb6
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