summaryrefslogtreecommitdiff
path: root/manifests/record.pp
diff options
context:
space:
mode:
authorMathieu Bornoz <mathieu.bornoz@camptocamp.com>2012-08-02 09:30:21 +0200
committerMathieu Bornoz <mathieu.bornoz@camptocamp.com>2012-08-02 09:30:21 +0200
commite9c9acdd15579bcb10ca9509c032819d3f808e53 (patch)
tree984d786ae04c0318b06d28c22bf05bb4f11b5257 /manifests/record.pp
parentfb0938204019fd14b030605ca8047f1c623bc38c (diff)
downloadpuppet-bind-e9c9acdd15579bcb10ca9509c032819d3f808e53.tar.gz
puppet-bind-e9c9acdd15579bcb10ca9509c032819d3f808e53.tar.bz2
switch from common::concatfilepart to concat[1]
[1] https://github.com/camptocamp/puppet-concat
Diffstat (limited to 'manifests/record.pp')
-rw-r--r--manifests/record.pp4
1 files changed, 2 insertions, 2 deletions
diff --git a/manifests/record.pp b/manifests/record.pp
index d551d60..ef53833 100644
--- a/manifests/record.pp
+++ b/manifests/record.pp
@@ -26,9 +26,9 @@ define bind::record($ensure=present,
$_owner = $name
}
- common::concatfilepart {"${zone}.${record_type}.${name}":
+ concat::fragment {"${zone}.${record_type}.${name}":
ensure => $ensure,
- file => "/etc/bind/pri/${zone}.conf",
+ target => "/etc/bind/pri/${zone}.conf",
content => template("bind/default-record.erb"),
notify => Service["bind9"],
}