Last active
October 8, 2016 11:12
-
-
Save GeoffWilliams/6615995d9ad6c676483a6cd976b45a06 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # | |
| # Ask systemctl to do something with puppet services | |
| if [ -z "$1" ] ; then | |
| echo "must be run with an argument for systemct" | |
| exit 1 | |
| fi | |
| systemctl $1 puppet | |
| systemctl $1 mcollective | |
| systemctl $1 pxp-agent | |
| systemctl $1 pe-activemq | |
| systemctl $1 pe-console-services | |
| systemctl $1 pe-nginx | |
| systemctl $1 pe-orchestration-services | |
| systemctl $1 pe-postgresql | |
| systemctl $1 pe-puppetdb | |
| systemctl $1 pe-puppetserver |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment