Commit adae13992c85760470c01019625bdbe0b8249077
1 parent
6f37b06d86
Document modules/people
Showing 1 changed file with 19 additions and 0 deletions Side-by-side Diff
modules/people/README.md
| 1 | +# Personal Manifests | |
| 2 | + | |
| 3 | +Per-user manifests live in `modules/people/manifests/LOGIN.pp`, where | |
| 4 | +`LOGIN` is a GitHub login. A simple user manifest example: | |
| 5 | + | |
| 6 | +```puppet | |
| 7 | +class people::jbarnette { | |
| 8 | + include emacs | |
| 9 | + | |
| 10 | + $home = '/Users/jbarnette' | |
| 11 | + $my = "${home}/my" | |
| 12 | + $dotfiles = "${my}/dotfiles" | |
| 13 | + | |
| 14 | + repository { $dotfiles: | |
| 15 | + source => 'jbarnette/dotfiles', | |
| 16 | + require => File[$my] | |
| 17 | + } | |
| 18 | +} | |
| 19 | +``` |