Blame view

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