From 2c5b88a2c4fcefa164641c4a274fb5302ca6e0be Mon Sep 17 00:00:00 2001 From: Will Farrington Date: Thu, 4 Oct 2012 10:40:06 -0700 Subject: [PATCH] ensure clone of boxen repo into the srcdir, and a symlink in the BOXEN_HOME to the repo --- manifests/site.pp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/manifests/site.pp b/manifests/site.pp index 050ba74..d9f7af5 100644 --- a/manifests/site.pp +++ b/manifests/site.pp @@ -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