-
-
Notifications
You must be signed in to change notification settings - Fork 227
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove unsupported OS #957
Conversation
Can you please rebase against our master branch to get rid of the merge commit? |
5efacc7
to
cd6af3e
Compare
case $facts['os']['family'] { | ||
'RedHat': { | ||
$majorrelease = $facts['os']['release']['major'] | ||
if (versioncmp(fact('os.release.major'), '7') >= 0 and $zabbix_version == '7.0') { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you can use $majorrelease
here
if (versioncmp(fact('os.release.major'), '7') >= 0 and $zabbix_version == '7.0') { | |
if (versioncmp($majorrelease, '7') >= 0 and $zabbix_version == '7.0') { |
"7", | ||
"8" | ||
] | ||
}, | ||
{ | ||
"operatingsystem": "CentOS", | ||
"operatingsystemrelease": [ | ||
"7", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CentOS 7 is also EoL: https://voxpupuli.org/blog/2024/05/08/CentOS-7-CentOS-Stream-8-deprecation/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes I'v planned to remove EL7 code and OS in a separe PR, need to remove a lot of unused logic from manifest and spec
90b9e9c
to
dd89546
Compare
Set manage_startup_script to false on OS that provide correct systemd unit in package
dd89546
to
f00c8c9
Compare
Pull Request (PR) description
Remove unsupported os
This Pull Request (PR) fixes the following issues
#954