]> git.immae.eu Git - perso/Immae/Projets/Puppet.git/blobdiff - scripts/arch_install_script.sh
Fix deprecated empty function
[perso/Immae/Projets/Puppet.git] / scripts / arch_install_script.sh
index 21e202f35af8452cd3b1bb264dd478a31c902e6c..a16b796a4cbd905285a3c34bf5f4e6162fa12208 100755 (executable)
@@ -6,7 +6,12 @@ CODE_PATH="/etc/puppetlabs/code"
 
 rm -rf $CODE_PATH
 
+pacman-key --init
+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
 # The password seed requires puppet to be run twice
 puppet apply --environment $environment --tags base_installation --test $CODE_PATH/manifests/site.pp