root-expert / puppet-snap

Apache License 2.0
3 stars 6 forks source link

Fix calling class with service_ensure stopped #11

Closed bparak closed 1 year ago

bparak commented 1 year ago

Pull Request (PR) description

Using the snap provider inside the snap class prevents us from using the class to stop snapd itself. Since this seems to be sort of supported based on params, this simple conditional fixes the problem.

This Pull Request (PR) fixes the following issues

n/a (none open on this repo)

bparak commented 1 year ago

Hi @root-expert , Suggestion accepted and branch rebased.