salt.states.snap

Management of snap packages

salt.states.snap.installed(name, channel=None)

Ensure that the named snap package is installed

name

The snap package

channel

Optional. The channel to install the package from.

salt.states.snap.removed(name)

Ensure that the named snap package is not installed

name

The snap package