install_modules_unit: list modules

When deploying Puppet modules in unit jobs, let's also list the modules
so we can know which versions are deployed.

Change-Id: I22ecd983c3164db5c0fa233a02ee5de1eb1e70bb
This commit is contained in:
Emilien Macchi 2017-11-20 09:17:52 -08:00
parent 1e1fa8404f
commit 8627b03699

View File

@ -21,9 +21,12 @@ export SCRIPT_DIR=$(cd `dirname $0` && pwd -P)
export PUPPETFILE_DIR=${PUPPETFILE_DIR:-${PUPPET_BASE_PATH}/modules}
source $SCRIPT_DIR/functions
print_header 'Start (install_modules.sh)'
print_header 'Start (install_modules_unit.sh)'
print_header 'Install Modules'
install_modules
print_header 'Done (install_modules.sh)'
print_header 'Module List'
puppet module list --modulepath ./spec/fixtures/modules
print_header 'Done (install_modules_unit.sh)'