Closed lmlg closed 6 months ago
@lmlg Thanks for the patch, I have in my TODO list to use snap library [1] to manage snap instead of subprocess commands but never get to that. Can you change the code as part of this PR to use snap library to install/refresh/hold snap? Example usage of snap library in openstack-hypervisor charm can be found here [2]
[1] https://charmhub.io/operator-libs-linux/libraries/snap [2[ https://opendev.org/openstack/sunbeam-charms/src/branch/main/charms/openstack-hypervisor/src/charm.py#L35
Closed, as I need to make this branch from a fork.
This PR stops the microceph snap from refreshing automatically and uses a named track as a default to make installations more predictable. In addition, it changes the default channel to a named one.