Blame view

modules/projects/README.md 346 Bytes
78b6fe8a5   John Barnette   Document modules/...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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]
    }
  }
  ```