We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 24477c5 commit 1c33602Copy full SHA for 1c33602
linux/system/repo.sls
@@ -140,7 +140,7 @@ linux_repo_{{ name }}:
140
{%- if repo.key_server is defined %}
141
- keyserver: {{ repo.key_server }}
142
{%- endif %}
143
- {%- if repo.key_url is defined and grains['saltversioninfo'] >= [2017, 7] %}
+ {%- if repo.key_url is defined and (grains['saltversioninfo'] >= [2017, 7] or repo.key_url.startswith('salt://')) %}
144
- key_url: {{ repo.key_url }}
145
146
- consolidate: {{ repo.get('consolidate', False) }}
0 commit comments