Files
community.general/plugins/modules
Felix Fontein 147ffc6b48 [stable-11] Use Cobbler API version format to check version (#11045) (#11118)
Use Cobbler API version format to check version (#11045)

* Use Cobbler API version format to check version

Cobbler use the formula below to return the version:

float(format(int(elems[0]) + 0.1 * int(elems[1]) + 0.001 * int(elems[2]), '.3f'))

Which means that 3.3.7 is changed to 3.307 which is > 3.4.

* Compare Cobbler version as a float

* Remove LooseVersion import

(cherry picked from commit 6f11d75047)

Co-authored-by: Bruno Travouillon <devel@travouillon.fr>
2025-11-12 06:59:31 +01:00
..
2024-12-27 14:29:15 +01:00
2024-12-27 14:29:15 +01:00
2024-12-31 12:47:19 +13:00
2024-12-31 12:47:19 +13:00
2024-12-26 21:53:20 +01:00
2024-12-29 13:42:22 +01:00
2024-12-26 21:54:03 +01:00
2024-12-26 21:54:03 +01:00
2024-12-26 21:55:56 +01:00
2024-12-26 21:55:56 +01:00
2025-01-06 21:31:59 +01:00
2024-12-26 09:12:05 +01:00
2025-01-07 06:28:00 +01:00
2025-01-07 06:28:00 +01:00
2024-12-26 13:40:55 +01:00
2024-12-26 13:41:54 +01:00
2025-01-12 13:03:26 +01:00
2025-01-12 13:03:26 +01:00
2024-12-25 22:48:04 +01:00
2024-12-25 21:19:49 +01:00
2024-12-25 21:19:49 +01:00
2025-01-08 20:41:03 +01:00
2024-12-25 21:19:49 +01:00
2025-01-03 22:52:09 +01:00
2024-12-26 08:22:58 +01:00
2025-01-03 20:00:45 +01:00
2024-12-26 08:22:58 +01:00
2024-12-25 09:48:22 +01:00
2025-01-03 20:00:45 +01:00
2025-01-04 11:04:51 +01:00
2024-12-24 12:00:30 +01:00
2025-01-04 11:04:51 +01:00
2024-12-23 09:28:05 +01:00
2024-12-29 00:25:12 +01:00
2025-01-04 12:29:34 +13:00