Skip to content
This repository has been archived by the owner on Mar 7, 2018. It is now read-only.

Latest commit

 

History

History
35 lines (26 loc) · 790 Bytes

README.md

File metadata and controls

35 lines (26 loc) · 790 Bytes

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 sparrow # requires sparrow module in Puppetfile

  $home     = "/Users/${::boxen_user}"
  $my       = "${home}/my"
  $dotfiles = "${my}/dotfiles"
  
  file { $my:
    ensure  => directory
  }

  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