Defined resource type for managing /etc/security/limits
released Jun 2nd 2015
This version is compatible with:
- Puppet Enterprise 3.x
- Puppet 3.x
- , , , , ,
This module has been deprecated by its author since Nov 10th 2020.
The author has suggested saz-limits as its replacement.
Start using this module
puppetlabs/limits — version 0.1.0 Jun 2nd 2015
Limits module for Puppet
Module for managing pam limits in /etc/security/limits.conf
You can also use hiera with this module, to match the example above, you can use the following configuration
In your hiera/host yaml configuration:
limits::fragment: "/soft/nofile": value: '1024' "/hard/nofile": value: '8192'
Your site.pp or other configuration should include the following:
Copyright (C) 2012 Puppet Labs Inc Puppet Labs can be contacted at: firstname.lastname@example.org 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.