Bug #441
Stop parameter is ignored in service
| Status: | Closed | Start date: | ||
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | % Done: | 0% |
||
| Category: | service | |||
| Target version: | 0.22.1 | |||
| Affected Puppet version: | 0.25.4 | Branch: | ||
| Keywords: | ||||
| Votes: | 0 |
Description
h1. Stop parameter is ignored in service
the following
service { "vserver_$name":
provider=>"base",
start=>"$vserver_bin start", stop=>"$vserver_bin stop",
restart=> "$vserver_bin restart",
status=> "$vserver_bin running", ensure=>$ensure
}
should run the command specified by stop parameter if the service is running, but it does not as you can see from output.
debug: vserver_test(provider=base): Executing "/usr/sbin/vserver test running" debug: vserver_test(provider=base): vserver_test status returned "" debug: //vservertest/vsguest[test]/service=vserver_test: Changing ensure debug: //vservertest/vsguest[test]/service=vserver_test: 1 change(s) debug: //vservertest/vsguest[test]/service=vserver_test/ensure: setting stopped (currently running) notice: //vservertest/vsguest[test]/service=vserver_test/ensure: ensure changed 'running' to 'stopped'
System is fedora 4. puppet 0.20.0
Martin
History
Updated by Luke Kanies over 5 years ago
- Status changed from 1 to Closed
- 7 set to fixed
Fixed in r2104.