Merge pull request #324 from aadamovich/patch-1

Wrong parameter name: manage_pg_conf -> manage_pg_hba_conf
This commit is contained in:
Ashley Penney 2014-01-21 14:35:35 -08:00
commit 4409dbc4b2

View file

@ -15,8 +15,8 @@ define postgresql::server::pg_hba_rule(
$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")