summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2016-06-18 14:13:46 -0300
committerSilvio Rhatto <rhatto@riseup.net>2016-06-18 14:13:46 -0300
commit94e32efdbdbcb9a0a8164852667aa7c8fe9f833e (patch)
treee69b0349471801482fffeeee3550d00688f324bf /manifests
parent8b5d6b18a3b9c01a2de92befec35a6340835b847 (diff)
downloadpuppet-bind-94e32efdbdbcb9a0a8164852667aa7c8fe9f833e.tar.gz
puppet-bind-94e32efdbdbcb9a0a8164852667aa7c8fe9f833e.tar.bz2
Adds bind::namedproduction
Diffstat (limited to 'manifests')
-rw-r--r--manifests/named.pp13
1 files changed, 13 insertions, 0 deletions
diff --git a/manifests/named.pp b/manifests/named.pp
new file mode 100644
index 0000000..d7fa1b4
--- /dev/null
+++ b/manifests/named.pp
@@ -0,0 +1,13 @@
+class bind::named {
+ # This is needed so we can comment out the inclusion of
+ # /etc/bind/named.conf.default-zones
+ file { '/etc/bind/named.conf':
+ ensure => present,
+ owner => root,
+ group => root,
+ mode => 0644,
+ source => [ 'puppet:///modules/site_bind/named.conf',
+ 'puppet:///modules/bind/named.conf' ]
+ notify => Service['bind9'],
+ }
+}