diff options
author | Mathieu Bornoz <mathieu.bornoz@camptocamp.com> | 2012-08-02 09:30:21 +0200 |
---|---|---|
committer | Mathieu Bornoz <mathieu.bornoz@camptocamp.com> | 2012-08-02 09:30:21 +0200 |
commit | e9c9acdd15579bcb10ca9509c032819d3f808e53 (patch) | |
tree | 984d786ae04c0318b06d28c22bf05bb4f11b5257 /manifests/base.pp | |
parent | fb0938204019fd14b030605ca8047f1c623bc38c (diff) | |
download | puppet-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.pp | 19 |
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, |