Skip to content

Commit

Permalink
Merge pull request #1040 from zilchms/debian12
Browse files Browse the repository at this point in the history
Add Debian 12 support
  • Loading branch information
bastelfreak committed Feb 23, 2024
2 parents 5681370 + 1389161 commit f3526e8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion manifests/plugin/rabbitmq.pp
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@

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 {
$facts['os']['name'] == 'Ubuntu' {
fail('https://pypi.org/project/collectd-rabbitmq/ does not support Python 3')
}

Expand Down
7 changes: 4 additions & 3 deletions metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,14 +63,15 @@
{
"operatingsystem": "Debian",
"operatingsystemrelease": [
"11"
"11",
"12"
]
},
{
"operatingsystem": "Ubuntu",
"operatingsystemrelease": [
"18.04",
"20.04"
"20.04",
"22.04"
]
},
{
Expand Down

0 comments on commit f3526e8

Please sign in to comment.