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/shared-network.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'manifests/shared-network.pp') diff --git a/manifests/shared-network.pp b/manifests/shared-network.pp index 9e1e779..2154d37 100644 --- a/manifests/shared-network.pp +++ b/manifests/shared-network.pp @@ -13,9 +13,9 @@ Warnings: */ define dhcp::shared-network($ensure=present, $subnets=[]) { include dhcp::params - common::concatfilepart {"shared-${name}": + concat::fragment {"shared-${name}": ensure => $ensure, - file => "${dhcp::params::config_dir}/dhcpd.conf", + target => "${dhcp::params::config_dir}/dhcpd.conf", content => template("dhcp/shared-network.erb"), require => Dhcp::Subnet[$subnets], } -- cgit v1.2.3