Open cwray opened 4 years ago
@cwray Thanks for the report. The snap state was contributed to the develop branch and there is a pending PR to bring it into the master branch, https://github.com/saltstack/salt/pull/56953. Once it has tests and ensuring those tests are passing, the PR will be merged and the feature will be available in an upcoming release.
Sweet, thank you guys for your hard work.
De-scoping this from the Magnesium release since there hasn't been time to write a test case in the Port to Master PR, yet
Has the snap integration lost traction? This would still be a wonderful feature to have in salt.
Anything we can do to help this land in Sulphur v3006.0
?
As a poor men solution, I use
jammy_install:
# snaps
cmd.run:
- names:
## audacity
- snap install audacity
- snap connect audacity:alsa
For anyone that followed this, I just released a Salt extension for Snapd: https://github.com/salt-extensions/saltext-snap
It should be much more comprehensive than the previous unported modules since it interfaces with the REST API in addition to the CLI, depending on the query/operation, and offers several states in addition to installed
/removed
(such as connected
and service_running
with mod_watch
support).
I don't expect this issue to be fixed in Salt core (see great module migration).
Description State snap.installed is missing from 3001. Ubuntu and many other communities are using snaps more and more.
This is extremely needed as time goes on.
Case and point. Some maintainers are moving exclusively to snaps and away from standard repositories and PPA's because they are supported on most platforms. https://github.com/certbot/certbot/issues/7950
Certbot.sls
Run state
Versions Report