-
Notifications
You must be signed in to change notification settings - Fork 456
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
FM-8219 - Convert to litmus #855
Conversation
12ae32a
to
9867560
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall great, a few changes to use litmus's helper methods. and to move the local fix out of this module. into litmus as a helper function
shell("sed -i -e \'s/^templatedir.*$//\' #{config}") | ||
config = run_shell('puppet config print config').stdout | ||
run_shell("sed -i -e \'s/^templatedir.*$//\' #{config}") | ||
run_shell('echo export LC_ALL=C > ~/.bashrc') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should this live somewhere else ? other modules likely need this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this was needed for el platforms provisioned with docker
b0934d8
to
6422370
Compare
1d8cc70
to
3769eab
Compare
…ioned with docker
a3823c7
to
eb46238
Compare
https://tickets.puppetlabs.com/browse/FM-8219
we encountered some issues during our convertion to litmus
using provisioner docker_exp -> some setups were missing.
(iptables is not installed. root profile should be updated. missing folder /lib/modules/
uname -r
)1. applying manifest containing inverted rule is returning error
pp.pp
class
{ '::firewall': }
firewall
{ '603 drop 80,443 traffic': chain => 'INPUT', action => 'drop', proto => 'tcp', sport => ['! http', '443'], }
Error: Parameter sport failed on Firewall[603 drop 80,443 traffic]: Munging failed for value "! http" in class sport: no such service http/tcp
2. testing ct_target_zone disconnected the machine
spec/acceptance/firewall_attributes_ipv6_happy_path_spec.rb
spec/acceptance/firewall_attributes_happy_path_spec.rb
describe 'test CT target attributes which are not available on some OS', unless:
3. connlimit not available on some operating systems
removed them from the manifest.