Page MenuHomeSoftware Heritage
Paste P218

(An Untitled Masterwork)
ActivePublic

Authored by seirl on Jan 30 2018, 3:02 PM.
diff --git a/data/defaults.yaml b/data/defaults.yaml
index 7885801..81234a0 100644
--- a/data/defaults.yaml
+++ b/data/defaults.yaml
@@ -1352,12 +1352,7 @@ swh::deploy::vault::backend::http_timeout: 100000
swh::deploy::vault::backend::max_requests: 10000
swh::deploy::vault::backend::max_requests_jitter: 1000
swh::deploy::vault::config:
- storage:
- cls: local
- args:
- db: "host=%{hiera('swh::deploy::storage::db::host')} port=%{hiera('swh::deploy::storage::db::port')} user=%{hiera('swh::deploy::storage::db::user')} dbname=%{hiera('swh::deploy::storage::db::dbname')} password=%{hiera('swh::deploy::storage::db::password')}"
- objstorage:
- <<: *swh_objstorage_config_uffizi
+ storage: *swh_storage_config_azure
cache:
cls: pathslicing
args:
@@ -2258,13 +2253,14 @@ swh::deploy::worker::swh_indexer::ctags::config:
zephir: Zephir
unknown: ''
+swh::deploy::worker::swh_vault_cooker::vault_url: "http://orangerie.internal.softwareheritage.org:5005/"
swh::deploy::worker::swh_vault_cooker::concurrency: 1
swh::deploy::worker::swh_vault_cooker::loglevel: info
swh::deploy::worker::swh_vault_cooker::task_broker: "%{hiera('swh::deploy::worker::task_broker')}"
swh::deploy::worker::swh_vault_cooker::conf_file: "%{hiera('swh::conf_directory')}/vault/cooker.yml"
swh::deploy::worker::swh_vault_cooker::config:
- storage: *swh_storage_config_uffizi
- vault_url: "http://localhost:5005/" # TODO (needs to be overwritten)
+ storage: *swh_storage_config_azure
+ vault_url: "%{hiera('swh::deploy::worker::swh_vault_cooker::vault_url')}"
desktop::printers:
MFP_C:
diff --git a/data/hostname/orangeriedev.internal.softwareheritage.org.yaml b/data/hostname/orangeriedev.internal.softwareheritage.org.yaml
index f0e61f0..d0727ec 100644
--- a/data/hostname/orangeriedev.internal.softwareheritage.org.yaml
+++ b/data/hostname/orangeriedev.internal.softwareheritage.org.yaml
@@ -10,3 +10,5 @@ swh::deploy::vault::backend::listen::host: 0.0.0.0
swh::deploy::worker::instances:
- swh_vault_cooker
+
+swh::deploy::worker::swh_vault_cooker::vault_url: "http://orangeriedev.internal.softwareheritage.org:5005/"