diff --git a/config/bacula.yml.sample b/config/bacula.yml.sample index caa9066..5ed1109 100644 --- a/config/bacula.yml.sample +++ b/config/bacula.yml.sample @@ -1,5 +1,7 @@ development: director: ser-baculas-dir + pool: Default production: director: bacula-dir-edet4-dir' + pool: Default diff --git a/config/initializers/00_settings.rb b/config/initializers/00_settings.rb index 3cdcb48..4e779d5 100644 --- a/config/initializers/00_settings.rb +++ b/config/initializers/00_settings.rb @@ -1,14 +1,16 @@ Archiving.settings director_name: YAML.load_file(Rails.root.join('config', 'bacula.yml'))[Rails.env]. symbolize_keys[:director] +Archiving.settings default_pool: YAML.load_file(Rails.root.join('config', 'bacula.yml'))[Rails.env]. + symbolize_keys[:pool] Archiving.settings vima_oauth_enabled: true Archiving.settings institutional_authentication_enabled: true Archiving.settings okeanos_authentication_enabled: false Archiving.settings default_sender: 'admin@archiving.grnet.gr' Archiving.settings admin_email: 'admin@archiving.grnet.gr' Archiving.settings temp_db_retention: 3.days Archiving.settings skip_host_fetch_time_period: 1.month Archiving.settings mail_settings: YAML::load(File.open("#{Rails.root}/config/mailer.yml"))[Rails.env].symbolize_keys