forked from ghoneycutt/puppet-xinetd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
42 lines (40 loc) · 1.26 KB
/
README
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
xinetd
This is the xinetd module.
# Definition: xinetd::service
#
# sets up a xinetd service
# all parameters match up with xinetd.conf(5) man page
#
# Parameters:
# $cps - optional
# $flags - optional
# $per_source - optional
# $port - required - determines the service port
# $server - required - determines the program to execute for this service
# $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
#
# Actions:
# setups up a xinetd service by creating a file in /etc/xinetd.d/
#
# Requires:
# $server must be set
#
# Sample Usage:
# # setup tftp service
# xinetd::service {"tftp":
# port => "69",
# server => "/usr/sbin/in.tftpd",
# server_args => "-s $base",
# socket_type => "dgram",
# protocol => "udp",
# cps => "100 2",
# flags => "IPv4",
# per_source => "11",
# } # xinetd::service