/[adm]/puppet/modules/bind/manifests/init.pp
ViewVC logotype

Contents of /puppet/modules/bind/manifests/init.pp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2660 - (show annotations) (download)
Tue Mar 20 17:30:33 2012 UTC (12 years, 1 month ago) by misc
File size: 560 byte(s)
rework the layout of the bind module
1 class bind {
2 package { 'bind': }
3
4 service { 'named':
5 restart => 'service named restart',
6 subscribe => Package['bind'],
7 }
8
9 file { '/etc/named.conf':
10 ensure => link,
11 target => '/var/lib/named/etc/named.conf',
12 require => Package['bind'],
13 }
14
15 exec { 'named_reload':
16 command => 'service named reload',
17 refreshonly => true,
18 }
19
20 file { '/var/lib/named/etc/named.conf':
21 require => Package['bind'],
22 content => '',
23 notify => Service['named'],
24 }
25 }

  ViewVC Help
Powered by ViewVC 1.1.30