Actions
Bug #1891
closedError code problem when running foreman under passenger
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Description
If $foreman::passenger is set, foreman-passenger/manifests/service.pp sets the foreman service ensure to 'stopped.'
However, 'service foreman status' from foreman-1.0.1-1.el6.noarch.rpm returns '0' out of the box when foreman is stopped.
Therefore, puppet runs always attempt a 'service foreman stop,' which as foreman is not running (as desired) returns '1' and causes the puppet run to return an error.
Updated by Gregory Etling over 11 years ago
Reference [[http://theforeman.org/issues/1472]] for new init script behavior and update distribution specific files to adjust.
Updated by Benjamin Papillon almost 11 years ago
- Status changed from New to Closed
I'm closing this ticket as now the init script returns the correct value (1)
Feel free to reopen it again in the case I'm mistaken :)
Actions