2012-06-08 22:37:21 +02:00
|
|
|
class { 'postgresql::server':
|
2012-06-08 23:00:24 +02:00
|
|
|
config_hash => {
|
2012-06-09 18:23:11 +02:00
|
|
|
'ip_mask_deny_postgres_user' => '0.0.0.0/32',
|
2012-11-03 03:37:20 +01:00
|
|
|
'ip_mask_allow_all_users' => '0.0.0.0/0',
|
|
|
|
'listen_addresses' => '*',
|
|
|
|
'ipv4acls' => ['hostssl all johndoe 192.168.0.0/24 cert'],
|
|
|
|
'manage_redhat_firewall' => true,
|
|
|
|
'postgres_password' => 'postgres',
|
2012-06-08 23:00:24 +02:00
|
|
|
},
|
2012-06-08 22:37:21 +02:00
|
|
|
}
|