puppetlabs/puppetlabs-bacula — pull request #31 by afdata (2014-10-05 17:23:47+00:00)
Title: first fast quick n dirty fix #1 for postgresql support with a redhat

2014-10-04 - Patrick Emer - 0.0.3
- Support for Redhat/Centos distributions
- Support for postgresql database catalog

If you want to verify my code please test it with this puppet module:
```
node default {
$varclients = {
'somenode' => {
'fileset' => 'Basic:noHome',
'schedule' => 'Hourly',
},
'node2' => {
'fileset' => 'Basic:noHome',
'schedule' => 'Hourly',
}
}
Postgresql_psql {
cwd => '/',
}
include postgresql::client, postgresql::server
class { 'bacula':
is_storage => true,
is_director => true,
is_client => true,
manage_console => true,
manage_db => true,
db_backend => 'postgresql',
db_host => 'localhost',
db_user => 'bacula',
db_password => 'bacula',
db_database => 'bacula',
db_port => '5432',
director_password => 'xxxxxxxxx',
console_password => 'xxxxxxxxx',
director_server => 'bacula.domain.com',
mail_to => 'bacula-admin@domain.com',
storage_server => 'bacula.domain.com',
clients => $varclients,
}
}
```