Add a parameter for disabling public endpoints HTTP probes
Change-Id: I2f6c793147b38e807ff5e56843c28a6a5dc25724
Related-To: PROD-35871
diff --git a/telegraf/files/input/openstack.conf b/telegraf/files/input/openstack.conf
index bf7c86d..b205959 100644
--- a/telegraf/files/input/openstack.conf
+++ b/telegraf/files/input/openstack.conf
@@ -21,4 +21,7 @@
{%- if values.insecure is defined %}
insecure = {{ values.insecure | lower }}
{%- endif %}
+{%- if values.skip_public_endpoints is defined %}
+ skip_public_endpoints = {{ values.skip_public_endpoints | lower }}
+{%- endif %}
{%- include 'telegraf/files/input/_filters.conf' %}
diff --git a/tests/pillar/repo_extra.sls b/tests/pillar/repo_extra.sls
index 742a90f..2ccf3fa 100644
--- a/tests/pillar/repo_extra.sls
+++ b/tests/pillar/repo_extra.sls
@@ -3,6 +3,6 @@
enabled: true
repo:
mcp_extra_repo:
- source: "deb [arch=amd64] http://apt-mk.mirantis.com/{{ grains.get('oscodename') }}/ nightly extra"
+ source: "deb [arch=amd64] http://mirror.mirantis.com/nightly/extra/xenial xenial main"
architectures: amd64
- key_url: "http://apt-mk.mirantis.com/public.gpg"
+ key_url: "http://mirror.mirantis.com/nightly/extra/xenial/archive-extra.key"