Refresh influxdb priority and repo
* refresh apt_mirantis/influxdb.yml to common logic
* fix priority for mcp/extra.yml
- we need to setup telegraph from it, but not from influxdb 3pp repo
Change-Id: I3c865fa9a29be642a49432030f3789cb617b3e08
Closes-Bug: PROD-21576 (PROD:21576)
diff --git a/linux/system/repo/mcp/apt_mirantis/influxdb.yml b/linux/system/repo/mcp/apt_mirantis/influxdb.yml
index e6ebcb3..f5f4c90 100644
--- a/linux/system/repo/mcp/apt_mirantis/influxdb.yml
+++ b/linux/system/repo/mcp/apt_mirantis/influxdb.yml
@@ -1,13 +1,18 @@
+classes:
+- system.linux.system.repo.keystorage.influxdb
parameters:
_param:
apt_mk_version: stable
- linux_system_repo_mcp_influxdb_version: ${_param:apt_mk_version}
+ linux_system_repo_url: http://mirror.mirantis.com/${_param:apt_mk_version}/
+ linux_system_repo_mcp_influxdb_url: ${_param:linux_system_repo_url}/influxdb/
linux:
system:
repo:
mcp_influxdb:
- source: "deb [arch=amd64] http://mirror.mirantis.com/${_param:linux_system_repo_mcp_influxdb_version}/influxdb/${_param:linux_system_codename}/ ${_param:linux_system_codename} stable"
+ source: "deb [arch=amd64] ${_param:linux_system_repo_mcp_influxdb_url}/${_param:linux_system_codename}/ ${_param:linux_system_codename} stable"
architectures: amd64
- key_id: 684A14CF2582E0C5
- key_server: keyserver.ubuntu.com
clean_file: true
+ pin:
+ - pin: 'release l=InfluxDB'
+ priority: 1100
+ package: '*'