aboutsummaryrefslogtreecommitdiffstats
path: root/modules/bind
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2012-01-08 20:45:19 +0000
committerMichael Scherer <misc@mageia.org>2012-01-08 20:45:19 +0000
commit8705eb864734a69d2180275e4c6ae00cb14d64bd (patch)
tree79b1c507aab72d7a6cad26e5f5bdd622d0aa1315 /modules/bind
parent0502d934b65539ff158e00a6569c53a9f2117866 (diff)
downloadpuppet-8705eb864734a69d2180275e4c6ae00cb14d64bd.tar
puppet-8705eb864734a69d2180275e4c6ae00cb14d64bd.tar.gz
puppet-8705eb864734a69d2180275e4c6ae00cb14d64bd.tar.bz2
puppet-8705eb864734a69d2180275e4c6ae00cb14d64bd.tar.xz
puppet-8705eb864734a69d2180275e4c6ae00cb14d64bd.zip
cleaning of bind module
Diffstat (limited to 'modules/bind')
-rw-r--r--modules/bind/manifests/init.pp16
1 files changed, 1 insertions, 15 deletions
diff --git a/modules/bind/manifests/init.pp b/modules/bind/manifests/init.pp
index dca772a8..a880917e 100644
--- a/modules/bind/manifests/init.pp
+++ b/modules/bind/manifests/init.pp
@@ -1,8 +1,6 @@
class bind {
class bind_base {
- package { bind:
- ensure => installed
- }
+ package { bind: }
service { named:
ensure => running,
@@ -12,9 +10,6 @@ class bind {
file { '/etc/named.conf':
ensure => "/var/lib/named/etc/named.conf",
- owner => root,
- group => root,
- mode => 644,
require => Package[bind]
}
@@ -25,10 +20,6 @@ class bind {
}
file { '/var/lib/named/etc/named.conf':
- ensure => present,
- owner => root,
- group => root,
- mode => 644,
require => Package["bind"],
content => "",
notify => [Service['named']]
@@ -41,10 +32,6 @@ class bind {
$zone_content = $content
}
file { "/var/lib/named/var/named/$zone_subdir/$name.zone":
- ensure => present,
- owner => root,
- group => root,
- mode => 644,
content => $zone_content,
require => Package[bind],
notify => Exec[named_reload]
@@ -81,5 +68,4 @@ class bind {
content => template("bind/named_base.conf", "bind/named_slave.conf"),
}
}
-
}