2012-10-02 18:30:08 -04:00
|
|
|
# Personal Manifests
|
|
|
|
|
2012-10-02 20:27:33 -04:00
|
|
|
Per-user manifests live in `modules/people/manifests/$login.pp`, where
|
|
|
|
`$login` is a GitHub login. A simple user manifest example:
|
2012-10-02 18:30:08 -04:00
|
|
|
|
|
|
|
```puppet
|
|
|
|
class people::jbarnette {
|
2012-10-03 14:24:21 -04:00
|
|
|
include emacs # requires emacs module in Puppetfile
|
|
|
|
include sparrow # requires sparrow module in Puppetfile
|
2012-10-02 18:30:08 -04:00
|
|
|
|
2012-10-07 21:00:32 -04:00
|
|
|
$home = "/Users/${::luser}"
|
2012-10-02 18:30:08 -04:00
|
|
|
$my = "${home}/my"
|
|
|
|
$dotfiles = "${my}/dotfiles"
|
|
|
|
|
|
|
|
repository { $dotfiles:
|
|
|
|
source => 'jbarnette/dotfiles',
|
|
|
|
require => File[$my]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
```
|
2012-10-07 21:00:32 -04:00
|
|
|
|
2013-06-13 22:10:46 -04:00
|
|
|
Note that if your GitHub username contains dashes, you should replace them by underscores in both the manifest name and the class name.
|
|
|
|
|
2012-10-07 21:00:32 -04:00
|
|
|
## Projects
|
|
|
|
|
|
|
|
While you _can_ include projects one by one, sometimes you might just want
|
|
|
|
all of them.
|
|
|
|
You can do that easily with:
|
|
|
|
|
|
|
|
```
|
|
|
|
include projects::all
|
|
|
|
```
|