From 54a19a15cdab87b91c04e708c933a79bfdf110fc Mon Sep 17 00:00:00 2001 From: Ben Vincent Date: Sun, 18 Jun 2023 15:18:55 +1000 Subject: [PATCH] Added enc_update script --- enc_update | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 enc_update 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 +)