Skip to content

Commit

Permalink
fix(repo): debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
SchoolGuy committed Oct 16, 2023
1 parent 8a4c394 commit 7ad925e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cobbler/package/repository.sls
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@
} %}
{%- set repo_os_releases = repo_os_name.get(cobbler.pkg.communityrepo.version).get(grains["os"]) %}
{% if cobbler.pkg.communityrepo.enabled and repo_os_releases is not None %}
{% if cobbler.pkg.communityrepo.enabled %}
{% if repo_os_releases is not None %}
{%- set repo_os_name_lookup = repo_os_releases.get(grains["osrelease"]) %}
cobbler-package-install-repo-available:
pkgrepo.managed:
Expand Down Expand Up @@ -123,3 +124,4 @@ cobbler-package-install-repo-unavailable:
Please include the following information in the issue:
{{ cobbler.pkg.communityrepo.version }}/{{ grains["os"] }}/{{ grains["osrelease"] }}
{% endif %}
{% endif %}

0 comments on commit 7ad925e

Please sign in to comment.