From f5a10d9d8f52306cc837fd07d2c5d78538c1a9fd Mon Sep 17 00:00:00 2001 From: Will Farrington Date: Tue, 2 Oct 2012 19:54:15 -0700 Subject: [PATCH] update default node def --- manifests/site.pp | 44 ++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 42 insertions(+), 2 deletions(-) diff --git a/manifests/site.pp b/manifests/site.pp index b4e1418..be6eb16 100644 --- a/manifests/site.pp +++ b/manifests/site.pp @@ -1,3 +1,43 @@ -node default { - notify { 'Hello, world.': } +require boxen::config +require homebrew::repo + +Exec { + group => 'staff', + logoutput => on_failure, + user => $luser, + + path => [ + "${boxen::config::home}/rbenv/shims", + "${boxen::config::home}/homebrew/bin", + '/usr/bin', + '/bin', + '/usr/sbin', + '/sbin' + ] +} + +File { + group => 'staff', + owner => $luser +} + +Package { + provider => homebrew, + require => Class['homebrew'] +} + +Repository { + provider => git, + extra => [ + '--recurse-submodules' + ], + require => Class['git'] +} + +Service { + provider => ghlaunchd +} + +node default { + include setup::environment }