diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2015-09-11 21:56:50 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2015-09-11 21:56:50 -0300 |
commit | 14ced49d32beab8b80c6499b3a02ed1523ab98ae (patch) | |
tree | 22cdf03d732e91e502c5124e9f649d1c972488ce /manifests/vm/http.pp | |
parent | 279c52185ec96cd1f8b0c25a1a14b0e537c1c11a (diff) | |
download | puppet-firewall-14ced49d32beab8b80c6499b3a02ed1523ab98ae.tar.gz puppet-firewall-14ced49d32beab8b80c6499b3a02ed1523ab98ae.tar.bz2 |
Use firewall::virtual class names
Diffstat (limited to 'manifests/vm/http.pp')
-rw-r--r-- | manifests/vm/http.pp | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/manifests/vm/http.pp b/manifests/vm/http.pp deleted file mode 100644 index 404d82f..0000000 --- a/manifests/vm/http.pp +++ /dev/null @@ -1,22 +0,0 @@ -class firewall::vm::http($destination, $zone = 'vm') { - shorewall::rule { 'http-route-1': - action => 'DNAT', - source => 'net', - destination => "$zone:$destination:80", - proto => 'tcp', - destinationport => '80', - ratelimit => '-', - order => 600, - } - - shorewall::rule { 'http-route-2': - action => 'DNAT', - source => '$FW', - destination => "fw:$destination:80", - proto => 'tcp', - destinationport => '80', - originaldest => hiera('firewall::external_ip', $::ipaddress), - ratelimit => '-', - order => 601, - } -} |