Add salt-formulas repo
* Correct pinning
* At mirror.mirantis.com
* Unclude update|hotfix stubs
Prod-related: PROD-25034 (PROD:25034)
Change-Id: I3d776ac1d9b15187ae9920be476f14cfcccec969
diff --git a/defaults/linux_system_repo.yml b/defaults/linux_system_repo.yml
index b889b0f..880194f 100644
--- a/defaults/linux_system_repo.yml
+++ b/defaults/linux_system_repo.yml
@@ -24,6 +24,10 @@
linux_system_repo_mcp_saltstack_url: ${_param:linux_system_repo_url}/saltstack-${_param:linux_system_repo_mcp_saltstack_version_number}/
linux_system_repo_mcp_fluentd_url: ${_param:linux_system_repo_url}/td-agent/
#
+ linux_system_repo_mcp_salt_url: ${_param:linux_system_repo_url}/salt-formulas/
+ linux_system_repo_update_mcp_salt_url: ${_param:linux_system_repo_update_url}/salt-formulas/
+ linux_system_repo_hotfix_mcp_salt_url: ${_param:linux_system_repo_hotfix_url}/salt-formulas/
+ #
linux_system_repo_mirantis_openstack_url: ${_param:linux_system_repo_url}/openstack-${_param:openstack_version}/
linux_system_repo_update_mirantis_openstack_url: ${_param:linux_system_repo_update_url}/openstack-${_param:openstack_version}/
linux_system_repo_hotfix_mirantis_openstack_url: ${_param:linux_system_repo_hotfix_url}/openstack-${_param:openstack_version}/
diff --git a/linux/system/repo/mcp/apt_mirantis/hotfix/salt-formulas.yml b/linux/system/repo/mcp/apt_mirantis/hotfix/salt-formulas.yml
new file mode 100644
index 0000000..f4219ca
--- /dev/null
+++ b/linux/system/repo/mcp/apt_mirantis/hotfix/salt-formulas.yml
@@ -0,0 +1,15 @@
+classes:
+- system.linux.system.repo.keystorage.mirantis_com
+parameters:
+ linux:
+ system:
+ repo:
+ mcp_salt_hotfix:
+ source: "deb [arch=amd64] ${_param:linux_system_repo_hotfix_mcp_salt_url}/${_param:linux_system_codename} ${_param:linux_system_codename} main"
+ key: ${_param:linux_system_repo_mirror_mirantis_key}
+ architectures: amd64
+ clean_file: true
+ pin:
+ - pin: 'release o=Mirantis'
+ priority: 1100
+ package: '*'
diff --git a/linux/system/repo/mcp/apt_mirantis/salt-formulas.yml b/linux/system/repo/mcp/apt_mirantis/salt-formulas.yml
new file mode 100644
index 0000000..289e15c
--- /dev/null
+++ b/linux/system/repo/mcp/apt_mirantis/salt-formulas.yml
@@ -0,0 +1,15 @@
+classes:
+- system.linux.system.repo.keystorage.mirantis_com
+parameters:
+ linux:
+ system:
+ repo:
+ mcp_salt:
+ source: "deb [arch=amd64] ${_param:linux_system_repo_mcp_salt_url}/${_param:linux_system_codename} ${_param:linux_system_codename} main"
+ key: ${_param:linux_system_repo_mirror_mirantis_key}
+ architectures: amd64
+ clean_file: true
+ pin:
+ - pin: 'release o=Mirantis'
+ priority: 1100
+ package: '*'
diff --git a/linux/system/repo/mcp/apt_mirantis/update/salt-formulas.yml b/linux/system/repo/mcp/apt_mirantis/update/salt-formulas.yml
new file mode 100644
index 0000000..ab9e05a
--- /dev/null
+++ b/linux/system/repo/mcp/apt_mirantis/update/salt-formulas.yml
@@ -0,0 +1,15 @@
+classes:
+- system.linux.system.repo.keystorage.mirantis_com
+parameters:
+ linux:
+ system:
+ repo:
+ mcp_salt_update:
+ source: "deb [arch=amd64] ${_param:linux_system_repo_update_mcp_salt_url}/${_param:linux_system_codename} ${_param:linux_system_codename} main"
+ key: ${_param:linux_system_repo_mirror_mirantis_key}
+ architectures: amd64
+ clean_file: true
+ pin:
+ - pin: 'release o=Mirantis'
+ priority: 1100
+ package: '*'
diff --git a/linux/system/repo/mcp/salt/init.yml b/linux/system/repo/mcp/salt/init.yml
index 3430a5c..b3609bb 100644
--- a/linux/system/repo/mcp/salt/init.yml
+++ b/linux/system/repo/mcp/salt/init.yml
@@ -1,3 +1,4 @@
+# DEPRECATED since 2018.12+ release.
parameters:
_param:
linux_system_repo_mcp_salt_version: ${_param:mcp_version}