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 a backend parameter for jails #37

Merged
merged 2 commits into from
Mar 31, 2018
Merged

support a backend parameter for jails #37

merged 2 commits into from
Mar 31, 2018

Conversation

qs5779
Copy link

@qs5779 qs5779 commented Jul 20, 2017

On RedHat systems there is a nagging systemd backend issue that is causing many headaches. The only brute force way at the moment to avoid getting an automatic systemd backend is to set the default_backend, and backend in each jail, to a value other than systemd or auto.

This pull request adds a parameter, to jail.pp to support an optional backend parameter.

@@ -37,6 +38,7 @@
if $findtime { validate_integer($findtime) }
if $bantime { validate_integer($bantime) }
if $port { validate_string($port) }
if $backend { validate_string($action) }
Copy link
Member

Choose a reason for hiding this comment

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

Please add a datatype instead of a validate_* call

@bastelfreak
Copy link
Member

Hi @qs5779, thanks for the PR. Can you please take a look at the inline comment I made? Also please take a look at the used email address. It isn't associated with your github account.

@bastelfreak bastelfreak added needs-work not ready to merge just yet needs-rebase labels Mar 30, 2018
@qs5779
Copy link
Author

qs5779 commented Mar 30, 2018

I made the change you requested. I also changed my email setting to NOT private so hopefully the email issue is resolved.

@qs5779
Copy link
Author

qs5779 commented Mar 30, 2018 via email

@bastelfreak
Copy link
Member

Can you please rebase to get rid of the merge commit and check the used email address in the commits?

@qs5779
Copy link
Author

qs5779 commented Mar 31, 2018 via email

@bastelfreak bastelfreak added enhancement New feature or request and removed needs-rebase needs-work not ready to merge just yet labels Mar 31, 2018
@bastelfreak
Copy link
Member

Thanks for the work @qs5779! I rebased the branch and will merge it when travis turns green.

@bastelfreak bastelfreak merged commit 330c9c0 into voxpupuli:master Mar 31, 2018
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