blob: 7ec7053c105427b6958b17dcb82985acee056f1a (
plain) (
tree)
|
|
#!/bin/bash
cd /etc/puppetlabs/code
git fetch origin
branch="master"
if [ -n "$1" ]; then
branch="$1"
shift
fi
git reset --hard origin/$branch
git submodule update --init
puppet_apply "$@" --test manifests/site.pp
|