Bug #2593
puppet init script status command not returning proper exit code
| Status: | Closed | Start date: | 09/03/2009 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | - | % Done: | 0% |
|
| Category: | - | |||
| Target version: | 0.25.0 | |||
| Affected Puppet version: | 0.25.0rc1 | Branch: | ||
| Keywords: | ||||
| Votes: | 0 |
Description
Applying the fix for #2525 exposed a problem in the puppet init script:
# service puppet status puppetd is stopped # echo $? 0
It should be returning the exit code 3, as specified in http://fedoraproject.org/wiki/Packaging/SysVInitScript#Exit_Codes_for_the_Status_Action
History
Updated by John Barbuto over 2 years ago
The fix is at: http://github.com/jbarbuto/puppet/tree/tickets/master/2593
After patching:
# service puppet status puppetd is stopped # echo $? 3
Updated by James Turnbull over 2 years ago
- Status changed from Unreviewed to Closed
- Target version set to 0.25.0
Pushed in commit:1a3d0c876121561173c485b2e4d0dd7131f43eab in branch master.