summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2018-03-04 20:56:31 -0800
committerTim Smith <tsmith@chef.io>2018-03-04 21:13:06 -0800
commit79e8d00d6fc10ecfaac764acf76492623d5554dc (patch)
treefddeb0d644e24f968f871dccf42319eebdaee5db
parentde4242def44e5a99a55187d122ecf95a0b5a64fc (diff)
downloadchef-osx_profile_identity2.tar.gz
osx_profile: set identity on the property not using identity_attrosx_profile_identity2
Signed-off-by: Tim Smith <tsmith@chef.io>
-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