blob: 88a6f1399bd263328f435d17289af8c8471d2b3c (
plain)
- control:
- AddInstallable = ( dhcpd_reload )
-
- editfiles:
- { /etc/dhcp.conf
- #
- # We don't make the dhcp.conf dynamically, but instead we copy the contents
- # of a master file, but only if it's newer than the one installed.
- #
- BeginGroupIfFileIsNewer "/etc/local-COMMON/dhcpd.conf.$(site)"
- AutoCreate
- EmptyEntireFilePlease
- InsertFile "/etc/local-COMMON/dhcp.conf.$(site)"
- Append "# Edited by cfengine $(date)"
- EndGroup
- DefineClasses "dhcpd_reload"
- }
- shellcommands:
- dhcpd_reload::
- "/etc/init.d/dhcp force-reload"
|