Actions
Feature #24027
openProvide some macros for OS name/family and version comparsion
Description
No more @host.operatingsystem.name == 'Fedora' && os_major <= 16 etc.
Updated by Marek Hulán over 6 years ago
- Subject changed from Provide some template helpers for OS name/family and version comparsion to Provide some macros for OS name/family and version comparsion
Updated by Marek Hulán over 6 years ago
See https://github.com/ares/foreman/commit/5f413e658fe4591a6935fe760ad13b01da160fd3 - I could rebase and reopen the PR if you find this useful.
This was supposed to add macros like `host_os_minor` or `host_os_rhel_compatible?`, we could easily add thinkgs like `fedora?` or `debian?
Updated by Lukas Zapletal over 6 years ago
- Status changed from New to Closed
Hmmm this was demo worthy, or I simply forgot. Had no idea.
Updated by Lukas Zapletal over 6 years ago
- Related to Feature #18205: Provide useful macros for templates and save_to_file helper added
Updated by Marek Hulán over 6 years ago
- Status changed from Closed to New
- Triaged set to No
It was never merged so it couldn't be demoed. That's why I say I could rebase and reopen the PR if you find this useful. Just let me know if this is what you had in mind in this issue.
Updated by Lukas Zapletal over 6 years ago
Oooh ticketing is hard. Please rebase I think we need to get rid of those constructs in templates.
Updated by Marek Hulán about 6 years ago
- Related to Bug #25130: Expose host.operatingsystem_name in SafeMode added
Actions