/usr/share/doc/puppet-module-puppetlabs-xinetd/README.md is in puppet-module-puppetlabs-xinetd 1.5.0-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 | # xinetd
[![Build Status](https://travis-ci.org/puppetlabs/puppetlabs-xinetd.png)](https://travis-ci.org/puppetlabs/puppetlabs-xinetd)
This is the xinetd module.
## Overview
This module configures xinetd, and exposes the xinetd::service definition
for adding new services.
## Class: xinetd
Sets up the xinetd daemon. Has options for you in case you have specific
package names and service needs.
### Parameters
* `confdir`
* `conffile`
* `package_name`
* `service_name`
* `service_restart`
* `service_status`
* `service_hasrestart`
* `service_hasstatus`
## Definition: xinetd::service
Sets up a xinetd service. All parameters match up with xinetd.conf(5) man
page.
### Parameters:
* `server` - required - determines the program to execute for this service
* `port` - required - determines the service port
* `cps` - optional
* `flags` - optional
* `per_source` - optional
* `server_args` - optional
* `disable` - optional - defaults to "no"
* `socket_type` - optional - defaults to "stream"
* `protocol` - optional - defaults to "tcp"
* `user` - optional - defaults to "root"
* `group` - optional - defaults to "root"
* `instances` - optional - defaults to "UNLIMITED"
* `wait` - optional - based on $protocol will default to "yes" for udp and "no" for tcp
* `service_type` - optional - type setting in xinetd
### Sample Usage
```puppet
xinetd::service { 'tftp':
port => '69',
server => '/usr/sbin/in.tftpd',
server_args => '-s /var/lib/tftp/',
socket_type => 'dgram',
protocol => 'udp',
cps => '100 2',
flags => 'IPv4',
per_source => '11',
}
```
## Supported OSes
Supports Debian, FreeBSD, Suse, RedHat, and Amazon Linux OS Families.
|