Parent Directory | Revision Log
cleaning xinetd module
1 | class xinetd { |
2 | package { "xinetd": } |
3 | |
4 | service { xinetd: |
5 | ensure => running, |
6 | path => "/etc/init.d/xinetd", |
7 | subscribe => [ Package["xinetd"] ] |
8 | } |
9 | |
10 | 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 |