File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
manifests/server/instance Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 4747# this value is usefull if you want to start enforcing scram-sha-256, but give users transition time.
4848# @param extra_systemd_config
4949# Adds extra config to systemd config file, can for instance be used to add extra openfiles. This can be a multi line string
50+ # @param manage_selinux Specifies whether or not manage the conf file for selinux.
5051define postgresql::server::instance::config (
5152 String[1] $ip_mask_deny_postgres_user = $postgresql::server::ip_mask_deny_postgres_user,
5253 String[1] $ip_mask_allow_all_users = $postgresql::server::ip_mask_allow_all_users,
7677 Postgresql::Pg_password_encryption $password_encryption = $postgresql::server::password_encryption,
7778 Optional[Postgresql::Pg_password_encryption] $pg_hba_auth_password_encryption = $postgresql::server::pg_hba_auth_password_encryption,
7879 Optional[String] $extra_systemd_config = $postgresql::server::extra_systemd_config,
80+ Optional[Boolean] $manage_selinux = $postgresql::server::manage_selinux,
7981) {
8082 $_pg_hba_auth_password_encryption = pick($pg_hba_auth_password_encryption ,$password_encryption )
8183
164166 }
165167
166168 # ensure that SELinux has a proper label for the port defined
167- if $postgresql::server:: manage_selinux == true and $facts [' os' ][' selinux' ][' enabled' ] == true {
169+ if $manage_selinux and $facts [' os' ][' selinux' ][' enabled' ] {
168170 case $facts [' os' ][' family' ] {
169171 ' RedHat' , ' Linux' : {
170172 if $facts [' os' ][' name' ] == ' Amazon' {
You can’t perform that action at this time.
0 commit comments