diff options
author | Tim Smith <tsmith@chef.io> | 2018-11-15 17:22:14 -0800 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2018-11-15 17:22:14 -0800 |
commit | a9d4f25dd6a6aed743c743dbef7624510b53cf70 (patch) | |
tree | b1d960cfaec2c152fc5ef0bbf2890576575b8a8a /lib/chef/resource | |
parent | 10a50ac0fedaa0c7da96393c1e9add9e0766fcaf (diff) | |
download | chef-a9d4f25dd6a6aed743c743dbef7624510b53cf70.tar.gz |
Remove duplicate identity and state_attrs in other service resources
We're already setting this up in service
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'lib/chef/resource')
-rw-r--r-- | lib/chef/resource/macosx_service.rb | 4 | ||||
-rw-r--r-- | lib/chef/resource/windows_service.rb | 2 |
2 files changed, 0 insertions, 6 deletions
diff --git a/lib/chef/resource/macosx_service.rb b/lib/chef/resource/macosx_service.rb index deff6e1927..37681ca930 100644 --- a/lib/chef/resource/macosx_service.rb +++ b/lib/chef/resource/macosx_service.rb @@ -27,10 +27,6 @@ class Chef description "Use the macosx_service resource to manage services on the macOS platform." - identity_attr :service_name - - state_attrs :enabled, :running - property :plist, String, description: "A plist to use in the case where the filename and label for the service do not match." diff --git a/lib/chef/resource/windows_service.rb b/lib/chef/resource/windows_service.rb index 7b6593f037..a3d48c109a 100644 --- a/lib/chef/resource/windows_service.rb +++ b/lib/chef/resource/windows_service.rb @@ -41,8 +41,6 @@ class Chef allowed_actions :configure_startup, :create, :delete, :configure - state_attrs :enabled, :running - property :service_name, String, description: "The name of the service.", name_property: true, identity: true |