diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2022-01-25 13:00:48 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2022-01-25 13:00:48 -0300 |
commit | 9bfd1dd20b5cc47a5dd8a5bc8cc3e1e2183e1626 (patch) | |
tree | 17d1ea16114b947768d76a9a9d381bb88999b385 /manifests/virtual/web.pp | |
parent | 4d726cb11385bf29e5c99c8c3b4e5579419d7538 (diff) | |
download | puppet-firewall-9bfd1dd20b5cc47a5dd8a5bc8cc3e1e2183e1626.tar.gz puppet-firewall-9bfd1dd20b5cc47a5dd8a5bc8cc3e1e2183e1626.tar.bz2 |
Misc fixes
Diffstat (limited to 'manifests/virtual/web.pp')
-rw-r--r-- | manifests/virtual/web.pp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/manifests/virtual/web.pp b/manifests/virtual/web.pp index c54a95b..d551d4b 100644 --- a/manifests/virtual/web.pp +++ b/manifests/virtual/web.pp @@ -2,7 +2,9 @@ define firewall::virtual::web( $implementation = lookup('firewall::implementation', undef, undef, 'shorewall'), $destination ) { - class { "firewall::implementations::${implementation}::virtual::web": - destination => $destination, + if $implementation == 'shorewall' { + firewall::implementations::shorewall::virtual::web { "${name}": + destination => $destination, + } } } |