Forge Home

59,894 downloads

49,264 latest version

4.6 quality score

Version information

  • 0.0.2 (latest)
  • 0.0.1
released Apr 15th 2015
This version is compatible with:
  • , ,

Start using this module

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

Add this module to your Puppetfile:

mod 'arioch-ulimit', '0.0.2'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add arioch-ulimit
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install arioch-ulimit --version 0.0.2

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: ulimit

Documentation

arioch/ulimit — version 0.0.2 Apr 15th 2015

Puppet Ulimit

Requirements

Tested on...

  • Debian 5 (Lenny)
  • Debian 6 (Squeeze)
  • CentOS 5
  • CentOS 6
  • CentOS 7

Example usage

node /box/ {
  include ulimit

  ulimit::rule {
    'example1':
      ulimit_domain => '*',
      ulimit_type   => 'soft',
      ulimit_item   => 'nofile',
      ulimit_value  => '1024';

    'example2':
      ensure        => absent,
      ulimit_domain => '*',
      ulimit_type   => 'hard',
      ulimit_item   => 'nofile',
      ulimit_value  => '50000';
  }
}

Caveats

By default the module will purge any settings that are not managed by Puppet. While not advised you can disable this feature:

node /box/ {
  class { 'ulimit':
    purge => false,
  }
}