Issue #7490 has been updated by Daniel Pittman.

Target version deleted (sites)


----------------------------------------
Feature #7490: Puppet should have a big red button
https://projects.puppetlabs.com/issues/7490#change-57173

Author: Jeff McCune
Status: Accepted
Priority: Normal
Assignee: 
Category: agent
Target version: 
Affected Puppet version: 
Keywords: puppet master big red button stop
Branch: 


# Overview #

Puppet should have a big red button.  Nigel initially gave me this idea and 
we've talked about it ad-hoc a number of times.  I've also pitched the idea 
while on site with PS engagements and it's been well received.

The big red button stops all Puppet Agent's from updating when pushed.

# Use Case #

This is a _potential_ use case.  I'm not trying to prescribe the 
implementation, but rather start thinking about how the button is used.

## Using the CLI (Faces) ##

<pre>
# Stop all agents from updating
puppet master fullstop

# Resume
puppet master resume
</pre>

## Using the dashboard ##

The same API faces uses could be used by the dashboard.  A master "On / Off" 
switch could be presented.

# Potential implementation #

The agent could perform a simple HTTP request, and if a 404 not found result is 
returned, the big red button is _not_ pushed and puppet agent proceeds as 
normal.  If a 200 status code is returned, the big red button is "pushed" and 
puppet agent does nothing, not even a catalog find.

# Why? #

A big red button is useful if some undesired condition exists in the Puppet 
manifests causing puppet to carry out undesirable behavior on the entire fleet 
of systems.  This full stop provides a last resort "escape hatch" of sorts 
while the problem can be fixed.


-- 
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