fix(pkgrepo): pkgrepo use cmd.shell

This commit is contained in:
Niels Abspoel 2022-04-13 22:52:43 +02:00
parent fa3b201773
commit 0e4b3bdf94
No known key found for this signature in database
GPG Key ID: F6A13959FCCB25B2
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@
{#- Resorting to this ugly hack since the state doesn't handle if the `baseurl` is {#- Resorting to this ugly hack since the state doesn't handle if the `baseurl` is
already configured under another name, such as used by the `salt-bootstrap` #} already configured under another name, such as used by the `salt-bootstrap` #}
{%- if not salt["cmd.run"]("zypper lr --uri | grep " ~ salt_settings.pkgrepo) %} {%- if not salt["cmd.shell"]("zypper lr --uri | grep " ~ salt_settings.pkgrepo) %}
salt-pkgrepo-install-saltstack-suse: salt-pkgrepo-install-saltstack-suse:
pkgrepo.managed: pkgrepo.managed:
- name: systemsmanagement_saltstack_products - name: systemsmanagement_saltstack_products