firewall: Use quotes in IPTABLES_MODULES value to allow loading multiple modules.
This commit is contained in:
parent
ee508e116f
commit
b5b9688f7e
1 changed files with 1 additions and 1 deletions
|
@ -216,7 +216,7 @@ class firewall::common::iptables {
|
|||
if $firewall_modules {
|
||||
case $::operatingsystem {
|
||||
"centos","fedora","redhat": {
|
||||
$firewall_modules_str = inline_template('<%= @firewall_modules.join(" ") -%>')
|
||||
$firewall_modules_str = inline_template('"<%= @firewall_modules.join(" ") -%>"')
|
||||
augeas { "iptables-config":
|
||||
context => "/files/etc/sysconfig/iptables-config",
|
||||
changes => [ "set IPTABLES_MODULES '${firewall_modules_str}'" ],
|
||||
|
|
Loading…
Add table
Reference in a new issue