root-expert / puppet-snap

Apache License 2.0
3 stars 6 forks source link

Error in documentation #15

Closed rebmcr closed 2 months ago

rebmcr commented 1 year ago

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).