]> git.immae.eu Git - perso/Immae/Projets/Puppet.git/commitdiff
Fix post-merge hook
authorIsmaël Bouya <ismael.bouya@normalesup.org>
Mon, 8 Aug 2016 16:47:33 +0000 (18:47 +0200)
committerIsmaël Bouya <ismael.bouya@normalesup.org>
Mon, 8 Aug 2016 16:47:33 +0000 (18:47 +0200)
modules/cron_puppet/files/post-merge

index b8dc2661b88de3fe1d96cf95e55708d0c3e98450..7310b98ce7bb439840ac0336e2445531bb99e798 100644 (file)
@@ -1,6 +1,6 @@
 #!/bin/bash -e
 ## Run Puppet locally using puppet apply
-/usr/bin/puppet apply /etc/puppetlabs/puppet/manifests/site.pp
+/usr/bin/puppet apply --modulepath=/etc/puppetlabs/puppet/modules /etc/puppetlabs/puppet/manifests/site.pp
 
 ## Log status of the Puppet run
 if [ $? -eq 0 ]