Revision 4c18f820
Added by Ivan Necas over 10 years ago
modules/postgresql/manifests/server/pg_hba_rule.pp | ||
---|---|---|
$target = $postgresql::server::pg_hba_conf_path
|
||
) {
|
||
|
||
if $postgresql::server::manage_pga_conf == false {
|
||
fail('postgresql::server::manage_pga_conf has been disabled, so this resource is now unused and redundant, either enable that option or remove this resource from your manifests')
|
||
if $postgresql::server::manage_pg_hba_conf == false {
|
||
fail('postgresql::server::manage_pg_hba_conf has been disabled, so this resource is now unused and redundant, either enable that option or remove this resource from your manifests')
|
||
} else {
|
||
validate_re($type, '^(local|host|hostssl|hostnossl)$',
|
||
"The type you specified [${type}] must be one of: local, host, hostssl, hostnosssl")
|
Also available in: Unified diff
Update to librarian