Pārlūkot izejas kodu

Merge pull request #534 from aboe76/feature/fix_suse_pkgrepo

fix(pkgrepo): pkgrepo use cmd.shell
tags/v1.10.3
Imran Iqbal pirms 2 gadiem
vecāks
revīzija
8f0c7ac161
Revīzijas autora e-pasta adrese nav piesaistīta nevienam kontam
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      salt/pkgrepo/suse/install.sls

+ 1
- 1
salt/pkgrepo/suse/install.sls Parādīt failu

@@ -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

Notiek ielāde…
Atcelt
Saglabāt