summaryrefslogtreecommitdiff
path: root/manifests/base.pp
diff options
context:
space:
mode:
authorMathieu Bornoz <mathieu.bornoz@camptocamp.com>2012-08-02 11:24:52 +0200
committerMathieu Bornoz <mathieu.bornoz@camptocamp.com>2012-08-02 11:24:52 +0200
commitd8f231f802e967bdf5c30bbee61fab05a7621dc6 (patch)
treeb30a9f20b284d5b44ec46140bb48468bfb3674d2 /manifests/base.pp
parente9c9acdd15579bcb10ca9509c032819d3f808e53 (diff)
downloadpuppet-bind-d8f231f802e967bdf5c30bbee61fab05a7621dc6.tar.gz
puppet-bind-d8f231f802e967bdf5c30bbee61fab05a7621dc6.tar.bz2
lint + cosmetics
Diffstat (limited to 'manifests/base.pp')
-rw-r--r--manifests/base.pp28
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'],
}
+
}