diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2020-05-06 17:37:15 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2020-05-06 17:37:15 -0700 |
commit | 4cd444e53f9ff745dcd349f7255c31f99da02070 (patch) | |
tree | f144a65c3fdca64cc244102f7b1d97a062e23df6 | |
parent | 4e973b1db3bc5b2e50bdcf90c72f6446ca448a2b (diff) | |
download | chef-4cd444e53f9ff745dcd349f7255c31f99da02070.tar.gz |
remove name properties (pointless)
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
-rw-r--r-- | lib/chef/provider/launchd.rb | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/chef/provider/launchd.rb b/lib/chef/provider/launchd.rb index a79bfdb1e8..644ced9b3d 100644 --- a/lib/chef/provider/launchd.rb +++ b/lib/chef/provider/launchd.rb @@ -91,14 +91,12 @@ class Chef if source cookbook_file path do cookbook_name = new_resource.cookbook if new_resource.cookbook - name(path) if path copy_properties_from(new_resource, :backup, :group, :mode, :owner, :source) action(action) only_if { manage_agent?(action) } end else file path do - name(path) if path copy_properties_from(new_resource, :backup, :group, :mode, :owner) content(file_content) if file_content? action(action) @@ -110,7 +108,6 @@ class Chef def manage_service(action) path = path macosx_service label do - name(new_resource.label) if new_resource.label service_name(new_resource.label) if new_resource.label plist(path) if path copy_properties_from(new_resource, :session_type) |