}
file {
+ "/etc/bind/named.conf.options":
+ content => template("named/named.conf.options.erb"),
+ notify => Exec["bind9 reload"];
"/etc/apt/sources.list.d/geoip.list":
content => template("debian-org/etc/apt/sources.list.d/geoip.list.erb"),
notify => Exec["apt-get update"],
group => bind,
mode => 775,
;
- "/etc/bind/named.conf.options":
- content => template("named/named.conf.options.erb"),
- notify => Exec["bind9 reload"],
}
@ferm::rule { "dsa-bind":
domain => "(ip ip6)",
class named::recursor inherits named {
+ file {
+ "/etc/bind/named.conf.options":
+ content => template("named/named.conf.options.erb"),
+ notify => Exec["bind9 reload"];
+ }
}
class named::secondary inherits named {
- file { "/etc/bind/named.conf.debian-zones":
- source => [ "puppet:///named/per-host/$fqdn/named.conf.debian-zones",
- "puppet:///named/common/named.conf.debian-zones" ],
- notify => Exec["bind9 reload"],
+ file {
+ "/etc/bind/named.conf.debian-zones":
+ source => [ "puppet:///named/per-host/$fqdn/named.conf.debian-zones",
+ "puppet:///named/common/named.conf.debian-zones" ],
+ notify => Exec["bind9 reload"];
+ "/etc/bind/named.conf.options":
+ content => template("named/named.conf.options.erb"),
+ notify => Exec["bind9 reload"];
}
file { "/etc/bind/named.conf.shared-keys":
mode => 640,