summaryrefslogtreecommitdiff
path: root/share/hydractl/puppet-trigger
blob: a2813be95c0e6486921b6ed0accb6fb240a4a259 (plain)
1
2
3
4
5
6
7
#!/bin/bash

if [ -e '/var/run/puppet/agent.pid' ]; then
  kill -USR1 `cat /var/run/puppet/agent.pid`
if [ -e '/var/run/puppet/puppetd.pid' ]; then
  kill -USR1 `cat /var/run/puppet/puppetd.pid`
fi