ensure clone of boxen repo into the srcdir, and a symlink in the BOXEN_HOME to the repo

This commit is contained in:
Will Farrington 2012-10-04 10:40:06 -07:00
parent 70e99fcbff
commit 2c5b88a2c4

View file

@ -52,11 +52,18 @@ node default {
fail('Please enable full disk encryption and try again')
}
repository { "${boxen::home}/repo":
# Setup real clone of our-boxen and link into BOXEN_HOME
repository { "${boxen::config::srcdir}/our-boxen":
ensure => present,
source => 'boxen/our-boxen'
}
file { "${boxen::home}/repo":
ensure => link,
target => "${boxen::config::srcdir}/our-boxen",
require => Repository["${boxen::config::srcdir}/our-boxen"]
}
# node versions
include nodejs::0-4
include nodejs::0-6