diff options
Diffstat (limited to 'manifests/host.pp')
-rw-r--r-- | manifests/host.pp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/manifests/host.pp b/manifests/host.pp index 160df63..d946ae9 100644 --- a/manifests/host.pp +++ b/manifests/host.pp @@ -11,10 +11,10 @@ Arguments: */ define dhcp::host($ensure=present,$mac,$subnet,$fixed_address=false, $options=false) { include dhcp::params - common::concatfilepart {"dhcp.host.$name": - ensure => $ensure, - notify => Service["dhcpd"], - file => "${dhcp::params::config_dir}/hosts.d/${subnet}.conf", + concat::fragment {"dhcp.host.$name": + ensure => $ensure, + target => "${dhcp::params::config_dir}/hosts.d/${subnet}.conf", content => template("dhcp/host.conf.erb"), + notify => Service["dhcpd"], } } |