diff --git a/backend_modules/libvirt/base/main.tf b/backend_modules/libvirt/base/main.tf
index 6f594979d..940c199e0 100644
--- a/backend_modules/libvirt/base/main.tf
+++ b/backend_modules/libvirt/base/main.tf
@@ -4,16 +4,17 @@ locals {
image_urls = {
almalinux8o = "${var.use_mirror_images ? "http://${var.mirror}" : "https://repo.almalinux.org"}/almalinux/8/cloud/x86_64/images/AlmaLinux-8-GenericCloud-latest.x86_64.qcow2"
almalinux9o = "${var.use_mirror_images ? "http://${var.mirror}" : "https://repo.almalinux.org"}/almalinux/9/cloud/x86_64/images/AlmaLinux-9-GenericCloud-latest.x86_64.qcow2"
- rocky8o = "${var.use_mirror_images ? "http://${var.mirror}" : "https://download.rockylinux.org"}/pub/rocky/8/images/x86_64/Rocky-8-GenericCloud.latest.x86_64.qcow2"
- rocky9o = "${var.use_mirror_images ? "http://${var.mirror}" : "https://download.rockylinux.org"}/pub/rocky/9/images/x86_64/Rocky-9-GenericCloud.latest.x86_64.qcow2"
- oraclelinux8o = "${var.use_mirror_images ? "http://${var.mirror}" : "https://yum.oracle.com"}/templates/OracleLinux/OL8/u6/x86_64/OL8U6_x86_64-kvm-b126.qcow"
- oraclelinux9o = "${var.use_mirror_images ? "http://${var.mirror}" : "https://yum.oracle.com"}/templates/OracleLinux/OL9/u0/x86_64/OL9U0_x86_64-kvm-b142.qcow"
+ amazonlinux2o = "${var.use_mirror_images ? "http://${var.mirror}" : "https://cdn.amazonlinux.com"}/os-images/2.0.20210721.2/kvm/amzn2-kvm-2.0.20210721.2-x86_64.xfs.gpt.qcow2"
centos6o = "${var.use_mirror_images ? "http://${var.mirror}" : "https://cloud.centos.org"}/centos/6/images/CentOS-6-x86_64-GenericCloud.qcow2"
centos7 = "${var.use_mirror_images ? "http://${var.mirror}" : "https://github.com"}/uyuni-project/sumaform-images/releases/download/4.3.0/centos7.qcow2"
centos7o = "${var.use_mirror_images ? "http://${var.mirror}" : "https://cloud.centos.org"}/centos/7/images/CentOS-7-x86_64-GenericCloud.qcow2"
centos8o = "${var.use_mirror_images ? "http://${var.mirror}" : "https://cloud.centos.org"}/centos/8/x86_64/images/CentOS-8-GenericCloud-8.2.2004-20200611.2.x86_64.qcow2"
centos9o = "${var.use_mirror_images ? "http://${var.mirror}" : "https://cloud.centos.org"}/centos/9-stream/x86_64/images/CentOS-Stream-GenericCloud-9-20220829.0.x86_64.qcow2"
- amazonlinux2o = "${var.use_mirror_images ? "http://${var.mirror}" : "https://cdn.amazonlinux.com"}/os-images/2.0.20210721.2/kvm/amzn2-kvm-2.0.20210721.2-x86_64.xfs.gpt.qcow2"
+ libertylinux9o = "${var.use_mirror_images ? "http://${var.mirror}" : "http://zenon.suse.de"}/download/sll9.1-cloud/sll9.1-cloud.img"
+ oraclelinux8o = "${var.use_mirror_images ? "http://${var.mirror}" : "https://yum.oracle.com"}/templates/OracleLinux/OL8/u6/x86_64/OL8U6_x86_64-kvm-b126.qcow"
+ oraclelinux9o = "${var.use_mirror_images ? "http://${var.mirror}" : "https://yum.oracle.com"}/templates/OracleLinux/OL9/u0/x86_64/OL9U0_x86_64-kvm-b142.qcow"
+ rocky8o = "${var.use_mirror_images ? "http://${var.mirror}" : "https://download.rockylinux.org"}/pub/rocky/8/images/x86_64/Rocky-8-GenericCloud.latest.x86_64.qcow2"
+ rocky9o = "${var.use_mirror_images ? "http://${var.mirror}" : "https://download.rockylinux.org"}/pub/rocky/9/images/x86_64/Rocky-9-GenericCloud.latest.x86_64.qcow2"
opensuse152o = "${var.use_mirror_images ? "http://${var.mirror}" : "https://download.opensuse.org"}/distribution/leap/15.2/appliances/openSUSE-Leap-15.2-JeOS.x86_64-OpenStack-Cloud.qcow2"
opensuse153o = "${var.use_mirror_images ? "http://${var.mirror}" : "https://download.opensuse.org"}/distribution/leap/15.3/appliances/openSUSE-Leap-15.3-JeOS.x86_64-OpenStack-Cloud.qcow2"
opensuse154o = "${var.use_mirror_images ? "http://${var.mirror}" : "https://download.opensuse.org"}/distribution/leap/15.4/appliances/openSUSE-Leap-15.4-JeOS.x86_64-OpenStack-Cloud.qcow2"
diff --git a/backend_modules/libvirt/host/cpu_features.xsl b/backend_modules/libvirt/host/cpu_features.xsl
index e2e6204ef..087a6eed0 100644
--- a/backend_modules/libvirt/host/cpu_features.xsl
+++ b/backend_modules/libvirt/host/cpu_features.xsl
@@ -6,10 +6,10 @@
-
+
-
-
+ host-model
+
@@ -19,7 +19,7 @@
-
+
diff --git a/backend_modules/libvirt/host/main.tf b/backend_modules/libvirt/host/main.tf
index bd4b8412f..7ed3fd670 100644
--- a/backend_modules/libvirt/host/main.tf
+++ b/backend_modules/libvirt/host/main.tf
@@ -2,7 +2,7 @@ locals {
resource_name_prefix = "${var.base_configuration["name_prefix"]}${var.name}"
manufacturer = lookup(var.provider_settings, "manufacturer", "Intel")
product = lookup(var.provider_settings, "product", "Genuine")
- x86_64_v2_images = ["almalinux9o", "rocky9o", "oraclelinux9o", "centos9o"]
+ x86_64_v2_images = ["almalinux9o", "centos9o", "libertylinux9o", "oraclelinux9o", "rocky9o"]
provider_settings = merge({
memory = 1024
vcpu = 1
diff --git a/backend_modules/libvirt/host/user_data.yaml b/backend_modules/libvirt/host/user_data.yaml
index 68c589b52..ebba8fab7 100644
--- a/backend_modules/libvirt/host/user_data.yaml
+++ b/backend_modules/libvirt/host/user_data.yaml
@@ -573,7 +573,7 @@ yum_repos:
priority: 98
# repo for nss-mdns
epel:
- baseurl: http://download.fedoraproject.org/pub/epel/8/$basearch
+ baseurl: http://download.fedoraproject.org/pub/epel/8/Everything/$basearch
mirrorlist: https://mirrors.fedoraproject.org/metalink?repo=epel-8&arch=$basearch
failovermethod: priority
enabled: true
@@ -601,7 +601,7 @@ yum_repos:
priority: 98
# repo for nss-mdns
epel:
- baseurl: http://download.fedoraproject.org/pub/epel/9/$basearch
+ baseurl: http://download.fedoraproject.org/pub/epel/9/Everything/$basearch
mirrorlist: https://mirrors.fedoraproject.org/metalink?repo=epel-9&arch=$basearch
failovermethod: priority
enabled: true
@@ -622,6 +622,44 @@ packages: ["avahi", "nss-mdns", "qemu-guest-agent", "salt-minion", "dbus-tools"]
%{ endif }
+%{ if image == "libertylinux9o" }
+yum_repos:
+ # repo for salt
+ tools_pool_repo:
+ baseurl: http://${ use_mirror_images ? mirror : "download.opensuse.org"}/repositories/systemsmanagement:/Uyuni:/Master:/EL9-Uyuni-Client-Tools/EL_9/
+ failovermethod: priority
+ enabled: true
+ gpgcheck: false
+ name: tools_pool_repo
+ priority: 98
+ # repo for nss-mdns
+ epel:
+ baseurl: http://download.fedoraproject.org/pub/epel/9/Everything/$basearch
+ mirrorlist: https://mirrors.fedoraproject.org/metalink?repo=epel-9&arch=$basearch
+ failovermethod: priority
+ enabled: true
+ gpgcheck: false
+ priority: 99
+ name: epel
+
+runcmd:
+ # Registration with SUSEConnect
+ - curl http://rmt.scc.suse.de/tools/rmt-client-setup-res --output rmt-client-setup-res
+ - yes | sh rmt-client-setup-res https://rmt.scc.suse.de
+ # Packages installation after registration
+ - dnf config-manager --set-enabled epel
+%{ if install_salt_bundle }
+ - dnf -y install venv-salt-minion salt-minion avahi nss-mdns
+%{ else }
+ - dnf -y install avahi nss-mdns salt-minion
+%{ endif }
+ # WORKAROUND: cloud-init in Liberty 9 does not take care of the following
+ - dnf -y install dbus-tools
+ - echo "PermitRootLogin yes" >> /etc/ssh/sshd_config
+ - systemctl restart sshd
+
+%{ endif }
+
%{ if image == "rocky8o" }
yum_repos:
# repo for salt
@@ -689,7 +727,7 @@ yum_repos:
priority: 98
# repo for nss-mdns
epel:
- baseurl: http://download.fedoraproject.org/pub/epel/8/$basearch
+ baseurl: http://download.fedoraproject.org/pub/epel/8/Everything/$basearch
mirrorlist: https://mirrors.fedoraproject.org/metalink?repo=epel-8&arch=$basearch
enabled: true
gpgcheck: false
@@ -715,7 +753,7 @@ yum_repos:
priority: 98
# repo for nss-mdns
epel:
- baseurl: http://download.fedoraproject.org/pub/epel/9/$basearch
+ baseurl: http://download.fedoraproject.org/pub/epel/9/Everything/$basearch
mirrorlist: https://mirrors.fedoraproject.org/metalink?repo=epel-9&arch=$basearch
enabled: true
gpgcheck: false
diff --git a/backend_modules/null/base/variables.tf b/backend_modules/null/base/variables.tf
index 0ad0896ec..433349557 100644
--- a/backend_modules/null/base/variables.tf
+++ b/backend_modules/null/base/variables.tf
@@ -65,7 +65,7 @@ variable "provider_settings" {
variable "images" {
description = "list of images to be uploaded to the libvirt host, leave default for all"
- default = [ "almalinux8o", "amazonlinux2o", "centos7o", "opensuse153o", "opensuse154o", "rocky8o", "rocky9o", "sles12sp4o", "sles12sp5o", "sles15sp3o", "sles15sp4o", "ubuntu1804o", "ubuntu2004o", "ubuntu2204o" ]
+ default = [ "almalinux9o", "amazonlinux2o", "centos7o", "centos8o", "libertylinux9o", "opensuse153o", "opensuse154o", "oraclelinux9o", "rocky8o", "rocky9o", "sles12sp4o", "sles12sp5o", "sles15sp3o", "sles15sp4o", "ubuntu1804o", "ubuntu2004o", "ubuntu2204o" ]
type = set(string)
}
diff --git a/main.tf.libvirt-testsuite.example b/main.tf.libvirt-testsuite.example
index 4e64c6b56..246406764 100644
--- a/main.tf.libvirt-testsuite.example
+++ b/main.tf.libvirt-testsuite.example
@@ -30,16 +30,18 @@ module "cucumber_testsuite" {
# define what images should be used and uploaded
# https://github.com/uyuni-project/sumaform/blob/master/backend_modules/libvirt/README.md#only-upload-a-subset-of-available-images
# the following images are e.g. available:
+ # "almalinux8o", "almalinux9o",
+ # "amazonlinux2o",
+ # "centos6o", "centos7o", "centos8o", "centos9o",
+ # "libertylinux9o",
# "opensuse152o", "opensuse154o",
- # "sles12sp5o", "sles15sp3o", "sles15sp4o",
- # "ubuntu1804o", "ubuntu2004o", "ubuntu2204o",
- # "centos7o", "centos8o",
+ # "oraclelinux9o",
# "rocky8o", "rocky9o",
- # "almalinux8o",
- # "amazonlinux2o"
+ # "sles12sp4o", "sles12sp5o", "sles15o", "sles15sp1o", "sles15sp2o", "sles15sp3o", "sles15sp4o",
+ # "ubuntu1604o", "ubuntu1804o", "ubuntu2004o", "ubuntu2204o"
# to see what VM uses what image, have a look at the image variable in the cucumber_module definition
# https://github.com/uyuni-project/sumaform/blob/master/modules/cucumber_testsuite/main.tf
- # images = ["rocky8o", "opensuse152o", "opensuse154o", "sles15sp4o", "ubuntu2004o"]
+ # images = ["rocky9o", "opensuse152o", "opensuse154o", "sles15sp4o", "ubuntu2204o"]
use_avahi = true
name_prefix = "prefix-"
diff --git a/modules/controller/main.tf b/modules/controller/main.tf
index 121c33606..5a2fca4a2 100644
--- a/modules/controller/main.tf
+++ b/modules/controller/main.tf
@@ -95,16 +95,18 @@ module "controller" {
centos7_minion = length(var.centos7_minion_configuration["hostnames"]) > 0 ? var.centos7_minion_configuration["hostnames"][0] : null
centos7_sshminion = length(var.centos7_sshminion_configuration["hostnames"]) > 0 ? var.centos7_sshminion_configuration["hostnames"][0] : null
centos7_client = length(var.centos7_client_configuration["hostnames"]) > 0 ? var.centos7_client_configuration["hostnames"][0] : null
- rocky8_minion = length(var.rocky8_minion_configuration["hostnames"]) > 0 ? var.rocky8_minion_configuration["hostnames"][0] : null
- rocky8_sshminion = length(var.rocky8_sshminion_configuration["hostnames"]) > 0 ? var.rocky8_sshminion_configuration["hostnames"][0] : null
- rocky9_minion = length(var.rocky9_minion_configuration["hostnames"]) > 0 ? var.rocky9_minion_configuration["hostnames"][0] : null
- rocky9_sshminion = length(var.rocky9_sshminion_configuration["hostnames"]) > 0 ? var.rocky9_sshminion_configuration["hostnames"][0] : null
alma9_minion = length(var.alma9_minion_configuration["hostnames"]) > 0 ? var.alma9_minion_configuration["hostnames"][0] : null
alma9_sshminion = length(var.alma9_sshminion_configuration["hostnames"]) > 0 ? var.alma9_sshminion_configuration["hostnames"][0] : null
+ liberty9_minion = length(var.liberty9_minion_configuration["hostnames"]) > 0 ? var.liberty9_minion_configuration["hostnames"][0] : null
+ liberty9_sshminion = length(var.liberty9_sshminion_configuration["hostnames"]) > 0 ? var.liberty9_sshminion_configuration["hostnames"][0] : null
oracle9_minion = length(var.oracle9_minion_configuration["hostnames"]) > 0 ? var.oracle9_minion_configuration["hostnames"][0] : null
oracle9_sshminion = length(var.oracle9_sshminion_configuration["hostnames"]) > 0 ? var.oracle9_sshminion_configuration["hostnames"][0] : null
rhel9_minion = length(var.rhel9_minion_configuration["hostnames"]) > 0 ? var.rhel9_minion_configuration["hostnames"][0] : null
rhel9_sshminion = length(var.rhel9_sshminion_configuration["hostnames"]) > 0 ? var.rhel9_sshminion_configuration["hostnames"][0] : null
+ rocky8_minion = length(var.rocky8_minion_configuration["hostnames"]) > 0 ? var.rocky8_minion_configuration["hostnames"][0] : null
+ rocky8_sshminion = length(var.rocky8_sshminion_configuration["hostnames"]) > 0 ? var.rocky8_sshminion_configuration["hostnames"][0] : null
+ rocky9_minion = length(var.rocky9_minion_configuration["hostnames"]) > 0 ? var.rocky9_minion_configuration["hostnames"][0] : null
+ rocky9_sshminion = length(var.rocky9_sshminion_configuration["hostnames"]) > 0 ? var.rocky9_sshminion_configuration["hostnames"][0] : null
ubuntu1604_minion = length(var.ubuntu1604_minion_configuration["hostnames"]) > 0 ? var.ubuntu1604_minion_configuration["hostnames"][0] : null
ubuntu1604_sshminion = length(var.ubuntu1604_sshminion_configuration["hostnames"]) > 0 ? var.ubuntu1604_sshminion_configuration["hostnames"][0] : null
ubuntu1804_minion = length(var.ubuntu1804_minion_configuration["hostnames"]) > 0 ? var.ubuntu1804_minion_configuration["hostnames"][0] : null
diff --git a/modules/controller/variables.tf b/modules/controller/variables.tf
index 9cf59a3ab..c2f49f4e3 100644
--- a/modules/controller/variables.tf
+++ b/modules/controller/variables.tf
@@ -342,6 +342,20 @@ variable "centos7_client_configuration" {
}
}
+variable "liberty9_minion_configuration" {
+ description = "use module..configuration, see main.tf.libvirt-testsuite.example"
+ default = {
+ hostnames = []
+ }
+}
+
+variable "liberty9_sshminion_configuration" {
+ description = "use module..configuration, see main.tf.libvirt-testsuite.example"
+ default = {
+ hostnames = []
+ }
+}
+
variable "rocky8_minion_configuration" {
description = "use module..configuration, see main.tf.libvirt-testsuite.example"
default = {
diff --git a/salt/controller/bashrc b/salt/controller/bashrc
index 0ca2cb6a6..6b4c084ca 100644
--- a/salt/controller/bashrc
+++ b/salt/controller/bashrc
@@ -57,22 +57,24 @@ export {{ hostname }}="{{ name }}.{{ grains.get('domain') }}"
{% if grains.get('slemicro53_minion') | default(false, true) %}export SLEMICRO53_MINION="{{ grains.get('slemicro53_minion') }}" {% else %}# no SLEMICRO53 minion defined {% endif %}
{% if grains.get('slemicro53_sshminion') | default(false, true) %}export SLEMICRO53_SSHMINION="{{ grains.get('slemicro53_sshminion') }}" {% else %}# no SLEMICRO53 ssh minion defined {% endif %}
{% if grains.get('sle15sp4_client') | default(false, true) %}export SLE15SP4_CLIENT="{{ grains.get('sle15sp4_client') }}" {% else %}# no SLE15SP4 client defined {% endif %}
+{% if grains.get('alma9_minion') | default(false, true) %}export ALMA9_MINION="{{ grains.get('alma9_minion') }}" {% else %}# no ALMA9 minion defined {% endif %}
+{% if grains.get('alma9_sshminion') | default(false, true) %}export ALMA9_SSHMINION="{{ grains.get('alma9_sshminion') }}" {% else %}# no ALMA9 ssh minion defined {% endif %}
{% if grains.get('centos6_minion') | default(false, true) %}export CENTOS6_MINION="{{ grains.get('centos6_minion') }}" {% else %}# no CENTOS6 minion defined {% endif %}
{% if grains.get('centos6_sshminion') | default(false, true) %}export CENTOS6_SSHMINION="{{ grains.get('centos6_sshminion') }}" {% else %}# no CENTOS6 ssh minion defined {% endif %}
{% if grains.get('centos6_client') | default(false, true) %}export CENTOS6_CLIENT="{{ grains.get('centos6_client') }}" {% else %}# no CENTOS6 client defined {% endif %}
{% if grains.get('centos7_minion') | default(false, true) %}export CENTOS7_MINION="{{ grains.get('centos7_minion') }}" {% else %}# no CENTOS7 minion defined {% endif %}
{% if grains.get('centos7_sshminion') | default(false, true) %}export CENTOS7_SSHMINION="{{ grains.get('centos7_sshminion') }}" {% else %}# no CENTOS7 ssh minion defined {% endif %}
{% if grains.get('centos7_client') | default(false, true) %}export CENTOS7_CLIENT="{{ grains.get('centos7_client') }}" {% else %}# no CENTOS7 client defined {% endif %}
+{% if grains.get('liberty9_minion') | default(false, true) %}export LIBERTY9_MINION="{{ grains.get('liberty9_minion') }}" {% else %}# no LIBERTY9 minion defined {% endif %}
+{% if grains.get('liberty9_sshminion') | default(false, true) %}export LIBERTY9_SSHMINION="{{ grains.get('liberty9_sshminion') }}" {% else %}# no LIBERTY9 ssh minion defined {% endif %}
+{% if grains.get('oracle9_minion') | default(false, true) %}export ORACLE9_MINION="{{ grains.get('oracle9_minion') }}" {% else %}# no ORACLE9 minion defined {% endif %}
+{% if grains.get('oracle9_sshminion') | default(false, true) %}export ORACLE9_SSHMINION="{{ grains.get('oracle9_sshminion') }}" {% else %}# no ORACLE9 ssh minion defined {% endif %}
+{% if grains.get('rhel9_minion') | default(false, true) %}export RHEL9_MINION="{{ grains.get('rhel9_minion') }}" {% else %}# no RHEL9 minion defined {% endif %}
+{% if grains.get('rhel9_sshminion') | default(false, true) %}export RHEL9_SSHMINION="{{ grains.get('rhel9_sshminion') }}" {% else %}# no RHEL9 ssh minion defined {% endif %}
{% if grains.get('rocky8_minion') | default(false, true) %}export ROCKY8_MINION="{{ grains.get('rocky8_minion') }}" {% else %}# no ROCKY8 minion defined {% endif %}
{% if grains.get('rocky8_sshminion') | default(false, true) %}export ROCKY8_SSHMINION="{{ grains.get('rocky8_sshminion') }}" {% else %}# no ROCKY8 ssh minion defined {% endif %}
{% if grains.get('rocky9_minion') | default(false, true) %}export ROCKY9_MINION="{{ grains.get('rocky9_minion') }}" {% else %}# no ROCKY9 minion defined {% endif %}
{% if grains.get('rocky9_sshminion') | default(false, true) %}export ROCKY9_SSHMINION="{{ grains.get('rocky9_sshminion') }}" {% else %}# no ROCKY9 ssh minion defined {% endif %}
-{% if grains.get('rhel9_minion') | default(false, true) %}export RHEL9_MINION="{{ grains.get('rhel9_minion') }}" {% else %}# no RHEL9 minion defined {% endif %}
-{% if grains.get('rhel9_sshminion') | default(false, true) %}export RHEL9_SSHMINION="{{ grains.get('rhel9_sshminion') }}" {% else %}# no RHEL9 ssh minion defined {% endif %}
-{% if grains.get('alma9_minion') | default(false, true) %}export ALMA9_MINION="{{ grains.get('alma9_minion') }}" {% else %}# no ALMA9 minion defined {% endif %}
-{% if grains.get('alma9_sshminion') | default(false, true) %}export ALMA9_SSHMINION="{{ grains.get('alma9_sshminion') }}" {% else %}# no ALMA9 ssh minion defined {% endif %}
-{% if grains.get('oracle9_minion') | default(false, true) %}export ORACLE9_MINION="{{ grains.get('oracle9_minion') }}" {% else %}# no ORACLE9 minion defined {% endif %}
-{% if grains.get('oracle9_sshminion') | default(false, true) %}export ORACLE9_SSHMINION="{{ grains.get('oracle9_sshminion') }}" {% else %}# no ORACLE9 ssh minion defined {% endif %}
{% if grains.get('ubuntu1604_minion') | default(false, true) %}export UBUNTU1604_MINION="{{ grains.get('ubuntu1604_minion') }}" {% else %}# no UBUNTU1604 minion defined {% endif %}
{% if grains.get('ubuntu1604_sshminion') | default(false, true) %}export UBUNTU1604_SSHMINION="{{ grains.get('ubuntu1604_sshminion') }}" {% else %}# no UBUNTU1604 ssh minion defined {% endif %}
{% if grains.get('ubuntu1804_minion') | default(false, true) %}export UBUNTU1804_MINION="{{ grains.get('ubuntu1804_minion') }}" {% else %}# no UBUNTU1804 minion defined {% endif %}
diff --git a/salt/repos/default.sls b/salt/repos/default.sls
index 623c818b7..52832b6e3 100644
--- a/salt/repos/default.sls
+++ b/salt/repos/default.sls
@@ -422,7 +422,7 @@ install_recommends:
- name: /etc/zypp/zypp.conf
- regex: solver.onlyRequires =
-{% endif %}
+{% endif %} {# grains['os'] == 'SUSE' #}
{% if grains['os_family'] == 'RedHat' %}
@@ -447,6 +447,36 @@ uyuni_key:
- file: uyuni_key
{% endif %}
+{% if release == 9 %}
+{% if salt['file.search']('/etc/os-release', 'Liberty') %}
+
+os_pool_repo:
+ pkgrepo.managed:
+ - baseurl: http://rmt.scc.suse.de/repo/SUSE/Updates/SLL/9/x86_64/update
+ - refresh: True
+
+os_as_pool_repo:
+ pkgrepo.managed:
+ - baseurl: http://rmt.scc.suse.de/repo/SUSE/Updates/SLL-AS/9/x86_64/update
+ - refresh: True
+
+os_updates_repo:
+ pkgrepo.managed:
+ - baseurl: https://rmt.scc.suse.de/repo/SUSE/Updates/SLL/9/x86_64/update/?credentials=SUSE_Liberty_Linux_x86_64
+ - refresh: True
+
+os_as_updates_repo:
+ pkgrepo.managed:
+ - baseurl: https://rmt.scc.suse.de/repo/SUSE/Updates/SLL-AS/9/x86_64/update/?credentials=SUSE_Liberty_Linux_x86_64
+ - refresh: True
+
+os_cb_updates_repo:
+ pkgrepo.managed:
+ - baseurl: https://rmt.scc.suse.de/repo/SUSE/Updates/SLL-CB/9/x86_64/update/?credentials=SUSE_Liberty_Linux_x86_64
+ - refresh: True
+{% endif %} {# salt['file.search']('/etc/os-release', 'Liberty') #}
+{% endif %} {# release == 9 #}
+
{% if not grains.get('product_version') or not grains.get('product_version').startswith('uyuni-') %}
{% set rhlike_client_tools_prefix = 'EL' %}