[Pkg-puppet-devel] Bug#653439: "puppet agent --disable" doesn't disable if puppet agent is already running

Andrei Popescu andreimpopescu at gmail.com
Wed Dec 28 11:30:54 UTC 2011


On Mi, 28 dec 11, 12:33:19, Andrei POPESCU wrote:
> 
> I would suggest that --disable check for an existing lockfile and 
> depending on its contents
> 
> if it contains a pid exit with a message like "puppet agent already 
> running, retry later - puppet agent NOT disabled"
> if it doesn't have a pid exit with a message like "puppet agent already 
> disabled".

Also the message on the next puppet run is not very informative:
"Run of Puppet configuration client already in progress; skipping"
This should probably be "Puppet configuration client disabled"

Kind regards,
Andrei
-- 
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-puppet-devel/attachments/20111228/6d1d9140/attachment.pgp>


More information about the Pkg-puppet-devel mailing list