Forge Home

chsubserver

Manage /etc/inetd.conf on AIX using chsubserver and Puppet

8,270 downloads

7,234 latest version

1.9 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 0.1.6 (latest)
  • 0.1.5
  • 0.1.4
  • 0.1.2
  • 0.1.1
  • 0.1.0
released Feb 11th 2017

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'geoffwilliams-chsubserver', '0.1.6'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add geoffwilliams-chsubserver
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install geoffwilliams-chsubserver --version 0.1.6

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

Documentation

geoffwilliams/chsubserver — version 0.1.6 Feb 11th 2017

Build Status

chsubserver

Table of Contents

  1. Description
  2. Usage - Configuration options and additional functionality
  3. Reference - An under-the-hood peek at what the module is doing and how
  4. Limitations - OS compatibility, etc.
  5. Development - Guide for contributing to the module

Description

Manage services in /etc/inetd.conf with chsubserver on AIX, protect chsubserver from running unnecessarily by protecting with grep

Usage

The title specifies the inetd service and the protocol, delimited by ->. The puppet code will translate the supplied title into the correct chsubserver invocation.

Disabling inetd services

chsubserver { "rusersd->udp":
  ensure => "disabled",
}

Disable the rusersd inetd subsystem for UDP.

Enabling inetd services

chsubserver { "rusersd->udp":
  ensure => "enabled",
}

Enable the rusersd inetd subsystem for UDP.

Enabling services with parameters

chsubserver { "ftp->tcp":
  ensure => "enabled",
  params => "ftpd -l -u077",
}

Enable the FTP service and set parameters to restrict the umask.

Reference

Defined types

  • chsubserver - manage inetd services using chsubserver

Limitations

  • AIX only
  • Not supported by Puppet, inc.

Development

PRs accepted :)

Testing

This module supports testing using PDQTest.

Test can be executed with:

bundle install
bundle exec pdqtest all

See .travis.yml for a working CI example