User Tools

Site Tools


linux:puppet:puppet_cheatsheet

This is an old revision of the document!


Puppet Cheatsheet

Or cheatshit (because of puppet)

Modules

############## command ############## ——————————————————————
puppet config print modulepath Print location of the modules in a ${PATH} style
puppet module list List installed modules
puppet module install puppetlabs-postgresql Install one module from puppet-forge

Developing

############## command ############## ——————————————————————
puppet parser validate module_name/manifests/init.pp validate one module (aka lint)

Super admin

############## command ############## ——————————————————————
puppetserver ca list –all list certificates from all nodes (should be executed on the puppet-master node
puppet job run –nodes node1,node2 Run puppet agent on nodes node1,node2
############## command ############## ——————————————————————
cmd desc
linux/puppet/puppet_cheatsheet.1668588170.txt.gz · Last modified: 2022/11/16 08:42 by dodger