mirror of
https://github.com/saltstack-formulas/salt-formula.git
synced 2024-11-27 20:27:53 +01:00
fix(pkgrepo): pkgrepo use cmd.shell
This commit is contained in:
parent
fa3b201773
commit
0e4b3bdf94
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user