diff options
author | varac <varacanero@zeromail.org> | 2012-10-29 21:07:07 +0100 |
---|---|---|
committer | varac <varacanero@zeromail.org> | 2012-10-29 21:07:07 +0100 |
commit | fa31e200b5cbf4ac9b01a864410d535cbf84420d (patch) | |
tree | c4bc619d91bcb2765b0f72b9162a49b77dee8b0d /puppet/modules/site_shorewall | |
parent | c72160f993345c184ce01d7e4c14c9923fc194e9 (diff) |
put in double quotes
Diffstat (limited to 'puppet/modules/site_shorewall')
-rw-r--r-- | puppet/modules/site_shorewall/manifests/eip.pp | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/puppet/modules/site_shorewall/manifests/eip.pp b/puppet/modules/site_shorewall/manifests/eip.pp index 0c9bfa9c..87e1e16f 100644 --- a/puppet/modules/site_shorewall/manifests/eip.pp +++ b/puppet/modules/site_shorewall/manifests/eip.pp @@ -13,9 +13,9 @@ class site_shorewall::eip { PARAM - - udp 53,80,443,1194 ', } - + # define interfaces - shorewall::interface {"$interface": + shorewall::interface { $interface: zone => 'net', options => 'tcpflags,blacklist,nosmurfs'; } @@ -31,11 +31,12 @@ PARAM - - udp 53,80,443,1194 shorewall::zone {'eip': type => 'ipv4'; } - shorewall::routestopped {'$interface': - interface => '$interface'; } + shorewall::routestopped { $interface: + interface => $interface; } + - shorewall::masq {'$interface': - interface => '$interface', + shorewall::masq {"$interface": + interface => $interface, source => ''; } shorewall::policy { |