1
0
mirror of https://github.com/krislamo/pup-tests synced 2024-09-19 17:20:35 +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:
Kris Lamoureux 2019-02-21 11:54:34 -05:00
parent 9e5034acd5
commit 8f82dc0117
Signed by: kris
GPG Key ID: A30022791E1719A4

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"