The department is:
The full name of the cop is:
|Enabled by default||Supports autocorrection||Target Chef Version|
Chef Infra Client 14.0 and later includes :create, :delete, and :configure actions with the full idempotency of the windows_service resource. See the windows_service documentation at https://docs.chef.io/resources/windows_service for additional details on creating services with the windows_service resource.
execute "Delete chef-client service" do command "sc.exe delete chef-client" action :run end
windows_service 'chef-client' do action :delete end
|Name||Default value||Configurable values|
Was this page helpful?