Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: * https://github.com/saltstack/salt/blob/45cc49daed1618dbe89e1f012128c8dcab00b356/salt/modules/zypperpkg.py#L1262-L1265
- Loading branch information