Skip to content

Commit

Permalink
remove debian <11 specific code
Browse files Browse the repository at this point in the history
  • Loading branch information
zilchms committed Feb 23, 2024
1 parent ba3f8bc commit aaa18ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manifests/plugin/rabbitmq.pp
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
) {
include collectd

if $facts['os']['family'] == 'Debian' and versioncmp($facts['os']['release']['major'], '11') >= 0 or
if $facts['os']['family'] == 'Debian' or
$facts['os']['family'] == 'RedHat' and versioncmp($facts['os']['release']['major'], '8') >= 0 or
$facts['os']['name'] == 'Ubuntu' and versioncmp($facts['os']['release']['major'], '20.04') >= 0 {
fail('https://pypi.org/project/collectd-rabbitmq/ does not support Python 3')
Expand Down

0 comments on commit aaa18ce

Please sign in to comment.