Commit 78b6fe8a5e257c62a12dd7525f331f1c356f2da0

Authored by John Barnette
1 parent bacf7fd78a

Document modules/projects

Showing 2 changed files with 21 additions and 2 deletions Side-by-side Diff

modules/people/README.md
1 1 # Personal Manifests
2 2  
3   -Per-user manifests live in `modules/people/manifests/LOGIN.pp`, where
4   -`LOGIN` is a GitHub login. A simple user manifest example:
  3 +Per-user manifests live in `modules/people/manifests/$login.pp`, where
  4 +`$login` is a GitHub login. A simple user manifest example:
5 5  
6 6 ```puppet
7 7 class people::jbarnette {
modules/projects/README.md
  1 +# Project Manifests
  2 +
  3 +Project manifests live in `modules/projects/manifests/$project.pp`. A
  4 +simple project manifest example:
  5 +
  6 +```puppet
  7 +class projects::boxen {
  8 + $dir = "${boxen::config::srcdir}/boxen"
  9 +
  10 + repository { $dir:
  11 + source => 'boxen/boxen'
  12 + }
  13 +
  14 + ruby::local { $dir:
  15 + version => 'system',
  16 + require => Repository[$dir]
  17 + }
  18 +}
  19 +```