0
0
mirror of https://github.com/saltstack-formulas/salt-formula.git synced 2024-12-27 13:13:33 +01:00
salt-formula/salt/pkgrepo
Imran Iqbal d5320a35ed
fix(pkgrepo/suse/install): avoid managing repo if it already exists
Use ugly `zypper lr --uri` hack to get around failure if the `base_url`
already exists under a different name:

```
      ID: salt-pkgrepo-install-saltstack-suse
Function: pkgrepo.managed
    Name: systemsmanagement_saltstack_products
  Result: False
 Comment: Failed to configure repo 'systemsmanagement_saltstack_products':
          Repository 'systemsmanagement_saltstack_products' already exists as 'systemsmanagement_saltstack'.
 Started: 09:28:39.154054
Duration: 2760.727 ms
```

Upstream code:

* 45cc49daed/salt/modules/zypperpkg.py (L1262-L1265)
2021-01-29 11:23:00 +00:00
..
arch fix(symlinks): replace symlinks with real files 2019-09-20 11:02:21 +11:00
debian fix(symlinks): replace symlinks with real files 2019-09-20 11:02:21 +11:00
freebsd fix(symlinks): replace symlinks with real files 2019-09-20 11:02:21 +11:00
macos fix(symlinks): replace symlinks with real files 2019-09-20 11:02:21 +11:00
redhat Merge pull request #437 from sticky-note/fix/symlinks 2019-09-21 00:22:40 +02:00
suse fix(pkgrepo/suse/install): avoid managing repo if it already exists 2021-01-29 11:23:00 +00:00
absent.sls Simplify pkgrepo logic, made possible by 3b265a544 2016-11-10 11:09:19 +03:00
init.sls feat(metastate): add metastate per community convention 2020-02-18 13:34:38 +00:00