From cab175314c4453df6cd7f114a8f85b191790b0d1 Mon Sep 17 00:00:00 2001 From: Mathew Clark Date: Tue, 27 Feb 2018 18:47:10 +1030 Subject: [PATCH] Create run-puppet.sh for cron job Create run-puppet.sh for cron job --- run-puppet.sh | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 run-puppet.sh diff --git a/run-puppet.sh b/run-puppet.sh new file mode 100644 index 0000000..f2574a7 --- /dev/null +++ b/run-puppet.sh @@ -0,0 +1,3 @@ +#!/bin/bash +cd /etc/puppetlabs/code/environments/production && git pull +/opt/puppetlabs/bin/puppet apply manifests/ \ No newline at end of file