diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2018-03-19 19:06:22 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2018-03-19 19:06:22 +0100 |
commit | 4772e48cc9e2e6ed39776b007cbf0d5514f4c7b9 (patch) | |
tree | 7195a816762dfcc301194faed3a9ab6b7edfca95 /scripts/arch_install_script.sh | |
parent | b45f55437f8239acf5576f4f5282b68eb933db32 (diff) | |
download | Puppet-4772e48cc9e2e6ed39776b007cbf0d5514f4c7b9.tar.gz Puppet-4772e48cc9e2e6ed39776b007cbf0d5514f4c7b9.tar.zst Puppet-4772e48cc9e2e6ed39776b007cbf0d5514f4c7b9.zip |
Populate keyring at install
Diffstat (limited to 'scripts/arch_install_script.sh')
-rwxr-xr-x | scripts/arch_install_script.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/arch_install_script.sh b/scripts/arch_install_script.sh index 21e202f..d2c6107 100755 --- a/scripts/arch_install_script.sh +++ b/scripts/arch_install_script.sh | |||
@@ -6,6 +6,9 @@ CODE_PATH="/etc/puppetlabs/code" | |||
6 | 6 | ||
7 | rm -rf $CODE_PATH | 7 | rm -rf $CODE_PATH |
8 | 8 | ||
9 | pacman-key --init | ||
10 | pacman-key --populate archlinux | ||
11 | |||
9 | git clone -b $git_branch --recursive https://git.immae.eu/perso/Immae/Projets/Puppet.git $CODE_PATH | 12 | git clone -b $git_branch --recursive https://git.immae.eu/perso/Immae/Projets/Puppet.git $CODE_PATH |
10 | puppet apply --environment $environment --tags base_installation --test $CODE_PATH/manifests/site.pp | 13 | puppet apply --environment $environment --tags base_installation --test $CODE_PATH/manifests/site.pp |
11 | # The password seed requires puppet to be run twice | 14 | # The password seed requires puppet to be run twice |