Forge Home

nsswitch

Manage nsswitch

111,019 downloads

21,736 latest version

5.0 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

  • 1.8.0 (latest)
  • 1.7.0
  • 1.6.1
  • 1.6.0
  • 1.5.0
  • 1.4.0
  • 1.3.0
  • 1.2.1
  • 1.2.0
  • 1.1.0
  • 1.0.0
  • 0.0.1
released Jan 3rd 2019
This version is compatible with:
  • Puppet Enterprise 2019.8.x, 2019.7.x, 2019.5.x, 2019.4.x, 2019.3.x, 2019.2.x, 2019.1.x, 2019.0.x, 2018.1.x, 2017.3.x, 2017.2.x, 2017.1.x, 2016.5.x, 2016.4.x
  • Puppet >= 3.0.0 < 7.0.0
  • , , , , , , SLES, SLED

Start using this module

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

Add this module to your Puppetfile:

mod 'ghoneycutt-nsswitch', '1.8.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add ghoneycutt-nsswitch
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install ghoneycutt-nsswitch --version 1.8.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
Tags: ldap, nsswitch, nis

Documentation

ghoneycutt/nsswitch — version 1.8.0 Jan 3rd 2019

puppet-module-nsswitch

Puppet module to manage nsswitch that optionally allows for LDAP and VAS integration.

===

Compatibility

This module has been tested to work on the following systems with Puppet v3 (with and without the future parser), v4, v5 and v6 with the ruby versions associated with those releases. See .travis.yml for an exact matrix.

  • Debian 6
  • EL 5
  • EL 6
  • EL 7
  • Solaris 10
  • Suse

===

Parameters

config_file

Path to configuration file.

  • Default: /etc/nsswitch.conf

ensure_ldap

Should LDAP be used? Valid values are 'absent' and 'present'

  • Default: 'absent'

ensure_vas

Should VAS (Quest Authentication Services) be used? Valid values are 'absent' and 'present'.

  • Default: 'absent'

vas_nss_module

Name of NSS module to use for VAS.

  • Default: 'vas4'

vas_nss_module_passwd

Source for vas to be included in the passwd database.

  • Default:'vas4'

vas_nss_module_group

Source for vas to be included in the group database.

  • Default:'vas4'

vas_nss_module_automount

Source for vas to be included in the automount database.

  • Default:'nis'

vas_nss_module_netgroup

Source for vas to be included in the netgroup database.

  • Default:'nis'

vas_nss_module_aliases

Source for vas to be included in the aliases database.

  • Default:''

vas_nss_module_services

Source for vas to be included in the services database.

  • Default: ''

protocols

Sources to be included in the protocols database.

  • Default: 'USE_DEFAULTS'

ethers

Sources to be included in the ethers database.

  • Default: 'USE_DEFAULTS'

rpc

Sources to be included in the rpc database.

  • Default: 'USE_DEFAULTS'

nsswitch_ipnodes

String of list of sources for ipnodes database. 'USE_DEFAULTS' allows the module to choose defaults based on the platform.

  • Default: 'USE_DEFAULTS'

nsswitch_printers

String of list of sources for printers database. 'USE_DEFAULTS' allows the module to choose defaults based on the platform.

  • Default: 'USE_DEFAULTS'

nsswitch_auth_attr

String of list of sources for auth_attr database. 'USE_DEFAULTS' allows the module to choose defaults based on the platform.

  • Default: 'USE_DEFAULTS'

nsswitch_prof_attr

String of list of sources for prof_attr database. 'USE_DEFAULTS' allows the module to choose defaults based on the platform.

  • Default: 'USE_DEFAULTS'

nsswitch_project

String of list of sources for project database. 'USE_DEFAULTS' allows the module to choose defaults based on the platform.

  • Default: 'USE_DEFAULTS'

sudoers

String of list of sources to use for sudoers. 'USE_DEFAULTS' allows the module to choose defaults based on the platform.

  • Default: 'USE_DEFAULTS'