Issue #4568 has been updated by eric sorenson.

Subject changed from shutdown function to Implement 'draining' style graceful 
shutdown in agent
Status changed from Accepted to Needs Decision
Assignee set to eric sorenson
Target version set to 3.x
Keywords set to backlog


----------------------------------------
Feature #4568: Implement 'draining' style graceful shutdown in agent
https://projects.puppetlabs.com/issues/4568#change-79905

Author: Steve Jones
Status: Needs Decision
Priority: Normal
Assignee: eric sorenson
Category: 
Target version: 3.x
Affected Puppet version: 
Keywords: backlog
Branch: 


I don't know of a clean and easy way to kill a puppet daemon from it's own 
manifest without aborting at some midpoint and not generating a report.

I think a shutdown function that causes the daemon to exit after applying the 
manifest would be helpful.  Basically, like flipping on onetime from a manifest.

A use case for this is switching from daemon mode to running from cron.  
Pushing the kill signal into position with require doesn't feel right.
Or, removing servers from puppet's control while leaving them in a known state.

Presumably, the puppet service would be properly disabled in the same run, and 
the delayed shutdown would ensure everything that was supposed to happen did. 


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to