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:12:29 -0800
commit43cddfb7b1f6b41cbefb19c0544132ba43106f6e (patch)
tree3698b261b3665ecd250d6e42af73872273723348
parentc5d19c20b267f6afc0128e7f57905775ca8e3d74 (diff)
downloadchef-osx_profile_identity.tar.gz
osx_profile: set identity on the property not using identity_attrosx_profile_identity
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