-
-
Notifications
You must be signed in to change notification settings - Fork 130
add support for Debian 13 #321
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
base: master
Are you sure you want to change the base?
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -72,8 +72,9 @@ | |
| { | ||
| "operatingsystem": "Debian", | ||
| "operatingsystemrelease": [ | ||
| "11", | ||
| "12", | ||
| "11" | ||
| "13" | ||
| ] | ||
| }, | ||
| { | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -541,7 +541,7 @@ | |
| # TRAPDOPTS begins being set by the package in Ubuntu 22.04; we should not log a failure | ||
| # in this case | ||
| case facts[:os]['release']['major'] | ||
| when '11', '12' | ||
| when '11', '12', '13' | ||
| it { is_expected.to contain_file('snmpd.sysconfig').without_content(%r{TRAPDRUN|TRAPDOPTS}) } | ||
| end | ||
| end | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This test doesn't really make a lot of sense to me as you don't test something specific for the parameter you set. In the describe block under let parameters you can add the following: There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @bastelfreak What are your thoughts on this? |
||
|
|
||
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.
I think the whole case statement can go away now?
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 it can. After simplification, this stays:
I've no idea what it means, I don't speak ruby :/ So I'm unsure if this could disappear too.
Uh oh!
There was an error while loading. Please reload this page.
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.
This means you try a test with with parameter manage_snmptrapd: false on Debian, this can stay
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.
It seems like removing the case breaks things. I don't understand why :(