fuel-library/deployment/puppet/xinetd
Bartłomiej Piotrowski 42e2ee7ba9 Merge puppetlabs-xinetd v1.3.1 module
Commit: 0740f5343b54523d9ed27f65c05f6c9f045f022b
Source: https://github.com/puppetlabs/puppetlabs-xinetd.git

Change-Id: I05944255240752c07efae6fe18cf4668bfe37ff6
Related: blueprint merge-openstack-puppet-modules
2015-01-12 11:13:12 +01:00
..
files Initial commit 2012-09-07 17:38:58 -07:00
manifests Merge puppetlabs-xinetd v1.3.1 module 2015-01-12 11:13:12 +01:00
spec Merge puppetlabs-xinetd v1.3.1 module 2015-01-12 11:13:12 +01:00
templates Merge puppetlabs-xinetd v1.3.1 module 2015-01-12 11:13:12 +01:00
tests Initial commit 2012-09-07 17:38:58 -07:00
.fixtures.yml Merge puppetlabs-xinetd v1.3.1 module 2015-01-12 11:13:12 +01:00
.gemfile Initial commit 2012-09-07 17:38:58 -07:00
.gitignore Merge puppetlabs-xinetd v1.3.1 module 2015-01-12 11:13:12 +01:00
.project some syntax and minor fixes for puppet 3.0 comliance 2013-01-14 15:42:32 +04:00
CHANGELOG Merge puppetlabs-xinetd v1.3.1 module 2015-01-12 11:13:12 +01:00
Gemfile Merge puppetlabs-xinetd v1.3.1 module 2015-01-12 11:13:12 +01:00
LICENSE Merge puppetlabs-xinetd v1.3.1 module 2015-01-12 11:13:12 +01:00
Modulefile Initial commit 2012-09-07 17:38:58 -07:00
README Initial commit 2012-09-07 17:38:58 -07: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 Merge puppetlabs-xinetd v1.3.1 module 2015-01-12 11:13:12 +01: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.