Document modules/projects

This commit is contained in:
John Barnette 2012-10-02 17:27:33 -07:00
parent bacf7fd78a
commit 78b6fe8a5e
3 changed files with 21 additions and 2 deletions

View file

@ -1,7 +1,7 @@
# Personal Manifests # Personal Manifests
Per-user manifests live in `modules/people/manifests/LOGIN.pp`, where Per-user manifests live in `modules/people/manifests/$login.pp`, where
`LOGIN` is a GitHub login. A simple user manifest example: `$login` is a GitHub login. A simple user manifest example:
```puppet ```puppet
class people::jbarnette { class people::jbarnette {

View file

@ -0,0 +1,19 @@
# Project Manifests
Project manifests live in `modules/projects/manifests/$project.pp`. A
simple project manifest example:
```puppet
class projects::boxen {
$dir = "${boxen::config::srcdir}/boxen"
repository { $dir:
source => 'boxen/boxen'
}
ruby::local { $dir:
version => 'system',
require => Repository[$dir]
}
}
```

View file