From 536a24852925104df8b9becfcac9d17ac999a5f4 Mon Sep 17 00:00:00 2001 From: Mathieu Bornoz Date: Thu, 2 Aug 2012 09:30:21 +0200 Subject: switch from common::concatfilepart to concat[1] [1] https://github.com/camptocamp/puppet-concat --- manifests/host.pp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'manifests/host.pp') 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"], } } -- cgit v1.2.3