xinetd

Install, enable and configure xinetd and xinetd-based services.

Matthias Saou

thias

9,994 downloads

8,283 latest version

3.1 quality score

Version information

  • 1.0.0 (latest)
  • 0.2.2
  • 0.2.1
  • 0.2.0
released Apr 28th 2015
This version is compatible with:
  • Puppet >=2.7.20 <4.1.0
  • RedHat
    ,
    CentOS

Start using this module

Tags: xinetd

Documentation

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',
}