Blame view

modules/people/README.md 658 Bytes
adae13992   John Barnette   Document modules/...
1
  # Personal Manifests
78b6fe8a5   John Barnette   Document modules/...
2
3
  Per-user manifests live in `modules/people/manifests/$login.pp`, where
  `$login` is a GitHub login. A simple user manifest example:
adae13992   John Barnette   Document modules/...
4
5
6
  
  ```puppet
  class people::jbarnette {
58f0f874e   Will Farrington   Update docs a bit...
7
8
    include emacs   # requires emacs module in Puppetfile
    include sparrow # requires sparrow module in Puppetfile
adae13992   John Barnette   Document modules/...
9

bb7c7b49b   Will Farrington   people module doc...
10
    $home     = "/Users/${::luser}"
adae13992   John Barnette   Document modules/...
11
12
13
14
15
16
17
18
19
    $my       = "${home}/my"
    $dotfiles = "${my}/dotfiles"
  
    repository { $dotfiles:
      source  => 'jbarnette/dotfiles',
      require => File[$my]
    }
  }
  ```
bb7c7b49b   Will Farrington   people module doc...
20
21
22
23
24
25
26
27
28
29
  
  ## Projects
  
  While you _can_ include projects one by one, sometimes you might just want
  all of them.
  You can do that easily with:
  
  ```
  include projects::all
  ```