Parent Directory | Revision Log
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 |