-
Notifications
You must be signed in to change notification settings - Fork 682
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
Inspec iptables should have_rule tests not working #420
Comments
Thanks for reporting @richardlock . Could you share the result of |
Thanks. sudo iptables -S |
Hi @richardlock! I've looked into this and it turns out that the output of What platform are you working on? |
This is RHEL 6.x. Thanks. |
Thanks for the quick feedback. Ok, I can verify that CentOS 6.7 has those quotes, too... |
Yup, integration tests fail on centos6. Will dig deeper tomorrow. I bet it's the comments ;) |
As it turns out, some of the lines on CentOS 6 had a trailing space in it. Fixes #420.
The bug is fixed in #442: Turns out separate lines of the @richardlock please let me know if this fix works for you :) |
As it turns out, some of the lines on CentOS 6 had a trailing space in it. Fixes #420.
Thanks for fixing this Stephan and Dominik. I'm having trouble running bundler with chefdk on Windows so can't test building from source. I'll wait for the next inspec release to test. |
chefdk (0.10.0)
inspec (0.9.11)
kitchen-inspec (0.10.1)
When using verifier: name: inspec in .kitchen.yml instead of serverspec, none of the iptables tests work. E.g.
The text was updated successfully, but these errors were encountered: