class named::authoritative inherits named {
- file { '/etc/bind/named.conf.options':
- content => template('named/named.conf.options.erb'),
- notify => Service['bind9'],
- }
file { '/etc/bind/named.conf.shared-keys':
mode => '0640',
owner => root,
ensure => directory,
mode => '0755',
}
- file { '/etc/bind/named.conf.options':
- content => template('named/named.conf.options.erb'),
- notify => Service['bind9'],
- }
file { '/etc/bind/named.conf.local':
source => 'puppet:///modules/named/common/named.conf.local',
notify => Service['bind9'],
mode => '0775',
}
+ file { '/etc/bind/named.conf.options':
+ content => template('named/named.conf.options.erb'),
+ notify => Service['bind9'],
+ }
+
file { '/etc/bind/named.conf.puppet-shared-keys':
mode => '0640',
content => template('named/named.conf.puppet-shared-keys.erb'),
str
-%>
-<% if classes.include?('named::authoritative') or classes.include?('named::geodns') -%>
dnssec-enable yes;
dnssec-validation yes;
-<% end -%>
// Defaults are 100 and 10, causing lots and lots of tiny updates.
// This way, I hope, we'll get fewer (and thus bigger) updates. -- weasel