summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMike Dodge <mikedodge04@fb.com>2015-03-26 15:29:42 -0700
committerMike Dodge <mikedodge04@fb.com>2015-03-26 15:29:42 -0700
commit73fd4949b2ab478e377bb352f90172c8a060e36e (patch)
tree231349d7a27285c8ad6476361853adb5f4a9c60c /lib
parent0d1bc71edebcf4b7e11b5640c9331bc13030bf91 (diff)
downloadchef-73fd4949b2ab478e377bb352f90172c8a060e36e.tar.gz
moved around debugs
Diffstat (limited to 'lib')
-rw-r--r--lib/chef/provider/service/macosx.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/chef/provider/service/macosx.rb b/lib/chef/provider/service/macosx.rb
index 38ea6124bf..fbc16d6d53 100644
--- a/lib/chef/provider/service/macosx.rb
+++ b/lib/chef/provider/service/macosx.rb
@@ -48,9 +48,7 @@ class Chef
@current_resource.service_name(@new_resource.service_name)
@plist_size = 0
@plist = @new_resource.plist ? @new_resource.plist : find_service_plist
- Chef::Log.debug("#{new_resource} Plist: '#{@plist}'")
@service_label = find_service_label
- Chef::Log.debug("#{new_resource} service_label: '#{@service_label}'")
# LauchAgents should be loaded as the console user.
@console_user = @plist ? @plist.include?('LaunchAgents') : false
@session_type = @new_resource.session_type
@@ -65,6 +63,7 @@ class Chef
@session_type = 'Aqua' if @session_type.nil?
end
+ Chef::Log.debug("#{new_resource} Plist: '#{@plist}' service_label: '#{@service_label}'")
set_service_status
@current_resource