Provider: snap

Defined in:
lib/puppet/provider/package/snap.rb
Resource type:
package

Overview

Package management via Snap.

This provider supports the ‘install_options` attribute, which allows snap’s flags to be passed to Snap. Namely ‘classic`, `dangerous`, `devmode`, `jailmode`.

The ‘channel’ install option is deprecated and will be removed in a future release.

Features

  • installable
  • versionable
  • install_options
  • uninstallable
  • purgeable
  • upgradeable

Confines

  • feature — %i[net_http_unix_lib snapd_socket]

Commands

  • snap_cmd — /usr/bin/snap