xinetd
Install, enable and configure xinetd and xinetd-based services.
Version information
released Apr 28th 2015
This version is compatible with:
- Puppet >=2.7.20 <4.1.0
- ,
Start using this module
Add this module to your Puppetfile:
mod 'thias-xinetd', '1.0.0'
Learn more about managing modules with a PuppetfileDocumentation
thias/xinetd — version 1.0.0 Apr 28th 2015
puppet-xinetd
Overview
Install, enable and manage xinetd. Manage existing services and configure new ones as needed.
xinetd
: Main class to install and enable the xinetd service.xinetd::service
: Definition to manage existing xinetd-based services.xinetd::serviceconf
: Definition to create configuration for new services.
The xinetd::service
definition is a very thin wrapper around puppet's
service
type, and is here only for the sake of completeness.
Examples
Enable the rsyncd
service with its original default configuration (will
install and enable xinetd automatically) :
xinetd::service { 'rsync': }
Disable the above service :
xinetd::service { 'rsync': enable => false }
Create and enable a new service which will return vmstat output (will install and enable xinetd automatically) :
xinetd::serviceconf { 'vmstat':
service_type => 'UNLISTED',
port => '24101',
user => 'nobody',
server => '/usr/bin/vmstat',
}
Remove the above service :
xinetd::serviceconf { 'vmstat':
ensure => 'absent',
}
2015-04-28 - 1.0.0
- Fix OS version comparison for Puppet 4.
- Update README, use new metadata.json.
2013-07-18 - 0.2.2
- Add Gentoo support.
2013-04-19 - 0.2.1
- Use @varname syntax in templates to silence puppet 3.2 warnings.
2013-03-08 - 0.2.0
- Create ChangeLog.
- Update README and change to markdown.
- Change to 2 space indent.
- Use cleaner undef defaults instead of obsolete false hacks.
Copyright (C) 2011-2015 Matthias Saou 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.