瀏覽代碼

fix(pkgrepo): pkgrepo use cmd.shell

tags/v1.10.3
Niels Abspoel 2 年之前
父節點
當前提交
0e4b3bdf94
No account linked to committer's email address
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      salt/pkgrepo/suse/install.sls

+ 1
- 1
salt/pkgrepo/suse/install.sls 查看文件

@@ -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…
取消
儲存