Blame view

modules/projects/README.md 399 Bytes
78b6fe8a5   John Barnette   Document modules/...
1
2
3
4
5
6
7
  # Project Manifests
  
  Project manifests live in `modules/projects/manifests/$project.pp`. A
  simple project manifest example:
  
  ```puppet
  class projects::boxen {
cbb0b6546   Will Farrington   Update docs a bit...
8
    include qt # requires the qt module in Puppetfile
78b6fe8a5   John Barnette   Document modules/...
9
10
11
12
13
14
15
16
17
18
19
20
    $dir = "${boxen::config::srcdir}/boxen"
  
    repository { $dir:
      source  => 'boxen/boxen'
    }
  
    ruby::local { $dir:
      version => 'system',
      require => Repository[$dir]
    }
  }
  ```