X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fnamed%2Fmanifests%2Finit.pp;h=8cfa4080c24542bc8a690a1cd7604dcc53e4e8e8;hb=1c1a5d592e6f47007b55b1511e7ee9970df0d58c;hp=1a22154d6c5763d168872a8825fc19a820fc3070;hpb=7f86914b9cb237cb1cf8c720f86902bef717cfaa;p=mirror%2Fdsa-puppet.git diff --git a/modules/named/manifests/init.pp b/modules/named/manifests/init.pp index 1a22154d6..8cfa4080c 100644 --- a/modules/named/manifests/init.pp +++ b/modules/named/manifests/init.pp @@ -1,37 +1,35 @@ class named { - activate_munin_check { - "bind":; - } + activate_munin_check { + "bind":; + } - package { - bind9: ensure => installed; - } + package { + bind9: ensure => installed; + } - exec { - "bind9 restart": - path => "/etc/init.d:/usr/bin:/usr/sbin:/bin:/sbin", - refreshonly => true, - ; - } - exec { - "bind9 reload": - path => "/etc/init.d:/usr/bin:/usr/sbin:/bin:/sbin", - refreshonly => true, - ; - } - file { - "/var/log/bind9": - ensure => directory, - owner => bind, - group => bind, - mode => 775, - ; - } - @ferm::rule { "dsa-bind": - domain => "(ip ip6)", - description => "Allow nameserver access", - rule => "&TCP_UDP_SERVICE(53)" - } + exec { + "bind9 restart": + path => "/etc/init.d:/usr/bin:/usr/sbin:/bin:/sbin", + refreshonly => true, + ; + "bind9 reload": + path => "/etc/init.d:/usr/bin:/usr/sbin:/bin:/sbin", + refreshonly => true, + ; + } + file { + "/var/log/bind9": + ensure => directory, + owner => bind, + group => bind, + mode => 775, + ; + } + @ferm::rule { "dsa-bind": + domain => "(ip ip6)", + description => "Allow nameserver access", + rule => "&TCP_UDP_SERVICE(53)" + } } # vim:set et: