Skip to content
Snippets Groups Projects
Unverified Commit 8f0c7ac1 authored by Imran Iqbal's avatar Imran Iqbal Committed by GitHub
Browse files

Merge pull request #534 from aboe76/feature/fix_suse_pkgrepo

fix(pkgrepo): pkgrepo use cmd.shell
parents fa3b2017 0e4b3bdf
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment