1
0
mirror of https://github.com/krislamo/pup-tests synced 2025-09-07 07:19:30 +00:00

Download any new forge modules on pup-tests apply

If a forge module is added to the Puppetfile after the pup-tests
script is used to "create" the environment, pup-tests "apply" will
now download and install them.
This commit is contained in:
2019-02-21 11:54:34 -05:00
parent 9e5034acd5
commit 8f82dc0117

View File

@@ -36,6 +36,8 @@ then
vagrant ssh backups -c "sudo puppet agent -t"
elif [ "$1" == "apply" ]
then
vagrant ssh master -c "cd /etc/puppet/code/environments/production && \
r10k puppetfile install"
vagrant rsync
if [ -z "$2" ]; then
vagrant ssh webserver -c "sudo puppet agent -t"