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

Conglomerate of PRs with tests #62

Merged
merged 2 commits into from
Dec 20, 2015

Conversation

jrwesolo
Copy link
Contributor

I was looking at this module and saw a few open pull requests that seem to have been abandoned by their submitters. I went ahead and implemented some of the changes, complete with tests, for the following PRs: #29, #43, #49.

Highlights

  • Simplify the snmpd.conf template with some ruby magic
  • Allow the community and network variables to be strings or arrays
  • Change default groups to be empty, prevent DDoS
  • Allow service_config_perms to be a class parameter
  • Validate additional arrays in init class
  • Add test coverage for new code as well as some old code

@jrwesolo
Copy link
Contributor Author

@razorsedge How's this look? I made the modifications you requests with #61.

@razorsedge razorsedge added the enhancement New feature or request label Dec 3, 2015
@razorsedge razorsedge self-assigned this Dec 3, 2015
@jrwesolo
Copy link
Contributor Author

jrwesolo commented Dec 7, 2015

@razorsedge Does this need anything else before you can merge it in?

@razorsedge
Copy link
Contributor

@jrwesolo Those "Merge branch" commits should not be in there. Did you fork from develop or master?

@razorsedge
Copy link
Contributor

Also, I am not a fan of PR#43, as it changes long-standing defaults without documenting them. I fail to see how it helps prevent DDoS.

@jrwesolo
Copy link
Contributor Author

jrwesolo commented Dec 8, 2015

Yes, I branched from master. Let me clean that up and do some quick research about PR#43. If I can find a good reason for it, I'll get that info to you. Otherwise, I'll remove that. Standby.

* service_config_perms can be passed as a parameter now
* Network and community parameters can be strings or array
* Simplified snmpd.conf.erb template logic
* Validate additional arrays
* Spec tests to cover changes
@jrwesolo jrwesolo force-pushed the pr-conglomerate-fix branch from be5e618 to 2030aa8 Compare December 10, 2015 18:37
@jrwesolo
Copy link
Contributor Author

@razorsedge Should be good now. I cleaned up the commits and removed the stuff from #43.

@razorsedge razorsedge merged commit 2030aa8 into voxpupuli:develop Dec 20, 2015
@razorsedge
Copy link
Contributor

Closes #29 and #49.

@razorsedge
Copy link
Contributor

Version 3.6.0 released to the Forge.

@jrwesolo jrwesolo deleted the pr-conglomerate-fix branch February 3, 2016 20:50
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.

2 participants