summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 1d87f29eb2..07e74165b3 100644
--- a/lib/chef/provider/osx_profile.rb
+++ b/lib/chef/provider/osx_profile.rb
@@ -188,14 +188,14 @@ class Chef
end
def install_profile(profile_path)
- cmd = "profiles -I -F '#{profile_path}'"
+ cmd = "/usr/bin/profiles -I -F '#{profile_path}'"
Chef::Log.debug("cmd: #{cmd}")
shellout_results = shell_out(cmd)
shellout_results.exitstatus
end
def remove_profile
- cmd = "profiles -R -p '#{@new_profile_identifier}'"
+ cmd = "/usr/bin/profiles -R -p '#{@new_profile_identifier}'"
Chef::Log.debug("cmd: #{cmd}")
shellout_results = shell_out(cmd)
shellout_results.exitstatus
@@ -225,7 +225,7 @@ class Chef
end
def write_installed_profiles(tempfile)
- cmd = "profiles -P -o '#{tempfile}'"
+ cmd = "/usr/bin/profiles -P -o '#{tempfile}'"
shell_out!(cmd)
end