Difference between revisions of "Puppet"
From Bashlinux
(Created page with "__NOTOC__ == Server == === How to check for errors in all puppet templates === find /etc/puppet -name '*.erb' | xargs -n 1 -t erb -x -T '-' | ruby -c === How to check all pu...") |
(No difference)
|
Latest revision as of 22:33, 10 July 2015
Server
How to check for errors in all puppet templates
find /etc/puppet -name '*.erb' | xargs -n 1 -t erb -x -T '-' | ruby -c
How to check all puppet facts for templates
find /etc/puppet -name '*.rb' | xargs -n 1 -t erb -x -T '-' | ruby -c
How to list all active puppet clients
puppet cert list --all
Important Global variables cannot longer be called directly Reference: http://docs.puppetlabs.com/guides/scope_and_puppet.html |
Client
How to register the puppet client and do initial run
puppet agent --server=puppet.bashlinux.com --test
Troubleshooting
How to fix Error 414 on server
- Edit the file /usr/share/ruby/webrick/httprequest.rb
- Change the default value of
MAX_URI_LENGTH
to4096