/chsubserver

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

Primary LanguagePuppetApache License 2.0Apache-2.0

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