소스 검색

Merge pull request #534 from aboe76/feature/fix_suse_pkgrepo

fix(pkgrepo): pkgrepo use cmd.shell
tags/v1.10.3
Imran Iqbal 2 년 전
부모
커밋
8f0c7ac161
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 파일 보기



{#- Resorting to this ugly hack since the state doesn't handle if the `baseurl` is {#- 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` #} 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: salt-pkgrepo-install-saltstack-suse:
pkgrepo.managed: pkgrepo.managed:
- name: systemsmanagement_saltstack_products - name: systemsmanagement_saltstack_products

Loading…
취소
저장