Commit 58f0f874e23a5800eb23bcce4226c53310ceb103
1 parent
93aaa2f395
Update docs a bit for people example
Showing 1 changed file with 2 additions and 1 deletions Inline Diff
modules/people/README.md
# Personal Manifests | 1 | 1 | # Personal Manifests | |
2 | 2 | |||
Per-user manifests live in `modules/people/manifests/$login.pp`, where | 3 | 3 | Per-user manifests live in `modules/people/manifests/$login.pp`, where | |
`$login` is a GitHub login. A simple user manifest example: | 4 | 4 | `$login` is a GitHub login. A simple user manifest example: | |
5 | 5 | |||
```puppet | 6 | 6 | ```puppet | |
class people::jbarnette { | 7 | 7 | class people::jbarnette { | |
include emacs | 8 | 8 | include emacs # requires emacs module in Puppetfile | |
9 | include sparrow # requires sparrow module in Puppetfile | |||
9 | 10 | |||
$home = '/Users/jbarnette' | 10 | 11 | $home = '/Users/jbarnette' | |
$my = "${home}/my" | 11 | 12 | $my = "${home}/my" | |
$dotfiles = "${my}/dotfiles" | 12 | 13 | $dotfiles = "${my}/dotfiles" | |
13 | 14 | |||
repository { $dotfiles: | 14 | 15 | repository { $dotfiles: | |
source => 'jbarnette/dotfiles', | 15 | 16 | source => 'jbarnette/dotfiles', | |
require => File[$my] | 16 | 17 | require => File[$my] |