Skip to content

Commit

Permalink
fix(pkgrepo): pkgrepo use cmd.shell
Browse files Browse the repository at this point in the history
  • Loading branch information
aboe76 committed Apr 13, 2022
1 parent fa3b201 commit 0e4b3bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion salt/pkgrepo/suse/install.sls
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
{#- 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` #}
{%- 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:
pkgrepo.managed:
- name: systemsmanagement_saltstack_products
Expand Down

0 comments on commit 0e4b3bd

Please sign in to comment.