summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2018-03-05 10:15:06 -0800
committerGitHub <noreply@github.com>2018-03-05 10:15:06 -0800
commit3cf017dfd506770d06ad3b5341fca1215ad470a9 (patch)
tree27fad4b73a9b380dae2c79940c947a6efb571173
parent8ade35616478ca97ee839a7c81823a2b04c132fa (diff)
parent79e8d00d6fc10ecfaac764acf76492623d5554dc (diff)
downloadchef-3cf017dfd506770d06ad3b5341fca1215ad470a9.tar.gz
Merge pull request #6945 from chef/osx_profile_identity2
osx_profile: set identity on the property not using identity_attr
-rw-r--r--lib/chef/resource/osx_profile.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/chef/resource/osx_profile.rb b/lib/chef/resource/osx_profile.rb
index 56eca90a7e..569c02aa27 100644
--- a/lib/chef/resource/osx_profile.rb
+++ b/lib/chef/resource/osx_profile.rb
@@ -28,15 +28,13 @@ class Chef
provides :osx_profile, os: "darwin"
provides :osx_config_profile, os: "darwin"
- identity_attr :profile_name
-
description "12.7"
default_action :install
allowed_actions :install, :remove
- property :profile_name, String, name_property: true
+ property :profile_name, String, name_property: true, identity: true
property :profile, [ String, Hash ]
property :identifier, String
property :path, String