Closed Freeaqingme closed 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
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 @.