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
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
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.
This module configures limits.
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.
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',
}
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.
}
This is tested on these OS:
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: