diff options
author | Mathieu Bornoz <mathieu.bornoz@camptocamp.com> | 2012-08-02 11:24:52 +0200 |
---|---|---|
committer | Mathieu Bornoz <mathieu.bornoz@camptocamp.com> | 2012-08-02 11:24:52 +0200 |
commit | d8f231f802e967bdf5c30bbee61fab05a7621dc6 (patch) | |
tree | b30a9f20b284d5b44ec46140bb48468bfb3674d2 /manifests/base.pp | |
parent | e9c9acdd15579bcb10ca9509c032819d3f808e53 (diff) | |
download | puppet-bind-d8f231f802e967bdf5c30bbee61fab05a7621dc6.tar.gz puppet-bind-d8f231f802e967bdf5c30bbee61fab05a7621dc6.tar.bz2 |
lint + cosmetics
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'], } + } |