From 052f346195688a1b043755a2121a47b21f80ca60 Mon Sep 17 00:00:00 2001 From: Christos Papageorgiou Date: Wed, 11 Sep 2024 17:28:57 +0300 Subject: [PATCH] fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! Make provider upgradable; Add logic to correctly switch between channels --- lib/puppet/provider/package/snap.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/puppet/provider/package/snap.rb b/lib/puppet/provider/package/snap.rb index 452d90c..c25e9c5 100644 --- a/lib/puppet/provider/package/snap.rb +++ b/lib/puppet/provider/package/snap.rb @@ -19,7 +19,7 @@ def self.instances Puppet.info('called instances') @installed_snaps ||= installed_snaps - Puppet.info("installed_snaps = #{@installed_snaps}) + Puppet.info("installed_snaps = #{@installed_snaps}") @installed_snaps.map do |snap| new(name: snap['name'], ensure: snap['tracking-channel'], provider: 'snap') end