chsubserver

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

Geoff Williams

geoffwilliams

6,690 downloads

5,979 latest version

1.9 quality score

Version information

  • 0.1.6 (latest)
  • 0.1.5
  • 0.1.4
  • 0.1.2
  • 0.1.1
  • 0.1.0
released Jul 3rd 2019

Start using this module

Documentation

geoffwilliams/chsubserver — version 0.1.6 Jul 3rd 2019

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