[Pkg-puppet-devel] Bug#734852: puppetmaster: Init script returns exit 0 for status when default has START=no

Andrei POPESCU andreimpopescu at gmail.com
Sun Jan 12 13:51:56 UTC 2014


Control: reassign -1 puppetmaster 

On Vi, 10 ian 14, 10:47:09, Greg Sutcliffe wrote:
> Source: puppetmaster
> Severity: normal
> Tags: patch
> 
> Dear Maintainer,
> 
> Currently, if one sets START=no in /etc/default/puppetmaster, the init script will
> exit with exit-code 0, regardless of whether the service is running or not. In the
> case where you have a puppet manifest like:
> 
> service { 'puppetmaster': ensure => stopped }
> 
> Puppet will try to stop the service on every agent run, because status is returning
> zero, so Puppet thinks it is running.
> 
> This issue was fixed upstream in this commit:
> 
> https://github.com/puppetlabs/puppet/commit/e48902a7d881e84861d366af5ff88fc0146037da
> 
> As it's a one-liner, could this be backported into the Debian packages?
> 
> Thanks,
> Greg
> 
> -- System Information:
> Debian Release: 7.1
>   APT prefers stable-updates
>   APT policy: (500, 'stable-updates'), (500, 'stable'), (500, 'oldstable')
> Architecture: amd64 (x86_64)
> 
> Kernel: Linux 3.2.0-4-amd64 (SMP w/1 CPU core)
> Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash

-- 
http://wiki.debian.org/FAQsFromDebianUser
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic
http://nuvreauspam.ro/gpg-transition.txt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-puppet-devel/attachments/20140112/338d19fd/attachment.sig>


More information about the Pkg-puppet-devel mailing list