server.pp 395 B

12345678910
  1. class { 'postgresql::server':
  2. config_hash => {
  3. 'ip_mask_deny_postgres_user' => '0.0.0.0/32',
  4. 'ip_mask_allow_all_users' => '0.0.0.0/0',
  5. 'listen_addresses' => '*',
  6. 'ipv4acls' => ['hostssl all johndoe 192.168.0.0/24 cert'],
  7. 'manage_redhat_firewall' => true,
  8. 'postgres_password' => 'postgres',
  9. },
  10. }