Document modules/projects
This commit is contained in:
parent
bacf7fd78a
commit
78b6fe8a5e
3 changed files with 21 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
# Personal Manifests
|
||||
|
||||
Per-user manifests live in `modules/people/manifests/LOGIN.pp`, where
|
||||
`LOGIN` is a GitHub login. A simple user manifest example:
|
||||
Per-user manifests live in `modules/people/manifests/$login.pp`, where
|
||||
`$login` is a GitHub login. A simple user manifest example:
|
||||
|
||||
```puppet
|
||||
class people::jbarnette {
|
||||
|
|
19
modules/projects/README.md
Normal file
19
modules/projects/README.md
Normal 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]
|
||||
}
|
||||
}
|
||||
```
|
0
modules/projects/manifests/.gitkeep
Normal file
0
modules/projects/manifests/.gitkeep
Normal file
Loading…
Reference in a new issue