module-postgresql/tests/postgresql_database.pp
William Van Hevelingen bdf6c0b84c Puppet lint fixes
- left longer than 80 char warnings
 - left inherits params class warnings
2012-11-03 02:37:20 +00:00

22 lines
641 B
Puppet

class { 'postgresql::server':
config_hash => {
'ip_mask_deny_postgres_user' => '0.0.0.0/32',
'ip_mask_allow_all_users' => '0.0.0.0/0',
'listen_addresses' => '*',
'manage_redhat_firewall' => true,
'postgres_password' => 'postgres',
},
}
postgresql::database{ ['test1', 'test2', 'test3']:
# TODO: ensure not yet supported
#ensure => present,
charset => 'utf8',
require => Class['postgresql::server'],
}
postgresql::database{ 'test4':
# TODO: ensure not yet supported
#ensure => present,
charset => 'latin1',
require => Class['postgresql::server'],
}