Blame view

modules/people/README.md 495 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
10
11
12
13
14
15
16
17
18
19
  
    $home     = '/Users/jbarnette'
    $my       = "${home}/my"
    $dotfiles = "${my}/dotfiles"
  
    repository { $dotfiles:
      source  => 'jbarnette/dotfiles',
      require => File[$my]
    }
  }
  ```