juju / charm-helpers

Apache License 2.0
18 stars 127 forks source link

Fix platform check for Debian 12 #880

Closed wolsen closed 5 months ago

wolsen commented 5 months ago

The osplatform.get_platform() check fails on Debian Bookworm because the output determined by the /etc/os-release file has "Debian GNU/Linux" and the get_platform() check only looks for lowercase debian.

This is causing tests to fail in the OpenStack Charms CI, as seen here - https://review.opendev.org/c/openstack/charm-keystone-openidc/+/908638