Project

General

Profile

Bug #1891

Error code problem when running foreman under passenger

Added by Gregory Etling over 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
easy
Triaged:
No
Bugzilla link:
Pull request:
Team Backlog:
Fixed in Releases:
Found in Releases:

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.

History

#1 Updated by Gregory Etling over 6 years ago

Reference [[http://theforeman.org/issues/1472]] for new init script behavior and update distribution specific files to adjust.

#2 Updated by Benjamin Papillon almost 6 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 :)

Also available in: Atom PDF