modules/postgresql/manifests/server/pg_hba_rule.pp in freighthop-0.3.3 vs modules/postgresql/manifests/server/pg_hba_rule.pp in freighthop-0.4.0
- old
+ new
@@ -13,12 +13,12 @@
# Needed for testing primarily, support for multiple files is not really
# working.
$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")
if($type =~ /^host/ and $address == undef) {
@@ -45,10 +45,8 @@
$fragname = "pg_hba_rule_${name}"
concat::fragment { $fragname:
target => $target,
content => template('postgresql/pg_hba_rule.conf'),
order => $order,
- owner => $::id,
- mode => '0600',
}
}
}