diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2020-08-18 12:08:17 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2020-08-18 12:08:17 -0700 |
commit | 8b1b83908886367148b274a6cec8330f36003226 (patch) | |
tree | 82626aee45e29c3ec592dbed06918ae65e37e52a /lib/chef/resource/osx_profile.rb | |
parent | b1bb6b851307567880d57ac94e6a0749f7e67dff (diff) | |
download | chef-8b1b83908886367148b274a6cec8330f36003226.tar.gz |
Fix removing non-existent profile with osx_profile
I don't think this ever worked, but now it does
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'lib/chef/resource/osx_profile.rb')
-rw-r--r-- | lib/chef/resource/osx_profile.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource/osx_profile.rb b/lib/chef/resource/osx_profile.rb index 437290742d..23a4e86505 100644 --- a/lib/chef/resource/osx_profile.rb +++ b/lib/chef/resource/osx_profile.rb @@ -253,7 +253,7 @@ class Chef def query_installed_profiles Tempfile.open("allprofiles.plist") do |tempfile| - shell_out!( "/usr/bin/profiles", "-P", "-o", tempfile.path ) + shell_out( "/usr/bin/profiles", "-P", "-o", tempfile.path ) ::Plist.parse_xml(tempfile) end end |