example42/puppet-limits

Name: puppet-limits

Owner: Example42

Description: Puppet module to manage limits

Created: 2014-01-13 09:02:18.0

Updated: 2016-04-15 00:07:58.0

Pushed: 2016-08-12 20:58:26.0

Homepage: null

Size: 21

Language: Puppet

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Deprecation notice

This module was designed for Puppet versions 2 and 3. It should work also on Puppet 4 but doesn't use any of its features.

The current Puppet 3 compatible codebase is no longer actively maintained by example42.

Still, Pull Requests that fix bugs or introduce backwards compatible features will be accepted.

limits

Table of Contents
  1. Overview
  2. Module Description
  3. Setup
  4. Usage
  5. Operating Systems Support
  6. Development
Overview

This module configures limits.

Module Description

The module is based on stdmod naming standards version 0.9.0.

Refer to http://github.com/stdmod/ for complete documentation on the common parameters.

Setup
Resources managed by limits module
Setup Requirements
Beginning with module limits

To install the package provided by the module just include it:

 include limits

The main class arguments can be provided either via Hiera (from Puppet 3.x) or direct parameters:

 class { 'limits':
   parameter => value,
 }

The module provides also a generic define to manage any limits configuration file:

 limits::conf { 'sample.conf':
   content => '# Test',
 }
Usage
 class { 'limits':
   config_file_template => 'site/limits/limits.conf.erb',
 }
 class { 'limits':
   config_file_template      => 'site/limits/limits.conf.erb',
   config_file_options_hash  => {
     opt  => 'value',
     opt2 => 'value2',
   },
 }
 class { 'limits':
   config_file_source => [ "puppet:///modules/site/limits/limits.conf-${hostname}" ,
                           "puppet:///modules/site/limits/limits.conf" ],
 }
 class { 'limits':
   config_dir_source  => 'puppet:///modules/site/limits/conf/',
 }
 class { 'limits':
   config_dir_source => 'puppet:///modules/site/limits/conf/',
   config_dir_purge  => true, # Default: false.
 }
 class { 'limits':
   config_dir_source    => 'puppet:///modules/site/limits/conf/',
   config_dir_recursion => false, # Default: true.
 }
Operating Systems Support

This is tested on these OS:

Development

Pull requests (PR) and bug reports via GitHub are welcomed.

When submitting PR please follow these quidelines:

When submitting bug report please include or link:


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.