blob: ff71aa88da25cde041652e5a1ff0583e488922dc (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#!/bin/bash
cd /etc/puppetlabs/code
git fetch origin
branch="master"
if [ -n "$1" ]; then
branch="$1"
fi
git reset --hard origin/$1
git submodule update --init
puppet apply --test manifests/site.pp
|