inion.
State Caching
When a highstate is called, the minion automatically caches a copy of the last
high data. If you then run a highstate with cache=True it will use that cached
highdata and won't hit the fileserver except for
salt:// links in the
states themselves.
-
salt.modules.state.apply_(mods=None, **kwargs)
New in version 2015.5.0.
This function will call state.highstate or state.sls based on the arguments passed to this function.
It exists as a more intuitive way of applying states.
APPLYING ALL STATES CONFIGURED IN TOP.SLS (A.K.A.
HIGHSTATE)
To apply all configured states, simply run state.apply:
No hay comentarios:
Publicar un comentario