ensure clone of boxen repo into the srcdir, and a symlink in the BOXEN_HOME to the repo
This commit is contained in:
parent
70e99fcbff
commit
2c5b88a2c4
1 changed files with 8 additions and 1 deletions
|
@ -52,11 +52,18 @@ node default {
|
||||||
fail('Please enable full disk encryption and try again')
|
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,
|
ensure => present,
|
||||||
source => 'boxen/our-boxen'
|
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
|
# node versions
|
||||||
include nodejs::0-4
|
include nodejs::0-4
|
||||||
include nodejs::0-6
|
include nodejs::0-6
|
||||||
|
|
Loading…
Reference in a new issue