Version information
released Jul 30th 2013
Start using this module
Add this module to your Puppetfile:
mod 'puppetlabs-xinetd', '1.2.0'
Learn more about managing modules with a PuppetfileDocumentation
puppetlabs/xinetd — version 1.2.0 Jul 30th 2013
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
2013-07-30 Release 1.2.0 Features:
- Add
confdir
,conffile
,package_name
, andservice_name
parameters toClass['xinetd']
- Add support for FreeBSD and Suse.
- Add
log_on_failure
,service_name
,groups
,no_access
,access_times
,log_type
,only_from
, andxtype
parameters toXinetd::Service
define
Bugfixes:
- Redesign for
xinetd::params
pattern - Add validation
- Add unit testing
- 2012-06-07 1.1.0
- Add port and bind options to services
- make services deletable
1.0.1 - 20100812
* added documentation
1.0.0 - 20100624
* initial release
Dependencies
- puppetlabs/stdlib (>= 2.2.1)
Xinetd Puppet Module. Copyright (C) 2010 Garrett Honeycutt Garrett Honeycutt can be contacted at: contact@garretthoneycutt.com. This program and entire repository is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA