diff options
| author | Tim Smith <tsmith@chef.io> | 2018-03-04 20:56:31 -0800 |
|---|---|---|
| committer | Tim Smith <tsmith@chef.io> | 2018-03-04 20:56:31 -0800 |
| commit | 26ca5e57e38922955ab070845b8cd254f38282d8 (patch) | |
| tree | 9ad830a9d08b5e562592b82676ffbc1c58f1c5b5 | |
| parent | a96e2311e2bfb59b750ac11cb290cd17d02fef71 (diff) | |
| download | chef-osx_profile.tar.gz | |
osx_profile Set the identity property properlyosx_profile
Do it the modern way within property
Signed-off-by: Tim Smith <tsmith@chef.io>
| -rw-r--r-- | lib/chef/resource/osx_profile.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/chef/resource/osx_profile.rb b/lib/chef/resource/osx_profile.rb index a2f880d38d..cf857cec6f 100644 --- a/lib/chef/resource/osx_profile.rb +++ b/lib/chef/resource/osx_profile.rb @@ -24,8 +24,6 @@ class Chef provides :osx_profile, os: "darwin" provides :osx_config_profile, os: "darwin" - identity_attr :profile_name - description "Use the osx_profile resource to manage configuration profiles (.mobileconfig files)"\ " on the macOS platform. The osx_profile resource installs profiles by using"\ " the uuidgen library to generate a unique ProfileUUID, and then using the"\ @@ -35,7 +33,7 @@ class Chef 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 |
