Commit ee43dd9eaa8e494cb8b991deda87fdf436e429da
1 parent
8bf478a01e
enable dnsmasq by default
Showing 4 changed files with 8 additions and 0 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.11", :github_tarball => "boxen/puppet-boxen" | 10 | 10 | mod "boxen", "0.0.11", :github_tarball => "boxen/puppet-boxen" | |
11 | mod "dnsmasq", "0.0.1", :github_tarball => "boxen/puppet-dnsmasq" | |||
mod "git", "0.0.2", :github_tarball => "boxen/puppet-git" | 11 | 12 | mod "git", "0.0.2", :github_tarball => "boxen/puppet-git" | |
mod "homebrew", "0.0.4", :github_tarball => "boxen/puppet-homebrew" | 12 | 13 | mod "homebrew", "0.0.4", :github_tarball => "boxen/puppet-homebrew" | |
mod "nginx", "0.0.2", :github_tarball => "boxen/puppet-nginx" | 13 | 14 | mod "nginx", "0.0.2", :github_tarball => "boxen/puppet-nginx" | |
mod "nvm", "0.0.5", :github_tarball => "boxen/puppet-nvm" | 14 | 15 | mod "nvm", "0.0.5", :github_tarball => "boxen/puppet-nvm" | |
mod "rbenv", "0.0.2", :github_tarball => "boxen/puppet-rbenv" | 15 | 16 | mod "rbenv", "0.0.2", :github_tarball => "boxen/puppet-rbenv" | |
mod "ruby", "0.0.6", :github_tarball => "boxen/puppet-ruby" | 16 | 17 | mod "ruby", "0.0.6", :github_tarball => "boxen/puppet-ruby" | |
17 | 18 | |||
# Core modules for a basic development environment. | 18 | 19 | # Core modules for a basic development environment. | |
# You can replace some/most of those if you want, but it's not recommended. | 19 | 20 | # You can replace some/most of those if you want, but it's not recommended. | |
%w(nodejs hub inifile sudo).each do |modulename| | 20 | 21 | %w(nodejs hub inifile sudo).each do |modulename| | |
mod modulename, "0.0.1", :github_tarball => "boxen/puppet-#{modulename}" | 21 | 22 | mod modulename, "0.0.1", :github_tarball => "boxen/puppet-#{modulename}" |
Puppetfile.lock
GITHUBTARBALL | 1 | 1 | GITHUBTARBALL | |
remote: boxen/puppet-boxen | 2 | 2 | remote: boxen/puppet-boxen | |
specs: | 3 | 3 | specs: | |
boxen (0.0.11) | 4 | 4 | boxen (0.0.11) | |
5 | 5 | |||
GITHUBTARBALL | 6 | 6 | GITHUBTARBALL | |
7 | remote: boxen/puppet-dnsmasq | |||
8 | specs: | |||
9 | dnsmasq (0.0.1) | |||
10 | ||||
11 | GITHUBTARBALL | |||
remote: boxen/puppet-git | 7 | 12 | remote: boxen/puppet-git | |
specs: | 8 | 13 | specs: | |
git (0.0.2) | 9 | 14 | git (0.0.2) | |
10 | 15 | |||
GITHUBTARBALL | 11 | 16 | GITHUBTARBALL | |
remote: boxen/puppet-homebrew | 12 | 17 | remote: boxen/puppet-homebrew | |
specs: | 13 | 18 | specs: | |
homebrew (0.0.4) | 14 | 19 | homebrew (0.0.4) | |
15 | 20 | |||
GITHUBTARBALL | 16 | 21 | GITHUBTARBALL | |
remote: boxen/puppet-hub | 17 | 22 | remote: boxen/puppet-hub | |
specs: | 18 | 23 | specs: | |
hub (0.0.1) | 19 | 24 | hub (0.0.1) | |
20 | 25 | |||
GITHUBTARBALL | 21 | 26 | GITHUBTARBALL | |
remote: boxen/puppet-inifile | 22 | 27 | remote: boxen/puppet-inifile | |
specs: | 23 | 28 | specs: | |
inifile (0.0.1) | 24 | 29 | inifile (0.0.1) | |
25 | 30 | |||
GITHUBTARBALL | 26 | 31 | GITHUBTARBALL | |
remote: boxen/puppet-nginx | 27 | 32 | remote: boxen/puppet-nginx | |
specs: | 28 | 33 | specs: | |
nginx (0.0.2) | 29 | 34 | nginx (0.0.2) | |
30 | 35 | |||
GITHUBTARBALL | 31 | 36 | GITHUBTARBALL | |
remote: boxen/puppet-nodejs | 32 | 37 | remote: boxen/puppet-nodejs | |
specs: | 33 | 38 | specs: | |
nodejs (0.0.1) | 34 | 39 | nodejs (0.0.1) | |
35 | 40 | |||
GITHUBTARBALL | 36 | 41 | GITHUBTARBALL | |
remote: boxen/puppet-nvm | 37 | 42 | remote: boxen/puppet-nvm | |
specs: | 38 | 43 | specs: | |
nvm (0.0.5) | 39 | 44 | nvm (0.0.5) | |
40 | 45 | |||
GITHUBTARBALL | 41 | 46 | GITHUBTARBALL | |
remote: boxen/puppet-rbenv | 42 | 47 | remote: boxen/puppet-rbenv | |
specs: | 43 | 48 | specs: | |
rbenv (0.0.2) | 44 | 49 | rbenv (0.0.2) | |
45 | 50 | |||
GITHUBTARBALL | 46 | 51 | GITHUBTARBALL | |
remote: boxen/puppet-ruby | 47 | 52 | remote: boxen/puppet-ruby | |
specs: | 48 | 53 | specs: | |
ruby (0.0.6) | 49 | 54 | ruby (0.0.6) | |
50 | 55 | |||
GITHUBTARBALL | 51 | 56 | GITHUBTARBALL | |
remote: boxen/puppet-sudo | 52 | 57 | remote: boxen/puppet-sudo | |
specs: | 53 | 58 | specs: | |
sudo (0.0.1) | 54 | 59 | sudo (0.0.1) | |
55 | 60 | |||
DEPENDENCIES | 56 | 61 | DEPENDENCIES | |
boxen (= 0.0.11) | 57 | 62 | boxen (= 0.0.11) |
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 { | |
# core modules, needed for most things | 42 | 42 | # core modules, needed for most things | |
43 | include dnsmasq | |||
include git | 43 | 44 | include git | |
include hub | 44 | 45 | include hub | |
include nginx | 45 | 46 | include nginx | |
include nvm | 46 | 47 | include nvm | |
include rbenv | 47 | 48 | include rbenv | |
48 | 49 | |||
# node versions | 49 | 50 | # node versions |
vendor/puppet/cache/boxen-puppet-dnsmasq-0.0.1.tar.gz
No preview for this file type