diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2018-02-18 22:54:05 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2018-02-18 22:54:05 +0100 |
commit | 428fcf14be3943fc01d234a5e622c7f8706bcb73 (patch) | |
tree | d144b72d85d60ec8490687cdf6f3a037d9622f88 /bin | |
parent | aea8c51549e56f6d0ced3072fae9d61b6a87e6e4 (diff) | |
download | Puppet-428fcf14be3943fc01d234a5e622c7f8706bcb73.tar.gz Puppet-428fcf14be3943fc01d234a5e622c7f8706bcb73.tar.zst Puppet-428fcf14be3943fc01d234a5e622c7f8706bcb73.zip |
Make puppet apply non-critical part at reboot
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/install_script.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/install_script.sh b/bin/install_script.sh index d9d3808..49a737f 100755 --- a/bin/install_script.sh +++ b/bin/install_script.sh | |||
@@ -173,9 +173,9 @@ cat > $ARCH_INSTALL_SCRIPT <<EOF | |||
173 | CODE_PATH="/etc/puppetlabs/code" | 173 | CODE_PATH="/etc/puppetlabs/code" |
174 | rm -rf \$CODE_PATH | 174 | rm -rf \$CODE_PATH |
175 | git clone -b $git_branch --recursive https://git.immae.eu/perso/Immae/Projets/Puppet.git \$CODE_PATH | 175 | git clone -b $git_branch --recursive https://git.immae.eu/perso/Immae/Projets/Puppet.git \$CODE_PATH |
176 | puppet apply --test \$CODE_PATH/manifests/site.pp | 176 | puppet apply --tags base_installation --test \$CODE_PATH/manifests/site.pp |
177 | # The password seed requires puppet to be run twice | 177 | # The password seed requires puppet to be run twice |
178 | puppet apply --test \$CODE_PATH/manifests/site.pp | 178 | puppet apply --tags base_installation --test \$CODE_PATH/manifests/site.pp |
179 | EOF | 179 | EOF |
180 | 180 | ||
181 | chmod a+x $ARCH_HOST_SCRIPT $ARCH_CHROOT_SCRIPT $ARCH_INSTALL_SCRIPT | 181 | chmod a+x $ARCH_HOST_SCRIPT $ARCH_CHROOT_SCRIPT $ARCH_INSTALL_SCRIPT |
@@ -197,7 +197,7 @@ read -p "Press key when LDAP is configured" i | |||
197 | 197 | ||
198 | cat > $ARCH_PUPPET_CONFIGURATION_SCRIPT <<EOF | 198 | cat > $ARCH_PUPPET_CONFIGURATION_SCRIPT <<EOF |
199 | CODE_PATH="/etc/puppetlabs/code" | 199 | CODE_PATH="/etc/puppetlabs/code" |
200 | puppet apply --test \$CODE_PATH/manifests/site.pp | 200 | puppet apply --tags base_installation --test \$CODE_PATH/manifests/site.pp |
201 | EOF | 201 | EOF |
202 | 202 | ||
203 | cat > $ARCH_HOST_PUPPET_CONFIGURATION_SCRIPT <<EOF | 203 | cat > $ARCH_HOST_PUPPET_CONFIGURATION_SCRIPT <<EOF |