From 66c964bf91f51e74094ed9235be610961b3d0bc0 Mon Sep 17 00:00:00 2001 From: Martin Magr Date: Thu, 17 Dec 2020 12:50:31 +0100 Subject: [PATCH] Pass scripts list for download for sensubility Depends-On: Ifb1046d710827a82dcecbfbb2a449b1f87bbe363 Change-Id: I95ab281b6f4f9402feae26487b922e6a59884a99 --- deployment/metrics/collectd-container-puppet.yaml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/deployment/metrics/collectd-container-puppet.yaml b/deployment/metrics/collectd-container-puppet.yaml index 9f0312fe38..7dd518b3f1 100644 --- a/deployment/metrics/collectd-container-puppet.yaml +++ b/deployment/metrics/collectd-container-puppet.yaml @@ -351,6 +351,13 @@ parameters: type: string description: AMQP1 channel address default: collectd/notify + CollectdSensubilityScripts: + type: json + description: | + Hash of scripts for download for sensubility usage. The hash has to be in following format: + {"script-name": {"source": "", "checksum": "", + "create_bin_link": true/false }} + default: {} CollectdEnableContainerHealthCheck: type: boolean description: > @@ -535,7 +542,7 @@ outputs: tripleo::profile::base::metrics::collectd::collectd_securitylevel: get_param: CollectdSecurityLevel - if: - - {get_param: EnableSQLAlchemyCollectd} + - {get_param: EnableSQLAlchemyCollectd} - tripleo::profile::base::metrics::collectd::enable_sqlalchemy_collectd: true tripleo::profile::base::metrics::collectd::sqlalchemy_collectd_bind_host: @@ -660,6 +667,9 @@ outputs: get_param: CollectdSensubilityTransport tripleo::profile::base::metrics::collectd::sensubility::amqp_port: get_param: CollectdAmqpPort + tripleo::profile::base::metrics::collectd::sensubility::scripts: + get_param: CollectdSensubilityScripts + - {} - if: - {get_param: CollectdEnableLibpodstats} - tripleo::profile::base::metrics::collectd::enable_libpodstats: