summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2016-07-19 17:05:01 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2016-07-19 17:05:01 -0700
commit513358426254cdb5ff024633bf1b624e8ec2bfc2 (patch)
tree5fe9b328f0f1cd3d6cb00712a7ec19bbee48dd67 /local/post-receive.puppet-sync
downloadgithooks-513358426254cdb5ff024633bf1b624e8ec2bfc2.tar.gz
githooks-513358426254cdb5ff024633bf1b624e8ec2bfc2.tar.bz2
githooks-513358426254cdb5ff024633bf1b624e8ec2bfc2.zip
Initial commit.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Diffstat (limited to 'local/post-receive.puppet-sync')
-rwxr-xr-xlocal/post-receive.puppet-sync2
1 files changed, 2 insertions, 0 deletions
diff --git a/local/post-receive.puppet-sync b/local/post-receive.puppet-sync
new file mode 100755
index 0000000..9212caa
--- /dev/null
+++ b/local/post-receive.puppet-sync
@@ -0,0 +1,2 @@
+#!/bin/bash
+/usr/bin/sudo -n /usr/local/sbin/push-to-puppetmaster