X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;ds=sidebyside;f=modules%2Fbacula%2Fmanifests%2Fdirector.pp;h=9563749159dc73cf119af7ef4157c5e22632d523;hb=51c075b8a16d51f953a49a8cb1afd5b942424153;hp=daa0d6ba07dadd54f4f4338d9d8c1834e9087bbf;hpb=fef6fe13456346f5ab0c74ef870ee50f23c1607e;p=mirror%2Fdsa-puppet.git diff --git a/modules/bacula/manifests/director.pp b/modules/bacula/manifests/director.pp index daa0d6ba0..956374915 100644 --- a/modules/bacula/manifests/director.pp +++ b/modules/bacula/manifests/director.pp @@ -1,10 +1,16 @@ # our bacula director # -# @param bacula_db_address hostname of the postgres server for the catalog DB -# @param bacula_db_port port of the postgres server for the catalog DB +# @param db_address hostname of the postgres server for the catalog DB +# @param db_port port of the postgres server for the catalog DB +# @param db_name DB name for the catalog DB +# @param db_user username for the postgres server for the catalog DB +# @param db_sslca SSL CA store for DB access class bacula::director( - String $bacula_db_address = 'postgresql-manda-01.debian.org', - Integer $bacula_db_port = 5432, + String $db_address, + Integer $db_port, + String $db_name = 'bacula', + String $db_user = 'bacula', + Optional[String] $db_sslca = undef, ) inherits bacula { ensure_packages ( [ @@ -61,7 +67,7 @@ class bacula::director( notify => Exec['bacula-director reload'] } - Bacula::Node<<| |>> + Bacula::Director::Client<<| tag == "bacula::to-director::${::fqdn}" |>> package { 'bacula-console': ensure => installed;