# Puppet Class: postgresql_cd::firewall::iptables

Inherits:
  postgresql_cd::params

Defined in:
  manifests/firewall/iptables.pp

## Summary

Class manages the alloy iptables

## Overview

postgresql_cd::firewall::iptables.pp Module name: postgresql_cd Author: Arne Teuke (arne_teuke@confdroid.com)

    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    # File 'manifests/firewall/iptables.pp', line 6

    class postgresql_cd::firewall::iptables (

    ) inherits postgresql_cd::params {
      if ($fqdn == $pl_server_fqdn) and ($pl_enable_fw == true) {
        firewall { "${pl_fw_rule_order}${pl_fw_port} tcp port ${pl_fw_port}":
          source => $pl_source_range,
          proto  => 'tcp',
          dport  => $pl_fw_port,
          jump   => 'accept',
        }
      }
    }