Forge Home

limits

Defined resource type for managing /etc/security/limits

718,799 downloads

718,799 latest version

3.1 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.1.0 (latest)
released Jun 2nd 2015
This version is compatible with:
  • Puppet Enterprise 3.x
  • Puppet 3.x
  • , , , , ,
This module has been deprecated by its author since Nov 10th 2020.

The author has suggested saz-limits as its replacement.

Start using this module

Documentation

puppetlabs/limits — version 0.1.0 Jun 2nd 2015

Limits module for Puppet

Description

Module for managing pam limits in /etc/security/limits.conf

Usage

limits::fragment

You can also use hiera with this module, to match the example above, you can use the following configuration

In your hiera/host yaml configuration:

limits::fragment: "/soft/nofile": value: '1024' "/hard/nofile": value: '8192'

Your site.pp or other configuration should include the following: