State to work with sysrc
salt.states.sysrc.
absent
(name, **kwargs)¶Ensure a sysrc variable is absent.
The variable name to set
(optional) The rc file to add the variable to.
(option) the name or JID of the jail to set the value in.
salt.states.sysrc.
managed
(name, value, **kwargs)¶Ensure a sysrc variable is set to a specific value.
The variable name to set
Value to set the variable to
(optional) The rc file to add the variable to.
(option) the name or JID of the jail to set the value in.
Example:
syslogd:
sysrc.managed:
- name: syslogd_flags
- value: -ss
Generated on June 18, 2020 at 04:09:58 UTC.
You are viewing docs for the latest stable release, 3001. Switch to docs for the previous stable release, 3000.3, or to a recent doc build from the master branch.
© 2020 SaltStack. All Rights Reserved, SaltStack Inc. | Privacy Policy