Table of contents
Classes
https://docs.puppet.com/puppet/latest/lang_classes.html
Resources
https://docs.puppet.com/puppet/latest/lang_defined_types.html
Control repositories
https://docs.puppet.com/pe/latest/cmgmt_control_repo.html
R10k
$ cd /etc/puppetlabs/puppet/code/environments/development $ git checkout -f $ r10k deploy environment development -pv # only use -p to reload modules and updated to the puppetfile $ sudo /bin/chown -R puppet:puppet /etc/puppetlabs $ sudo chmod -R 775 /etc/puppetlabs/puppet/code/environments $ sudo /bin/chown -R puppet:puppet /opt/puppetlabs/server/data/puppetserver/r10k $ sudo chmod -R 775 /opt/puppetlabs/server/data/puppetserver/r10k;'
SSL
problems with keys, in some instances can be fixed by removing the /etc/puppetlabs/puppet/ssl directory, restarting the agent and rerunning puppet agent -t. if autosign.conf, on the puppet master has been set for the local domain, the certs and keys will be automatically set up.
Clearing the cache on the server
Accidental deletion of the server keys