CDIST-TYPE__ZYPPER_REPO(7) | cdist | CDIST-TYPE__ZYPPER_REPO(7) |
cdist-type__zypper_repo - Repository management with zypper
zypper is usually used on the SuSE distribution to manage repositories.
None
# Ensure testrepo in installed __zypper_repo testrepo --state present --uri http://url.to.your.repo/with/path # Drop repo by repo uri __zypper_repo testrepo --state absent --uri http://url.to.your.repo/with/path # Drop repo by id number (attention: repos are always numbered from 1 to max) __zypper_repo testrepo --state absent --repo_id 1 # enable repo by id __zypper_repo testrepo2 --state enabled --repo_id 2 # enable repo by uri __zypper_repo testrepo3 --state enabled --uri http://url.to.your.repo/with/path # disable a repo works like enabling it __zypper_repo testrepo4 --state disabled --repo_id 4
Daniel Heule <hda--@--sfs.biz>
Copyright (C) 2013 Daniel Heule. You can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
ungleich GmbH 2021
January 15, 2023 | 7.0.0 |