Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

install python-instance-billing-flavor-check on buildhost #1417

Merged
merged 1 commit into from
Oct 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading