]> git.immae.eu Git - perso/Immae/Projets/Puppet.git/blobdiff - scripts/arch_install_script.sh
Move external modules to other place
[perso/Immae/Projets/Puppet.git] / scripts / arch_install_script.sh
index a16b796a4cbd905285a3c34bf5f4e6162fa12208..2d0d695514c6797c9119e889c11b53c1f4f3ca7b 100755 (executable)
@@ -12,7 +12,7 @@ pacman-key --populate archlinux
 git clone -b $git_branch --recursive https://git.immae.eu/perso/Immae/Projets/Puppet.git $CODE_PATH
 
 export FACTER_in_chroot="yes"
-puppet apply --environment $environment --tags base_installation --test $CODE_PATH/manifests/site.pp
+puppet apply --environment $environment --tags base_installation --modulepath $CODE_PATH/modules:$CODE_PATH/external_modules --test $CODE_PATH/manifests/site.pp
 # The password seed requires puppet to be run twice
-puppet apply --environment $environment --tags base_installation --test $CODE_PATH/manifests/site.pp
+puppet apply --environment $environment --tags base_installation --modulepath $CODE_PATH/modules:$CODE_PATH/external_modules --test $CODE_PATH/manifests/site.pp