[Bug 527860] Re: Init script always returns 0

2010-03-11 Thread Mathias Gug
** Changed in: puppet (Ubuntu) Status: Confirmed = In Progress ** Changed in: puppet (Ubuntu) Assignee: (unassigned) = Mathias Gug (mathiaz) -- Init script always returns 0 https://bugs.launchpad.net/bugs/527860 You received this bug notification because you are a member of Ubuntu

[Bug 527860] Re: Init script always returns 0

2010-03-11 Thread Launchpad Bug Tracker
This bug was fixed in the package puppet - 0.25.4-2ubuntu3 --- puppet (0.25.4-2ubuntu3) lucid; urgency=low [ Angel Abad ] * Fix return codes puppetmaster.init and puppet.init (LP: #527860) [ Mathias Gug ] * debian/puppet-common.postrm: only remove puppet directories if

[Bug 527860] Re: Init script always returns 0

2010-03-10 Thread Angel Abad
Updated proposed branch for merge. Thanks -- Init script always returns 0 https://bugs.launchpad.net/bugs/527860 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to puppet in ubuntu. -- Ubuntu-server-bugs mailing list

[Bug 527860] Re: Init script always returns 0

2010-03-09 Thread Angel Abad
I proposed a branch merge with patch applied. Thanks! ** Branch linked: lp:~angel-abad/ubuntu/lucid/puppet/fix-527860 -- Init script always returns 0 https://bugs.launchpad.net/bugs/527860 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to

[Bug 527860] Re: Init script always returns 0

2010-03-09 Thread Thierry Carrez
@Simon: I think your patch is incomplete: in puppet.init, start, stop and restart will always return 0 (since you get the return value of log_end_msg 0 which happens to always be 0. I think changing those to log_end_msg $? should do it... Maybe you can validate all calls to puppet.init and update

[Bug 527860] Re: Init script always returns 0

2010-03-09 Thread Simon Déziel
@Thierry: you are absolutely right. I did the patch only for puppetmaster without paying attention to restart exit code. Strangely, the puppetmaster script does use log_end_msg $? for start and stop already but the puppet script doesn't. I'll attach the 2 new patches. Thanks for your review. **

[Bug 527860] Re: Init script always returns 0

2010-03-09 Thread Simon Déziel
** Patch added: Return a valid code (puppetmaster) http://launchpadlibrarian.net/40655185/puppetmaster.init.script.patch -- Init script always returns 0 https://bugs.launchpad.net/bugs/527860 You received this bug notification because you are a member of Ubuntu Server Team, which is

[Bug 527860] Re: Init script always returns 0

2010-03-01 Thread Chuck Short
Thanks for the patch ill take a look at this for lucid. Regards chuck ** Changed in: puppet (Ubuntu) Importance: Undecided = Wishlist ** Changed in: puppet (Ubuntu) Status: New = Confirmed -- Init script always returns 0 https://bugs.launchpad.net/bugs/527860 You received this bug