Forge Home

pam

PAM Module for Puppet

11,804 downloads

11,042 latest version

2.0 quality score

Version information

  • 0.0.3 (latest)
  • 0.0.2
  • 0.0.1 (deleted)
released Sep 28th 2013

Start using this module

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

Add this module to your Puppetfile:

mod 'pdxcat-pam', '0.0.3'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add pdxcat-pam
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install pdxcat-pam --version 0.0.3

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: access, limits, pam

Documentation

pdxcat/pam — version 0.0.3 Sep 28th 2013

PAM module for Puppet

Description

Puppet module for managing /etc/security/access.conf and /etc/security/limits.conf

Example usage for managing access.conf

pam::access {
  "root":
    permission  => "+",
    entity      => "root",
    origin      => "ALL",
    priority    => "10";
  "ALL":
    permission  => "-",
    entity      => "ALL",
    origin      => "ALL",
    priority    => "20";
}

Example usage for managing limits.conf

pam::limits {
  "nofile_hard":
     ensure   => present,
     domain   => "*",
     type     => "hard",
     item     => "nofile",
     value    => "8192",
     priority => 10;
  "nofile_soft":
     ensure   => present,
     domain   => "*",
     type     => "soft",
     item     => "nofile",
     value    => "1024",
     priority => 20;
}