Parent Directory | Revision Log | Patch
revision 2455 by misc, Sun Feb 19 17:45:20 2012 UTC | revision 2643 by misc, Mon Mar 19 20:36:12 2012 UTC | |
---|---|---|
# | Line 4 class xinetd { | Line 4 class xinetd { |
4 | service { 'xinetd': | service { 'xinetd': |
5 | subscribe => Package['xinetd'] | subscribe => Package['xinetd'] |
6 | } | } |
define service($content) { | ||
include xinetd | ||
file { "/etc/xinetd.d/$name": | ||
require => Package['xinetd'], | ||
content => $content, | ||
notify => Service['xinetd'] | ||
} | ||
} | ||
7 | } | } |
|
ViewVC Help | |
Powered by ViewVC 1.1.30 |