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

Add support for EL8 #247

Merged
merged 1 commit into from
Feb 12, 2020
Merged

Conversation

trevor-vaughan
Copy link
Collaborator

Pull Request (PR) description

  • Added OEL to the metadata.json
  • Added a very basic acceptance test to test the main components of the
    module. This should be expanded into multi-node tests later.
  • Added a REFERENCE.md
  • Updated the README.md to point to the REFERENCE.md and added
    instructions on how to run the acceptance test.

This Pull Request (PR) fixes the following issues

Fixes #246

Copy link
Member

@alexjfisher alexjfisher left a comment

Choose a reason for hiding this comment

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

Nice improvement to the acceptance test and README update on how to run them.
Not too sure about linking to the REFERENCE.MD (although I'm neutral/OK with having it generated) until it's at least a little bit better.
.sync.yml does need tweaking though.

Gemfile Outdated Show resolved Hide resolved
@ghoneycutt
Copy link
Member

Tests are failing due to ruby style. Suggest fixing those or adding the rubocop rules to be ignored and then this can be merged.

Gemfile Outdated Show resolved Hide resolved
.sync.yml Show resolved Hide resolved
.sync.yml Show resolved Hide resolved
@@ -531,8 +531,28 @@ firewalld::direct_passthroughs:
* `args`: Name of the passthroughhrough to add (e.g: -A OUTPUT -j OUTPUT_filter)


## Testing
Copy link
Member

Choose a reason for hiding this comment

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

We've got our contributing guidelines which explain how to execute tests: https://github.com/voxpupuli/puppet-firewalld/blob/master/.github/CONTRIBUTING.md

That file is managed by modulesync: https://github.com/voxpupuli/modulesync_config/blob/master/moduleroot/.github/CONTRIBUTING.md.erb

Could you link to that file / update it instead of duplicating the information?

Copy link
Member

Choose a reason for hiding this comment

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

@bastelfreak The point here is that these tests have to be run in vagrant and not docker like we might otherwise.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Can't test underlying firewalls properly in Docker-land

@@ -1,6 +1,19 @@
HOSTS:
Copy link
Member

Choose a reason for hiding this comment

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

We usually purge this file within modulesync and create nodesets on demand with https://github.com/puppetlabs/beaker-hostgenerator

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@bastelfreak The tests are going to quickly get more complicated than this will handle so I'd rather not right now.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

To clarify, these will be multi-node in the near future. Via work on simp-iptables, we have found that this is the only way that you can properly uncover bugs in the underlying system.

@trevor-vaughan trevor-vaughan force-pushed the add-el8-support branch 4 times, most recently from 2a36225 to b12c808 Compare February 12, 2020 02:46
@vox-pupuli-tasks
Copy link

Dear @trevor-vaughan, thanks for the PR!

This is pccibot, your friendly Vox Pupuli GitHub Bot. I noticed that your pull request contains merge conflict. Can you please rebase?

You can find my sourcecode at voxpupuli/vox-pupuli-tasks

* Added OEL to the metadata.json
* Added a very basic acceptance test to test the main components of the
  module. This should be expanded into multi-node tests later.
* Added a REFERENCE.md
* Updated the README.md to point to the REFERENCE.md and added
  instructions on how to run the acceptance test.

Closes voxpupuli#246
@alexjfisher alexjfisher merged commit 2bd5c88 into voxpupuli:master Feb 12, 2020
@alexjfisher alexjfisher added the enhancement New feature or request label Feb 12, 2020
@trevor-vaughan trevor-vaughan deleted the add-el8-support branch February 12, 2020 21:49
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.

Firewalld needs to support EL8
4 participants