summaryrefslogtreecommitdiff
path: root/manifests/base.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/base.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/base.pp')
-rw-r--r--manifests/base.pp19
1 files changed, 14 insertions, 5 deletions
diff --git a/manifests/base.pp b/manifests/base.pp
index c442085..752ed58 100644
--- a/manifests/base.pp
+++ b/manifests/base.pp
@@ -8,6 +8,15 @@ Please refer to Class["bind"].
*/
class bind::base {
+
+ include concat::setup
+
+ concat {'/etc/bind/named.conf.local':
+ owner => root,
+ group => root,
+ mode => '0644',
+ }
+
package {"bind9":
ensure => present,
}
@@ -18,11 +27,11 @@ class bind::base {
require => Package["bind9"],
}
- file {["/etc/bind/pri", "/etc/bind/zones"]:
- ensure => directory,
- owner => root,
- group => root,
- mode => 0755,
+ file {'/etc/bind/zones':
+ ensure => directory,
+ owner => root,
+ group => root,
+ mode => 0755,
require => Package["bind9"],
purge => true,
force => true,