Commit 2c5b88a2c4fcefa164641c4a274fb5302ca6e0be

Authored by Will Farrington
1 parent 70e99fcbff

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

Showing 1 changed file with 8 additions and 1 deletions Side-by-side Diff

... ... @@ -52,9 +52,16 @@
52 52 fail('Please enable full disk encryption and try again')
53 53 }
54 54  
55   - repository { "${boxen::home}/repo":
  55 + # Setup real clone of our-boxen and link into BOXEN_HOME
  56 + repository { "${boxen::config::srcdir}/our-boxen":
56 57 ensure => present,
57 58 source => 'boxen/our-boxen'
  59 + }
  60 +
  61 + file { "${boxen::home}/repo":
  62 + ensure => link,
  63 + target => "${boxen::config::srcdir}/our-boxen",
  64 + require => Repository["${boxen::config::srcdir}/our-boxen"]
58 65 }
59 66  
60 67 # node versions