diff --git a/enc_update b/enc_update new file mode 100755 index 0000000..5f833c1 --- /dev/null +++ b/enc_update @@ -0,0 +1,9 @@ +#!/usr/bin/bash + +# open a subshell and pull enc data +( + cd /opt/puppetlabs/enc/ + git reset --hard master + git clean -fd + git pull +)