voxpupuli-archive / puppet-bacula

Bacula module to manage all components of bacula
https://forge.puppet.com/puppet/bacula
Apache License 2.0
38 stars 52 forks source link

first fast quick n dirty fix #1 for postgresql support with a redhat #31

Closed pemer closed 9 years ago

pemer commented 9 years ago

2014-10-04 - Patrick Emer pemer@afdata.de - 0.0.3

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,
 }
}
tphoney commented 9 years ago

Thanks for putting the effort into this. could you please align your hash rockets, and squash your commits. Does this PR supersede #29

hunner commented 9 years ago

Could you rebase this? It can't be merged as-is

underscorgan commented 9 years ago

@pemer ping?