948aff1f02
Fix all of the bashate failures. Also, bashate will install its negative tests in its virtualenv, so we need to generate a list of files to pass to bashate that excludes .tox/ Change-Id: I55559bf6137f705aec9a7f277928ad8d4cadc2ca
17 lines
357 B
Bash
Executable File
17 lines
357 B
Bash
Executable File
#!/bin/bash
|
|
|
|
if ! test -z $1 ; then
|
|
BASE_DIR=$1
|
|
else
|
|
BASE_DIR=`pwd`
|
|
fi
|
|
|
|
MODULE_DIR=${BASE_DIR}/modules
|
|
MODULE_PATH=${MODULE_DIR}:/etc/puppet/modules
|
|
MANIFEST_LOG=/var/log/manifest.log
|
|
|
|
cd $BASE_DIR
|
|
/usr/bin/git pull -q && \
|
|
/bin/bash install_modules.sh && \
|
|
/usr/bin/puppet apply -l $MANIFEST_LOG --modulepath=$MODULE_PATH manifests/site.pp
|