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

Support management of snmptrapd #234

Merged
merged 1 commit into from
Nov 17, 2020
Merged

Conversation

elmobp
Copy link
Contributor

@elmobp elmobp commented Nov 17, 2020

Pull Request (PR) description

Add support for managing snmptrapd package/config

At the moment there is currently no option to stop shipping the snmpdtrapd package.

@ghoneycutt
Copy link
Member

@elmobp Thanks for the contribution! Could you please add a test that shows what happens when the new parameter is set to false. It should show that the conditional resources do not exist as well as the related lines in the template.

@elmobp
Copy link
Contributor Author

elmobp commented Nov 17, 2020

hey @ghoneycutt done! I had to do in multiple places given how the behaviour works. I also swapped the unless to a if statement to make the multiple condition easier to understand. Let me know if this is ok?

Copy link
Member

@ghoneycutt ghoneycutt left a comment

Choose a reason for hiding this comment

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

This is ready to merge, provided tests pass.

@ghoneycutt
Copy link
Member

@elmobp very well done

@elmobp
Copy link
Contributor Author

elmobp commented Nov 17, 2020

Test + squash

@bastelfreak bastelfreak added enhancement New feature or request and removed needs-tests labels Nov 17, 2020
@bastelfreak bastelfreak merged commit 8b6b80c into voxpupuli:master Nov 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants