]> git.immae.eu Git - perso/Immae/Projets/Puppet.git/commitdiff
Fix puppet script
authorIsmaël Bouya <ismael.bouya@normalesup.org>
Sun, 4 Mar 2018 22:42:24 +0000 (23:42 +0100)
committerIsmaël Bouya <ismael.bouya@normalesup.org>
Sun, 4 Mar 2018 22:42:24 +0000 (23:42 +0100)
modules/base_installation/files/scripts/puppet_reset_and_apply

index ff71aa88da25cde041652e5a1ff0583e488922dc..6743044152de39e24c0ef3bd7e0b37b33b40448a 100644 (file)
@@ -8,7 +8,7 @@ if [ -n "$1" ]; then
   branch="$1"
 fi
 
-git reset --hard origin/$1
+git reset --hard origin/$branch
 
 git submodule update --init
 puppet apply --test manifests/site.pp