Sha256: 17563aa4d5f8aaa9f28532e0da1a4a9f275ffe31cf0254d4638be7b3dd523eec
Contents?: true
Size: 361 Bytes
Versions: 110
Compression:
Stored size: 361 Bytes
Contents
#!/bin/bash # # Restart puppet on network changes to pickup changes to /etc/resolv.conf # # https://projects.puppetlabs.com/issues/2776 # https://bugzilla.redhat.com/532085 if [ -f "/bin/systemctl" ] ; then [[ $2 =~ ^(up|down)$ ]] && /bin/systemctl try-restart puppet.service || : else [[ $2 =~ ^(up|down)$ ]] && /sbin/service puppet condrestart || : fi
Version data entries
110 entries across 110 versions & 1 rubygems