Show Menu
Cheatography

Puppet Cheat Sheet Cheat Sheet (DRAFT) by

This cheat sheet contains processes, tips, and tricks for working with puppet 3.0.

This is a draft cheat sheet. It is a work in progress and is not finished yet.

YAML Data

global.yaml
sudo_u­ser­_al­ias­es.yaml
Auto-g­ene­rated sudoers User_A­liases
theate­rs/­<th­eat­er>.yaml
Theater specific config­uration like DNS, NTP, etc
nodegr­oup­s/<­nod­egr­oup­>.yaml
Nodegroups provide config­ura­tions to all of the roles they contain
nodegr­oup­s/<­nod­egr­oup­>/<­rol­e>.yaml
Roles reside in nodegroups and contain config­uration for specific type of host.
 

HOW TO: Update YAML Data

$ cvs up -dPR
$ cd junipe­r/a­dmi­n/a­dmi­n-s­yst­ems­/rotor
$ cd etc/lo­cal­/di­st-­pup­pet­/data
$ vim nodegr­oup­s/e­xam­ple­/sh­ell­_se­rve­r.yaml
$ cvs up -dPR
$ cvs commit -m "­<co­mmi­t_m­ess­age­>"
$ sudo cp nodegr­oup­s/e­xam­ple­/sh­ell­_se­rve­r.yaml /etc/l­oca­l/d­ist­-pu­ppe­t/d­ata­/no­deg­rou­ps/­example
$ sudo /etc/l­oca­l/s­bin­/pu­ppe­t-rsync
Process Owner: Ops