Go to file
Nicolas Rodriguez 198d1b08d3 ci(travis): disable tests on CentOS-6 for now (the fix is to come) 2019-08-28 00:53:06 +02:00
bin ci(kitchen): add Kitchen tests 2019-08-28 00:43:50 +02:00
sysctl ci(kitchen): add Kitchen tests 2019-08-28 00:43:50 +02:00
test ci(kitchen): add Kitchen tests 2019-08-28 00:43:50 +02:00
.gitignore ci(kitchen): add Kitchen tests 2019-08-28 00:43:50 +02:00
.travis.yml ci(travis): disable tests on CentOS-6 for now (the fix is to come) 2019-08-28 00:53:06 +02:00
Gemfile ci(kitchen): add Kitchen tests 2019-08-28 00:43:50 +02:00
README.rst Switch to cleaner pillar structure 2016-04-26 16:37:07 +02:00
kitchen.yml ci(kitchen): add Kitchen tests 2019-08-28 00:43:50 +02:00
pillar.example ci(kitchen): add Kitchen tests 2019-08-28 00:43:50 +02:00

README.rst

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

This formula ensures that a sysctl parameter is present on the system
based on configuration in pillars.

Values are written to ``/etc/sysctl.d/99-salt.conf`` or ``/etc/sysctl.conf`` for
systemd or sysvinit systems respectively. This can be overriden by explicitly
passing the ``config`` parameter.

.. note::

    See the full `Salt Formulas installation and usage instructions
    <http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html>`_.

Available states
================

.. contents::
    :local:

``sysctl``
----------

Meta-state that includes both the ``sysctl.package`` and ``sysctl.param`` states.

``sysctl.package``
------------------

Ensures that the ``sysctl`` program is available.

``sysctl.param``
----------------

Sets sysctl values from configuration in pillars data using
`sysctl.present <https://docs.saltstack.com/en/latest/ref/states/all/salt.states.sysctl.html#salt.states.sysctl.present>`_.