mirror of
https://github.com/saltstack-formulas/salt-formula.git
synced 2025-04-06 12:45:11 +02:00
fix(pkgrepo): New style since 3006 not 3005
This commit is contained in:
parent
916bb2903b
commit
0a8bd5fe11
@ -16,7 +16,7 @@
|
||||
|
||||
# Different salt versions have different repo's, keyrings, pubkeys and hashes.
|
||||
# 'latest' cannot be coerced into an integer and it's result will be int(0).
|
||||
{%- if salt_release.split('.')[0] | int >= 3005 or salt_release.split('.')[0] | int == 0 %}
|
||||
{%- if salt_release.split('.')[0] | int >= 3006 or salt_release.split('.')[0] | int == 0 %}
|
||||
{%- set default_repo = 'https://repo.saltproject.io/salt' %}
|
||||
{%- set default_repo_keyring_filename = 'SALT-PROJECT-GPG-PUBKEY-2023.gpg' %}
|
||||
{%- set default_repo_pubkey_filename = 'SALT-PROJECT-GPG-PUBKEY-2023.pub' %}
|
||||
|
@ -14,7 +14,7 @@
|
||||
|
||||
# Different salt versions have different repo's, keyrings, pubkeys and hashes.
|
||||
# 'latest' cannot be coerced into an integer and it's result will be int(0).
|
||||
{%- if salt_release.split('.')[0] | int >= 3005 or salt_release.split('.')[0] | int == 0 %}
|
||||
{%- if salt_release.split('.')[0] | int >= 3006 or salt_release.split('.')[0] | int == 0 %}
|
||||
{%- set default_repo = 'https://repo.saltproject.io/salt' %}
|
||||
{%- set default_repo_keyring_filename = 'SALT-PROJECT-GPG-PUBKEY-2023.gpg' %}
|
||||
{%- set default_repo_pubkey_filename = 'SALT-PROJECT-GPG-PUBKEY-2023.pub' %}
|
||||
|
@ -16,7 +16,7 @@
|
||||
|
||||
# Different salt versions have different repo's, keyrings, pubkeys and hashes.
|
||||
# 'latest' cannot be coerced into an integer and it's result will be int(0).
|
||||
{%- if salt_release.split('.')[0] | int >= 3005 or salt_release.split('.')[0] | int == 0 %}
|
||||
{%- if salt_release.split('.')[0] | int >= 3006 or salt_release.split('.')[0] | int == 0 %}
|
||||
{%- set default_repo = 'https://repo.saltproject.io/salt' %}
|
||||
{%- set default_repo_keyring_filename = 'SALT-PROJECT-GPG-PUBKEY-2023.gpg' %}
|
||||
{%- set default_repo_pubkey_filename = 'SALT-PROJECT-GPG-PUBKEY-2023.pub' %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user