|
Current rule.pp converts the $name into the "HOST" parameter in the file, this can result in these definitions:
```shorewall::host { 'eth0:$VPN_HOSTS':
zone => 'vpn',
options => 'ipsec',
order => 200;
}```
I suggest moving the variable usage from the $name into a $host parameter, so above example becomes:
```shorewall::host { 'vpn-hosts':
zone => 'vpn',
host => 'eth0:$VPN_HOSTS',
options => 'ipsec',
order => 200;
}```
|