fuel-library/deployment/puppet/xinetd
2013-01-14 15:42:32 +04:00
..
files Initial commit 2012-09-07 17:38:58 -07:00
manifests Initial commit 2012-09-07 17:38:58 -07:00
spec Initial commit 2012-09-07 17:38:58 -07:00
templates Initial commit 2012-09-07 17:38:58 -07:00
tests Initial commit 2012-09-07 17:38:58 -07:00
.fixtures.yml Initial commit 2012-09-07 17:38:58 -07:00
.gemfile Initial commit 2012-09-07 17:38:58 -07:00
.gitignore Ignore metadata.json 2013-01-11 14:09:25 +04:00
.project some syntax and minor fixes for puppet 3.0 comliance 2013-01-14 15:42:32 +04:00
CHANGELOG Initial commit 2012-09-07 17:38:58 -07:00
LICENSE Initial commit 2012-09-07 17:38:58 -07:00
Modulefile Initial commit 2012-09-07 17:38:58 -07:00
Rakefile Initial commit 2012-09-07 17:38:58 -07:00
README Initial commit 2012-09-07 17:38:58 -07:00

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
#   $service_type - optional - type setting in xinetd
#
# 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