my-boxen/modules/people
2013-06-14 04:12:06 +02:00
..
manifests Document modules/people 2012-10-02 15:30:08 -07:00
README.md Add note about GitHub usernames with dashes in README 2013-06-14 04:12:06 +02:00

Personal Manifests

Per-user manifests live in modules/people/manifests/$login.pp, where $login is a GitHub login. A simple user manifest example:

class people::jbarnette {
  include emacs   # requires emacs module in Puppetfile
  include sparrow # requires sparrow module in Puppetfile

  $home     = "/Users/${::luser}"
  $my       = "${home}/my"
  $dotfiles = "${my}/dotfiles"

  repository { $dotfiles:
    source  => 'jbarnette/dotfiles',
    require => File[$my]
  }
}

Note that if your GitHub username contains dashes, you should replace them by underscores in both the manifest name and the class name.

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