diff options
Diffstat (limited to 'manifests/base.pp')
-rw-r--r-- | manifests/base.pp | 28 |
1 files changed, 13 insertions, 15 deletions
diff --git a/manifests/base.pp b/manifests/base.pp index 752ed58..63eefbc 100644 --- a/manifests/base.pp +++ b/manifests/base.pp @@ -1,12 +1,9 @@ -/* - -= Class: bind::base - -Declares some basic resources. -You should NOT include this class as is, as it won't work at all! -Please refer to Class["bind"]. - -*/ +# = Class: bind::base +# +# Declares some basic resources. +# You should NOT include this class as is, as it won't work at all! +# Please refer to Class['bind']. +# class bind::base { include concat::setup @@ -17,25 +14,26 @@ class bind::base { mode => '0644', } - package {"bind9": + package {'bind9': ensure => present, } - service {"bind9": + service {'bind9': ensure => running, enable => true, - require => Package["bind9"], + require => Package['bind9'], } file {'/etc/bind/zones': ensure => directory, owner => root, group => root, - mode => 0755, - require => Package["bind9"], + mode => '0755', purge => true, force => true, recurse => true, - source => "puppet:///modules/bind/empty", + source => 'puppet:///modules/bind/empty', + require => Package['bind9'], } + } |