Blame SOURCES/puppet-nm-dispatcher

c96a11
#!/bin/bash
c96a11
#
c96a11
# Restart puppet on network changes to pickup changes to /etc/resolv.conf
c96a11
#
c96a11
# https://projects.puppetlabs.com/issues/2776
c96a11
# https://bugzilla.redhat.com/532085
c96a11
c96a11
[[ $2 =~ ^(up|down)$ ]] && /sbin/service puppet condrestart || :