diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2018-06-30 18:24:44 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2018-06-30 18:24:44 +0200 |
commit | d83778a66ca5effd6489fc56be2834adcf93fa58 (patch) | |
tree | 8c3002f94a4bf4f8789a43f87fa328cdb7eceb87 /scripts | |
parent | f84d9190aa7e14ae13256e1d6a47a1be09506674 (diff) | |
download | Puppet-d83778a66ca5effd6489fc56be2834adcf93fa58.tar.gz Puppet-d83778a66ca5effd6489fc56be2834adcf93fa58.tar.zst Puppet-d83778a66ca5effd6489fc56be2834adcf93fa58.zip |
Don’t recursively clone submodules
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/arch_install_script.sh | 4 |
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 | |||
9 | pacman-key --init | 9 | pacman-key --init |
10 | pacman-key --populate archlinux | 10 | pacman-key --populate archlinux |
11 | 11 | ||
12 | git clone -b $git_branch --recursive https://git.immae.eu/perso/Immae/Projets/Puppet.git $CODE_PATH | 12 | git clone -b $git_branch https://git.immae.eu/perso/Immae/Projets/Puppet.git $CODE_PATH |
13 | cd $CODE_PATH | ||
14 | git submodule update --init | ||
13 | 15 | ||
14 | export FACTER_in_chroot="yes" | 16 | export FACTER_in_chroot="yes" |
15 | puppet apply --environment $environment --tags base_installation --modulepath $CODE_PATH/modules:$CODE_PATH/external_modules --test $CODE_PATH/manifests/site.pp | 17 | puppet apply --environment $environment --tags base_installation --modulepath $CODE_PATH/modules:$CODE_PATH/external_modules --test $CODE_PATH/manifests/site.pp |