diff options
Diffstat (limited to 'lib/chef/resource/service.rb')
-rw-r--r-- | lib/chef/resource/service.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/chef/resource/service.rb b/lib/chef/resource/service.rb index 71eb344483..4c57cd07b0 100644 --- a/lib/chef/resource/service.rb +++ b/lib/chef/resource/service.rb @@ -31,8 +31,6 @@ class Chef provides :service, target_mode: true - identity_attr :service_name - description "Use the service resource to manage a service." default_action :nothing @@ -46,7 +44,7 @@ class Chef property :service_name, String, description: "An optional property to set the service name if it differs from the resource block's name.", - name_property: true, identity: true + name_property: true # regex for match against ps -ef when !supports[:has_status] && status == nil property :pattern, String, |