Skip to content
This repository has been archived by the owner on Sep 29, 2020. It is now read-only.
/ puppet-limits Public archive
forked from saz/puppet-limits

Manage user and group limits via Puppet

License

Notifications You must be signed in to change notification settings

gwdg/puppet-limits

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

puppet-limits Build Status

Manage user and group limits via Puppet

This module manages the limits of the PAM module pam_limits.

How to use

Purge limits.d directory

The class limits will purge the limit.d directory as default. You can explicit change this with the parameter purge_limits_d_dir or just do not call the class.

	class { 'limits': }

    limits::limits { 'username_nofile':
      ensure     => present,
      user       => 'username',
      limit_type => 'nofile',
      hard       => 16384,
      soft       => 16384,
    }

Do NOT purge limits.d directory explicit

    class { 'limits':
      purge_limits_d_dir => false,
    }

    limits::limits { 'username_nofile':
      ensure     => present,
      user       => 'username',
      limit_type => 'nofile',
      hard       => 16384,
    }

Set both limit types in one line

    limits::limits { 'username_nofile':
      ensure     => present,
      user       => 'username',
      limit_type => 'nofile',
      both       => 16384,
    }

One of hard, soft or both must be set!

About

Manage user and group limits via Puppet

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 73.3%
  • Puppet 21.6%
  • HTML 4.8%
  • Pascal 0.3%