projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix tracker chain
[mirror/dsa-puppet.git]
/
modules
/
xinetd
/
manifests
/
service.pp
diff --git
a/modules/xinetd/manifests/service.pp
b/modules/xinetd/manifests/service.pp
index
fc6460c
..
5c8f954
100644
(file)
--- a/
modules/xinetd/manifests/service.pp
+++ b/
modules/xinetd/manifests/service.pp
@@
-3,11
+3,13
@@
define xinetd::service (
$server,
$port,
$bind='',
$server,
$port,
$bind='',
+ $type='',
$socket_type=stream,
$protocol=tcp,
$socket_type=stream,
$protocol=tcp,
- $flags=
IPv6
,
+ $flags=
''
,
$wait=no,
$user=root,
$wait=no,
$user=root,
+ $group='',
$server_args='',
$nice=10,
$instances=100,
$server_args='',
$nice=10,
$instances=100,
@@
-18,17
+20,6
@@
define xinetd::service (
) {
include xinetd
) {
include xinetd
- $noop = $::hostname ? {
- villa => false,
- lobos => false,
- saens => false,
- santoro => false,
- schein => false,
- steffani => false,
- wieck => false,
- default => true
- }
-
case $ensure {
present,absent,file: {}
default: { fail("Invalid ensure for '$name'") }
case $ensure {
present,absent,file: {}
default: { fail("Invalid ensure for '$name'") }
@@
-43,7
+34,6
@@
define xinetd::service (
file { "/etc/xinetd.d/${name}":
ensure => $ensure,
file { "/etc/xinetd.d/${name}":
ensure => $ensure,
- noop => $noop,
content => template('xinetd/service.erb'),
notify => Service['xinetd'],
require => Package['xinetd'],
content => template('xinetd/service.erb'),
notify => Service['xinetd'],
require => Package['xinetd'],