xinetd
Version information
Start using this module
Add this module to your Puppetfile:
mod 'puppetlabs-xinetd', '1.5.0'
Learn more about managing modules with a PuppetfileDocumentation
xinetd
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 serviceport
- required - determines the service portcps
- optionalflags
- optionalper_source
- optionalserver_args
- optionaldisable
- 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 tcpservice_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.
##2015-02-10 - Release 1.5.0 ###Summary This release adds some new parameters and also pins to rspec-puppet 1.x until migration.
####Features
- New parameters in
class xinetd
package_ensure
purge_confdir
- New parameter in
xinetd::service
nice
##2015-01-20 - Release 1.4.0 ###Summary
This release adds support for Gentoo and improves FreeBSD support
####Features
- Gentoo support added
- Better defaults for group for FreeBSD
- Add deprecation warning for
$xtype
parameter
##2014-07-15 - Release 1.3.1 ###Summary
This release merely updates metadata.json so the module can be uninstalled and upgraded via the puppet module command.
##2014-06-18 - Release 1.3.0 ####Features
- Add 'log_on_success', 'log_on_success_operator' and 'log_on_failure_operator parameters to xinetd::service
- Add 'service_restart', 'service_status', 'service_hasrestart', and 'service_hasstatus' parameters to class xinetd.
- Add support for Amazon Linux.
- License changes to ASLv2
- Testing and documentation updates.
####Bugfixes
- Remove duplicated $log_on_failure parameter
##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 - Release 1.1.0
- Add port and bind options to services
- make services deletable
##2010-08-12 - Release 1.0.1 -added documentation
##2010-06-24 - Release 1.0.0
- initial release
Dependencies
- puppetlabs/stdlib (>=2.2.1)
Xinetd Puppet Module. Copyright (C) 2010-2014 Garrett Honeycutt Garrett Honeycutt can be contacted at: contact@garretthoneycutt.com. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.