From e9c9acdd15579bcb10ca9509c032819d3f808e53 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/mx.pp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'manifests/mx.pp') diff --git a/manifests/mx.pp b/manifests/mx.pp index 84a2b9f..433c8ea 100644 --- a/manifests/mx.pp +++ b/manifests/mx.pp @@ -24,11 +24,11 @@ define bind::mx($ensure=present, $_owner = $name } - common::concatfilepart{"bind.${name}": - file => "/etc/bind/pri/${zone}", + concat::fragment {"bind.${name}": ensure => $ensure, - notify => Service["bind9"], + target => "/etc/bind/pri/${zone}.conf", content => template("bind/mx-record.erb"), + notify => Service["bind9"], require => [Bind::Zone[$zone], Bind::A[$host]], } } -- cgit v1.2.3