control-repo/run-puppet.sh
Mathew Clark cab175314c Create run-puppet.sh for cron job
Create run-puppet.sh for cron job
2018-02-27 18:47:10 +10:30

3 lines
115 B
Bash

#!/bin/bash
cd /etc/puppetlabs/code/environments/production && git pull
/opt/puppetlabs/bin/puppet apply manifests/