Version information
released Apr 15th 2015
This version is compatible with:
- , ,
Start using this module
Add this module to your Puppetfile:
mod 'arioch-ulimit', '0.0.2'
Learn more about managing modules with a PuppetfileDocumentation
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,
}
}
Copyright (C) 2012 Tom De Vylder Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.