How to add a new rpm package repo via saltstack?
I checked the docs, and only see method to list, modify or delete repos:
I would like to do this:
root@server# zypper ar https://myserver/my-funny-repo-url.repo
zypper_repo: pkgrepo.managed: - mirrorlist: https://myserver/my-funny-repo-url.repo - failhard: True
CommandExecutionError: Zypper command failure: Repository 'zypper_repo' is invalid.
Valid metadata not found at specified URL Please check if the URIs defined for this repository are pointing to a valid repository. Skipping repository 'zypper_repo' because of the above error. Some of the repositories have not been refreshed because of an error.