example42 / puppet-iptables

Iptables Puppet Module (for host based firewalling)
http://www.example42.com
Other
14 stars 41 forks source link

Only future parser does hash operators apparently #33

Closed Freeaqingme closed 11 years ago

Freeaqingme commented 11 years ago

Problem with this is that if you do $log_explicit_matches = $explicitmatches first, it creates a pointer to the same value, so all changes applied to the $log* var will also be applied to the other one. Another problem is that if you do $var = something; $discard = inline_template('<% var = somestuff %>') the ruby code will create a new variable in its own scope, with or without @.

alvagante commented 11 years ago

This fixes the issues with current parser... brilliant! While making the first tests I found some glitches: https://github.com/example42/puppet-iptables/issues/34 https://github.com/example42/puppet-iptables/issues/35