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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2211 - (hide annotations) (download)
Sun Jan 8 20:45:21 2012 UTC (12 years, 3 months ago) by misc
File size: 407 byte(s)
cleaning xinetd module
1 misc 789 class xinetd {
2 misc 2211 package { "xinetd": }
3 misc 789
4     service { xinetd:
5     ensure => running,
6     path => "/etc/init.d/xinetd",
7     subscribe => [ Package["xinetd"] ]
8     }
9 misc 2211
10 misc 789 define service($content) {
11     include xinetd
12     file { "/etc/xinetd.d/$name":
13     require => Package["xinetd"],
14     content => $content,
15     notify => Service['xinetd']
16     }
17     }
18     }
19    

  ViewVC Help
Powered by ViewVC 1.1.30