Try to create shared keys using puppet
[mirror/dsa-puppet.git] / modules / named / manifests / authoritative.pp
1 class named::authoritative inherits named {
2         file { '/etc/bind/named.conf.debian-zones':
3                 content => template('named/named.conf.debian-zones.erb'),
4                 notify  => Service['bind9'],
5         }
6         file { '/etc/bind/named.conf.options':
7                 content => template('named/named.conf.options.erb'),
8                 notify  => Service['bind9'],
9         }
10         file { '/etc/bind/named.conf.shared-keys':
11                 mode    => '0640',
12                 owner   => root,
13                 group   => bind,
14         }
15         file { '/etc/bind/named.conf.puppet-shared-keys':
16                 mode    => '0640',
17                 content => template('named/named.conf.puppet-shared-keys.erb'),
18                 owner   => root,
19                 group   => bind,
20         }
21 }