Emergency-stop

Written by Ger Apeldoorn on. Posted in Sysadmin

When upgrading the Puppet master (or messing things up) it can be useful to have a quick script that enables the firewall and stops incoming connections.

This is a simple script that enables that. Note that it assumes that the normal situation does not have any firewall-rules running.

/usr/local/bin/puppetstop:

/etc/sysconfig/iptables-emergencystop:

/usr/local/bin/puppetstopundo:

/usr/local/bin/puppetenable