Defined Type: postgresql::ident
- Defined in:
- manifests/ident.pp
Overview
This define APPENDS a line entry to the pg_ident.conf file
2 3 4 5 6 7 8 9 10 11 12 13 |
# File 'manifests/ident.pp', line 2
define postgresql::ident ($map_name, $system_user, $db_user, $ensure = 'present', $order = '50',) {
include concat::setup
include postgresql::identconcat
concat::fragment { "ident_fragment_${name}":
ensure => $ensure,
target => $postgresql::real_config_file_ident,
content => "${map_name}\t${system_user} ${db_user}\n",
order => $order,
notify => Service['postgresql'],
}
}
|