Support for Varnish
New in version 2014.7.0.
Note
These functions are designed to work with all implementations of Varnish from 3.x onwards
salt.modules.varnish.
ban
(ban_expression)¶Add ban to the varnish cache
CLI Example:
salt '*' varnish.ban ban_expression
salt.modules.varnish.
ban_list
()¶List varnish cache current bans
CLI Example:
salt '*' varnish.ban_list
salt.modules.varnish.
param_set
(param, value)¶Set a param in varnish cache
CLI Example:
salt '*' varnish.param_set param value
salt.modules.varnish.
param_show
(param=None)¶Show params of varnish cache
CLI Example:
salt '*' varnish.param_show param
salt.modules.varnish.
purge
()¶Purge the varnish cache
CLI Example:
salt '*' varnish.purge
salt.modules.varnish.
version
()¶Return server version from varnishd -V
CLI Example:
salt '*' varnish.version
Generated on August 05, 2021 at 04:04:00 UTC.
You are viewing docs for the previous stable release, 3000.9. Switch to docs for the latest stable release, 3003.1, or to a recent doc build from the master branch.
© 2021 SaltStack. All Rights Reserved, SaltStack Inc. | Privacy Policy