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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2660 - (hide 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 misc 30 class bind {
2 misc 2660 package { 'bind': }
3 misc 27
4 misc 2660 service { 'named':
5     restart => 'service named restart',
6     subscribe => Package['bind'],
7 misc 27 }
8    
9 misc 2660 file { '/etc/named.conf':
10     ensure => link,
11     target => '/var/lib/named/etc/named.conf',
12     require => Package['bind'],
13 misc 27 }
14    
15 misc 2660 exec { 'named_reload':
16     command => 'service named reload',
17     refreshonly => true,
18 misc 492 }
19    
20 misc 2660 file { '/var/lib/named/etc/named.conf':
21     require => Package['bind'],
22     content => '',
23     notify => Service['named'],
24 misc 774 }
25 misc 30 }

  ViewVC Help
Powered by ViewVC 1.1.30