Forge Home

nis

Puppet module for NIS management

11,802 downloads

8,673 latest version

2.3 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.3.0 (latest)
  • 0.2.0
  • 0.1.3
  • 0.1.2
  • 0.1.1
  • 0.1.0
released Sep 4th 2015

Start using this module

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

Add this module to your Puppetfile:

mod 'desalvo-nis', '0.3.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add desalvo-nis
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install desalvo-nis --version 0.3.0

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

desalvo/nis — version 0.3.0 Sep 4th 2015

puppet-nis

Puppet module for managing NIS clients and servers.

Table of Contents

  1. Overview - What is the NIS module?
  2. Usage

Overview

This module is a simple collection of configurations to set up a nis master/slave or client.

Usage

Parameters:

  • ypdomain: the NIS domain name
  • ypserv: the NIS server, can be a single value or an array
  • ypmaster: the NIS master, for server configurations
  • client: enable the client configuration, default is true
  • server: enable the server configuration, default is false
  • master: enable the a master server if true or a slave one if false
  • groups: enable group login via NIS. Default is none.
  • securenets: securenets file to be used
  • hostallow: list of hosts to allow for portmap/rpcbind

Defining a nis client

class {'nis':
    ypdomain => 'mydomain',
    ypserv   => ['nis1.example.com','nis2.example.com'],
    groups   => ['users'],
}

Defining a nis slave

class {'nis':
    ypdomain   => 'mydomain',
    ypserv     => 'nis.example.com',
    ypmaster   => 'nismaster.example.com',
    master     => true,
    securenets => 'puppet:///modules/mymodule/securenets',
    hostallow  => ['10.0.0.1','192.168.0.*'],
    groups     => ['users'],
}

Contributors

Release Notes

0.3.0

  • Add puppet 4 support
  • Fix ypserv directive in templates

0.2.0

  • Add multiple nis servers support

0.1.2

  • Fix the nis auth enable procedure

0.1.1

  • Using custom augeas lenses to edit /var/yp/nicknames

0.1.0

  • Initial version