fuel-library/deployment/puppet/xinetd
Denis Egorenko d0dd5911fe Sync Xinetd module with upstream
Sync from Puppetlabs
v1.5.0 5e31388979e8f3a667899fad5cefa95289e22281

Partial implements: blueprint upgrade-openstack-puppet-modules

Change-Id: I8836f09b0bc2332daea41af087dcb13268123dc8
2015-06-16 12:04:43 +00:00
..
examples Sync Xinetd module with upstream 2015-06-16 12:04:43 +00:00
manifests Sync Xinetd module with upstream 2015-06-16 12:04:43 +00:00
spec Sync Xinetd module with upstream 2015-06-16 12:04:43 +00:00
templates Sync Xinetd module with upstream 2015-06-16 12:04:43 +00:00
.fixtures.yml Merge puppetlabs-xinetd v1.3.1 module 2015-01-12 11:13:12 +01:00
.nodeset.yml Sync Xinetd module with upstream 2015-06-16 12:04:43 +00:00
.travis.yml Sync Xinetd module with upstream 2015-06-16 12:04:43 +00:00
CHANGELOG.md Sync Xinetd module with upstream 2015-06-16 12:04:43 +00:00
Gemfile Sync Xinetd module with upstream 2015-06-16 12:04:43 +00:00
LICENSE Merge puppetlabs-xinetd v1.3.1 module 2015-01-12 11:13:12 +01:00
README.md Merge puppetlabs-xinetd v1.3.1 module 2015-01-12 11:13:12 +01:00
Rakefile Merge puppetlabs-xinetd v1.3.1 module 2015-01-12 11:13:12 +01:00
metadata.json Sync Xinetd module with upstream 2015-06-16 12:04:43 +00:00

README.md

xinetd

Build Status

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

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.