Sha256: 7320b6cd7b58047d0643296d771be7ac6f42c9c5722cdde422439f0b70ca75ea
Contents?: true
Size: 626 Bytes
Versions: 14
Compression:
Stored size: 626 Bytes
Contents
# PRIVATE CLASS: do not use directly class postgresql::server::firewall { $ensure = $postgresql::server::ensure $manage_firewall = $postgresql::server::manage_firewall $firewall_supported = $postgresql::server::firewall_supported if ($manage_firewall and $firewall_supported) { if ($ensure == 'present' or $ensure == true) { # TODO: get rid of hard-coded port firewall { '5432 accept - postgres': port => '5432', proto => 'tcp', action => 'accept', } } else { firewall { '5432 accept - postgres': ensure => absent, } } } }
Version data entries
14 entries across 14 versions & 1 rubygems