diff options
author | Marknl <mark@e-rave.nl> | 2017-01-10 11:21:20 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-10 11:21:20 +0100 |
commit | 32c97619505a28d6f9838d9ebc109f472687fe4f (patch) | |
tree | 827508d5955005d0600a7bc05962ca1586eb6e94 /manifests/rules/gitdaemon | |
parent | 6d78d6c7b5c7617077260c94d7158b61f430494e (diff) |
Added $host option
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;
}```
Diffstat (limited to 'manifests/rules/gitdaemon')
0 files changed, 0 insertions, 0 deletions