603df7381d
This updates the module to be able to use puppetlabs-postgresql. Since this change is a major change, it marks this patch as a breaking change. I have prepared a suitable amount of upgrade notes for upgrading to this later version of the module plus removed anything marked deprecated. As cleanup, I've removed the troublesome 'tests' directory in favour of good README.md documentation. I've also removed any puppet docs from each module until such times as puppet docs become automated through the forge. This is just to avoid contributors having to double their efforts - the README.md is the authority now. Signed-off-by: Ken Barber <ken@bob.sh>
25 lines
670 B
Puppet
25 lines
670 B
Puppet
# PRIVATE CLASS - do not use directly
|
|
class puppetdb::server::firewall(
|
|
$http_port = $puppetdb::params::listen_port,
|
|
$open_http_port = $puppetdb::params::open_listen_port,
|
|
$ssl_port = $puppetdb::params::ssl_listen_port,
|
|
$open_ssl_port = $puppetdb::params::open_ssl_listen_port,
|
|
) inherits puppetdb::params {
|
|
include firewall
|
|
|
|
if ($open_http_port) {
|
|
firewall { "${http_port} accept - puppetdb":
|
|
port => $http_port,
|
|
proto => 'tcp',
|
|
action => 'accept',
|
|
}
|
|
}
|
|
|
|
if ($open_ssl_port) {
|
|
firewall { "${ssl_port} accept - puppetdb":
|
|
port => $ssl_port,
|
|
proto => 'tcp',
|
|
action => 'accept',
|
|
}
|
|
}
|
|
}
|