Skip to content

Commit

Permalink
install python-instance-billing-flavor-check on buildhost
Browse files Browse the repository at this point in the history
  • Loading branch information
mcalmer committed Oct 29, 2023
1 parent 76d2707 commit 1c17627
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
9 changes: 9 additions & 0 deletions salt/build_host/init.sls
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,17 @@ update_ca_truststore_registry_build_host:
- onchanges:
- file: certificate_authority_certificate

{% elif '15' in grains['osrelease'] %}

{# Do not run update-ca-certificates on SLE 15 because there is #}
{# already a systemd unit that watches for changes and runs it: #}
{# /usr/lib/systemd/system/ca-certificates.path #}

{% if "opensuse" not in grains['oscodename']|lower %}

cloud_flavor_check:
pkg.installed:
- name: python-instance-billing-flavor-check

{% endif %}
{% endif %}
10 changes: 10 additions & 0 deletions salt/repos/build_host.sls
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,16 @@ containers_updates_repo:
{% set sle_version_path = '15-SP5' %}
{% endif %}

cloud_pool_repo:
pkgrepo.managed:
- baseurl: http://{{ grains.get("mirror") | default("download.suse.de/ibs", true) }}/SUSE/Products/SLE-Module-Public-Cloud/{{ sle_version_path }}/x86_64/product/
- refresh: True

cloud_updates_repo:
pkgrepo.managed:
- baseurl: http://{{ grains.get("mirror") | default("download.suse.de/ibs", true) }}/SUSE/Updates/SLE-Module-Public-Cloud/{{ sle_version_path }}/x86_64/update/
- refresh: True

containers_pool_repo:
pkgrepo.managed:
- baseurl: http://{{ grains.get("mirror") | default("download.suse.de/ibs", true) }}/SUSE/Products/SLE-Module-Containers/{{ sle_version_path }}/x86_64/product/
Expand Down

0 comments on commit 1c17627

Please sign in to comment.