Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Blocker
-
Resolution: Fixed
-
Affects Version/s: 10.14.0
-
Fix Version/s: 10.14.0
-
Component/s: None
-
Labels:None
Description
The upstart service provider calls super in its define_resource_requirements method. Thus, the define_resource_requirements method in the simple provide is called and erroneously requires `start_command`, `stop_command`, and other attributes to be set. For example the following recipe code succeeds in 10.12.0 but fails in 10.14.0:
service "cron" do provider Chef::Provider::Service::Upstart action :start end
Issue Links
- is duplicated by
-
CHEF-3320
Chef::Provider::Service::Upstart does not set start_command
-
This fixes the case above and the actual cookbook failure (logstash) in which I originally found the bug. Also somehow origin was pointed at the opscode repo when I pushed:
https://github.com/opscode/chef/tree/CHEF-3410