Skip to content

Commit

Permalink
fix(repo): debuggign
Browse files Browse the repository at this point in the history
  • Loading branch information
SchoolGuy committed Oct 16, 2023
1 parent 41a116b commit 911017a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cobbler/package/repository.sls
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@
"2.4.x": {},
} %}
{%- set repo_os_name_lookup = "" %}
{#- set repo_os_name_lookup = repo_os_name.get(cobbler.pkg.communityrepo.version).get(grains["osfullname"]) %}
{%- set repo_os_name_lookup = repo_os_name.get(cobbler.pkg.communityrepo.version).get(grains["osfullname"]).get(grains["osmajorrelease"]) #}
{#- set repo_os_name_lookup = repo_os_name.get(cobbler.pkg.communityrepo.version).get(grains["os"]) %}
{%- set repo_os_name_lookup = repo_os_name.get(cobbler.pkg.communityrepo.version).get(grains["os"]).get(grains["osmajorrelease"]) #}
{% if cobbler.pkg.communityrepo.enabled %}
Expand All @@ -102,9 +102,9 @@ cobbler-package-install-repo-available:
{% endif %}
- comments:
- {{ repo_os_name.get(cobbler.pkg.communityrepo.version) }}
- {{ grains["osfullname"] }}
- {{ grains["os"] }}
- {{ grains["osmajorrelease"] }}
- {{ repo_os_name.get(cobbler.pkg.communityrepo.version).get(grains["osfullname"]) }}
- {{ repo_os_name.get(cobbler.pkg.communityrepo.version).get(grains["os"]) }}
- {# repo_os_name.get(cobbler.pkg.communityrepo.version).get(grains["osfullname"]).get(grains["osmajorrelease"]) #}
{% if grains["os_family"] not in ("RedHat", "Suse", "Debian") %}
Expand Down

0 comments on commit 911017a

Please sign in to comment.