Skip to content
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 more Zabbix 5.4 special cases now that it's unsupported #890

Merged
merged 1 commit into from
Oct 4, 2023

Conversation

evgeni
Copy link
Member

@evgeni evgeni commented Oct 4, 2023

Pull Request (PR) description

This Pull Request (PR) fixes the following issues

@@ -29,8 +29,6 @@
# path to sql files on Debian and RedHat
path = if Puppet::Util::Package.versioncmp(zabbix_version, '6.0') >= 0
'/usr/share/zabbix-sql-scripts/mysql/'
elsif Puppet::Util::Package.versioncmp(zabbix_version, '5.4') >= 0
'/usr/share/doc/zabbix-sql-scripts/mysql/'
else
'/usr/share/doc/zabbix-*-mysql*'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I assume those defaults are valid for the LTS zabbix?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so do I 😁

(there is a >= 6.0 specialcase above, which should catch new things, and 5.0 and 4.0 already ended up in the else case before this change)

@evgeni evgeni merged commit 23a8236 into master Oct 4, 2023
7 of 9 checks passed
@evgeni evgeni deleted the more-5.4-cleanup branch October 4, 2023 08:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants