Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
service resource restart not working as described in documentation #8250
I've read in the docs that if I specify a service with no property for restarting it will try and stop and start the service.
This is the expected behavior, according to the docs and it's not working.
If I create a file restart a service, if I don't nothing happens
I'm calling a custom service that out of the box does not support a service resource, according to the docs https://docs.chef.io/resource_service.html#properties
You are getting a Chef::Resource::Service::Redhat object as your provider. You probably want to use