aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2018-06-30 18:24:44 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2018-06-30 18:24:44 +0200
commitd83778a66ca5effd6489fc56be2834adcf93fa58 (patch)
tree8c3002f94a4bf4f8789a43f87fa328cdb7eceb87 /scripts
parentf84d9190aa7e14ae13256e1d6a47a1be09506674 (diff)
downloadPuppet-d83778a66ca5effd6489fc56be2834adcf93fa58.tar.gz
Puppet-d83778a66ca5effd6489fc56be2834adcf93fa58.tar.zst
Puppet-d83778a66ca5effd6489fc56be2834adcf93fa58.zip
Don’t recursively clone submodules
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/arch_install_script.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/arch_install_script.sh b/scripts/arch_install_script.sh
index 2d0d695..3f99ec9 100755
--- a/scripts/arch_install_script.sh
+++ b/scripts/arch_install_script.sh
@@ -9,7 +9,9 @@ rm -rf $CODE_PATH
9pacman-key --init 9pacman-key --init
10pacman-key --populate archlinux 10pacman-key --populate archlinux
11 11
12git clone -b $git_branch --recursive https://git.immae.eu/perso/Immae/Projets/Puppet.git $CODE_PATH 12git clone -b $git_branch https://git.immae.eu/perso/Immae/Projets/Puppet.git $CODE_PATH
13cd $CODE_PATH
14git submodule update --init
13 15
14export FACTER_in_chroot="yes" 16export FACTER_in_chroot="yes"
15puppet apply --environment $environment --tags base_installation --modulepath $CODE_PATH/modules:$CODE_PATH/external_modules --test $CODE_PATH/manifests/site.pp 17puppet apply --environment $environment --tags base_installation --modulepath $CODE_PATH/modules:$CODE_PATH/external_modules --test $CODE_PATH/manifests/site.pp