Commit ce459a313fa01d225f106de4a4b8c9a1b81fb1cf
1 parent
d6e023ccbe
turn puppet fu back on
Showing 2 changed files with 39 additions and 39 deletions Inline Diff
Puppetfile
| # This file manages Puppet module dependencies. | 1 | 1 | # This file manages Puppet module dependencies. | |
| # | 2 | 2 | # | |
| # It works a lot like Bundler. We provide some core modules by | 3 | 3 | # It works a lot like Bundler. We provide some core modules by | |
| # default. This ensures at least the ability to construct a basic | 4 | 4 | # default. This ensures at least the ability to construct a basic | |
| # environment. | 5 | 5 | # environment. | |
| 6 | 6 | |||
| # Includes many of our custom types and providers, as well as global | 7 | 7 | # Includes many of our custom types and providers, as well as global | |
| # config. Required. | 8 | 8 | # config. Required. | |
| 9 | 9 | |||
| mod "boxen", "0.0.1.1", :github_tarball => "boxen/puppet-boxen" | 10 | 10 | mod "boxen", "0.0.1.1", :github_tarball => "boxen/puppet-boxen" | |
| 11 | 11 | |||
| # Core modules for a basic development environment. | 12 | 12 | # Core modules for a basic development environment. | |
| # You can replace some/most of those if you want, but it's not recommended. | 13 | 13 | # You can replace some/most of those if you want, but it's not recommended. | |
| #%w(ruby rbenv nvm nodejs git hub inifile sudo homebrew xcode).each do |modulename| | 14 | 14 | %w(ruby rbenv nvm nodejs git hub inifile sudo homebrew xcode).each do |modulename| | |
| # mod modulename, "0.0.1", :github_tarball => "boxen/puppet-#{modulename}" | 15 | 15 | mod modulename, "0.0.1", :github_tarball => "boxen/puppet-#{modulename}" | |
| #end | 16 | 16 | end | |
| 17 | 17 | |||
| # Add your custom modules here. | 18 | 18 | # Add your custom modules here. |
manifests/site.pp
| # require boxen::environment | 1 | 1 | require boxen::environment | |
| # require homebrew::repo | 2 | 2 | require homebrew::repo | |
| 3 | 3 | |||
| # Exec { | 4 | 4 | Exec { | |
| # group => 'staff', | 5 | 5 | group => 'staff', | |
| # logoutput => on_failure, | 6 | 6 | logoutput => on_failure, | |
| # user => $luser, | 7 | 7 | user => $luser, | |
| 8 | 8 | |||
| # path => [ | 9 | 9 | path => [ | |
| # "${boxen::config::home}/rbenv/shims", | 10 | 10 | "${boxen::config::home}/rbenv/shims", | |
| # "${boxen::config::home}/homebrew/bin", | 11 | 11 | "${boxen::config::home}/homebrew/bin", | |
| # '/usr/bin', | 12 | 12 | '/usr/bin', | |
| # '/bin', | 13 | 13 | '/bin', | |
| # '/usr/sbin', | 14 | 14 | '/usr/sbin', | |
| # '/sbin' | 15 | 15 | '/sbin' | |
| # ] | 16 | 16 | ] | |
| # } | 17 | 17 | } | |
| 18 | 18 | |||
| # File { | 19 | 19 | File { | |
| # group => 'staff', | 20 | 20 | group => 'staff', | |
| # owner => $luser | 21 | 21 | owner => $luser | |
| # } | 22 | 22 | } | |
| 23 | 23 | |||
| # Package { | 24 | 24 | Package { | |
| # provider => homebrew, | 25 | 25 | provider => homebrew, | |
| # require => Class['homebrew'] | 26 | 26 | require => Class['homebrew'] | |
| # } | 27 | 27 | } | |
| 28 | 28 | |||
| # Repository { | 29 | 29 | Repository { | |
| # provider => git, | 30 | 30 | provider => git, | |
| # extra => [ | 31 | 31 | extra => [ | |
| # '--recurse-submodules' | 32 | 32 | '--recurse-submodules' | |
| # ], | 33 | 33 | ], | |
| # require => Class['git'] | 34 | 34 | require => Class['git'] | |
| # } | 35 | 35 | } | |
| 36 | 36 | |||
| # Service { | 37 | 37 | Service { | |
| # provider => ghlaunchd | 38 | 38 | provider => ghlaunchd | |
| # } | 39 | 39 | } | |
| 40 | 40 | |||
| # node default { | 41 | 41 | node default { | |
| # include git | 42 | 42 | include git | |
| # } | 43 | 43 | } | |
| 44 | 44 | |||