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 f531a0f commit 8a4c394
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cobbler/package/repository.sls
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,10 @@
"2.6.x": {},
"2.4.x": {},
} %}
{%- set repo_os_name_lookup = repo_os_name.get(cobbler.pkg.communityrepo.version).get(grains["os"]).get(grains["osrelease"]) %}
{%- set repo_os_releases = repo_os_name.get(cobbler.pkg.communityrepo.version).get(grains["os"]) %}
{% if cobbler.pkg.communityrepo.enabled and repo_os_name_lookup is not None %}
{% if cobbler.pkg.communityrepo.enabled and repo_os_releases is not None %}
{%- set repo_os_name_lookup = repo_os_releases.get(grains["osrelease"]) %}
cobbler-package-install-repo-available:
pkgrepo.managed:
{% if grains["os_family"] == "Debian" %}
Expand Down

0 comments on commit 8a4c394

Please sign in to comment.