Mini Shell

Direktori : /proc/self/root/opt/saltstack/salt/lib/python3.10/site-packages/salt/states/
Upload File :
Current File : //proc/self/root/opt/saltstack/salt/lib/python3.10/site-packages/salt/states/stateconf.py

"""
Stateconf System
================

The stateconf system is intended for use only with the stateconf renderer. This
State module presents the set function. This function does not execute any
functionality, but is used to interact with the stateconf renderer.
"""


def _no_op(name, **kwargs):
    """
    No-op state to support state config via the stateconf renderer.
    """
    return dict(name=name, result=True, changes={}, comment="")


set = context = _no_op  # pylint: disable=C0103

Zerion Mini Shell 1.0