Last active
December 21, 2016 07:09
-
-
Save miguelfito/d799c4c7958be6d229f7d8d284c93a95 to your computer and use it in GitHub Desktop.
Puppet Cookbook
This file contains 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
# Start Puppet Master process in foreground (v3.x) | |
puppet master --no-daemonize --debug --verbose | |
# Start Puppet Agent test without doing any change (v3.x) | |
puppet agent --test --debug --noop | |
# Get puppet config for a parameter | |
puppet config print "name_of_the_parameter" | |
# ... or print full configuration and then filter | |
puppet config print | grep -i "filter" | |
# See pending certificates on Puppet Master | |
puppet cert list | |
# Sign a pending certificate | |
puppet cert sign "name_of_the_cert" | |
# Get facts for a given node and pretty print in JSON | |
puppet facts find windu.redhat | python -m json.tool |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment