mirror of
https://github.com/krislamo/pup-tests
synced 2024-11-10 01:00: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:
parent
9e5034acd5
commit
8f82dc0117
@ -36,6 +36,8 @@ then
|
|||||||
vagrant ssh backups -c "sudo puppet agent -t"
|
vagrant ssh backups -c "sudo puppet agent -t"
|
||||||
elif [ "$1" == "apply" ]
|
elif [ "$1" == "apply" ]
|
||||||
then
|
then
|
||||||
|
vagrant ssh master -c "cd /etc/puppet/code/environments/production && \
|
||||||
|
r10k puppetfile install"
|
||||||
vagrant rsync
|
vagrant rsync
|
||||||
if [ -z "$2" ]; then
|
if [ -z "$2" ]; then
|
||||||
vagrant ssh webserver -c "sudo puppet agent -t"
|
vagrant ssh webserver -c "sudo puppet agent -t"
|
||||||
|
Loading…
Reference in New Issue
Block a user