salsa: more mail setup
[mirror/dsa-puppet.git] / 3rdparty / modules / postgresql / examples / postgresql_pgconf_extras.pp
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         'manage_redhat_firewall'     => true,
7         'postgres_password'          => 'postgres',
8     },
9 }
10
11 include 'postgresql::params'
12
13 $pg_conf_include_file = "${postgresql::params::confdir}/postgresql_puppet_extras.conf"
14
15 file { $pg_conf_include_file:
16   content => 'max_connections = 123',
17   notify  => Service['postgresqld'],
18 }
19