0
0
mirror of https://github.com/saltstack-formulas/sysctl-formula.git synced 2025-04-16 18:52:49 +02:00
Nitin Madhok 27a3ce6110 Merge pull request #4 from zajk/master
Fixed a typo and added RedHat family to map.jinja
2015-05-12 10:22:50 -04:00
2015-05-12 15:48:22 +02:00
2015-04-13 16:26:52 +02:00

sysctl-formula
==============

This formula ensures that a sysctl parameter is present on the system
from a pillar file.


Here's a small pillar data sample::

    sysctl:
      lookup:
        pkg: procps-ng
        config:
          location: /etc/sysctl.d
        params:
          vm.swappines: 
            value: 20
            config: 10-swap.conf
          fs.file-max: 
            value: 10000


The state sysctl will ensure these are present on the system
based on the sysctl module of salt. 

if no config value is given the key value will be written based host system.
on systemd systems this will be /etc/sysctl.d/99-salt.conf
on sysv init systems it will be /etc/sysctl.conf

Description
No description provided
Readme Apache-2.0 300 KiB
Languages
Ruby 35.7%
JavaScript 29.6%
SaltStack 17.3%
Shell 9%
Jinja 8.4%