The README.md file in this repo (and replicated on Forge) claims that setting ensure => purge, will purge a Snap, however this produces an error — Puppet interprets purge as a version string.
The correct usage is ensure => purged, which is the supported syntax for a provider with the :purgable flag (as specified in lib/puppet/provider/package/snap.rb, line 13, in this repo).
The
README.md
file in this repo (and replicated on Forge) claims that settingensure => purge,
will purge a Snap, however this produces an error — Puppet interpretspurge
as a version string.The correct usage is
ensure => purged,
which is the supported syntax for a provider with the:purgable
flag (as specified inlib/puppet/provider/package/snap.rb
, line 13, in this repo).