Skip to content
This repository was archived by the owner on Jun 5, 2020. It is now read-only.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Limits module for Puppet

Description

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

Usage

limits::fragment

  limits::fragment {
    "*/soft/nofile":
      value => "1024";
    "*/hard/nofile":
      value => "8192";
  }

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:

$limits = hiera('limits::fragment', {})
create_resources('limits::fragment', $limits)

About

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

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

13 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages