serviceconf( $rlimit_rss => 'undef', $access_times => 'undef', $no_access => 'undef', $user => 'root', $nice => 'undef', $flags => 'undef', $rpc_number => 'undef', $rlimit_data => 'undef', $per_source => 'undef', $passenv => 'undef', $mdns => 'undef', $groups => 'undef', $log_on_success => 'undef', $group => 'undef', $rpc_version => 'undef', $log_on_failure => 'undef', $only_from => 'undef', $server => 'undef', $instances => 'undef', $disable => 'no', $service_id => 'undef', $deny_time => 'undef', $banner_fail => 'undef', $wait => 'no', $protocol => 'tcp', $bind => 'undef', $env => 'undef', $server_args => 'undef', $rlimit_stack => 'undef', $banner => 'undef', $service_type => 'undef', $ensure => 'present', $rlimit_cpu => 'undef', $rlimit_files => 'undef', $umask => 'undef', $rlimit_as => 'undef', $max_load => 'undef', $cps => 'undef', $banner_success => 'undef', $redirect => 'undef', $port => 'undef', $log_type => 'undef', $socket_type => 'stream' )
Define: xinetd::serviceconf
Create full configuration for new xinetd-based
services.
Parameters control the service options as
documented in xinetd.conf(5).
Sample Usage :
- Create and enable a new service for
vmstat output :
xinetd::serviceconf { 'vmstat':
service_type => 'UNLISTED',
port => '24101',
user => 'nobody',
server => '/usr/bin/vmstat',
}
- Remove the above service :
xinetd::serviceconf { 'vmstat':
ensure => absent,
}