CDIST-TYPE__ZYPPER_REPO(7)
β¨ cdist-type__zypper_repo β¨
okay bestie, so this is cdist-type__zypper_repo β it's the one that handles Repository management with zypper π
πΈ DESCRIPTION πΈ
so like, zypper is usually the girl they call on the SuSE distribution when it's time to manage repositories. that's the whole vibe. she runs the repo scene over there π
π REQUIRED PARAMETERS π
None. literally none. nothing. zero. you're free π¦β¨
π OPTIONAL PARAMETERS π
stateβ one of"present"or"absent"or"enabled"or"disabled", and it defaults to"present"π«Ά here's the breakdown, no cap:presentβ make sure that the repo is available, needsuriandrepo_descfor all following states, the repo can be searched viarepo_idoruriabsentβ drop the repo if found +enabledβ a repo can have state disabled if installed via zypper service (ris), in this case, you can enable the repodisabledβ instead ofabsent(drop), a repo can also set to disabled, which makes it inaccessible
uriβ if supplied, use the uri and not the object id as repo uri.repo_descβ if supplied, use the description and not the object id as repo description, only used if the state ispresentand the repo has to be createdrepo_idβ if supplied, use the id and not the object id as repo id, can be used with stateabsent,enabledanddisabled
π EXAMPLES π
# 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
heads up bestie: that attention: repos are always numbered from 1 to max note is real β the numbering is not playing around π
π AUTHORS π
Daniel Heule <hda--@--sfs.biz> π
π COPYING π
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.
π¦ COPYRIGHT π¦
ungleich GmbH 2021
and that's the whole page, periodt π this was cdist version 7.0.0, dated Jul 31, 2022 β thanks for scrolling all the way down with me, you're the main character fr fr ππβ¨
π¦ where this page comes from
- fedora 43: cdist 7.0.0-16.fc43 Β· GPL-3.0-only
- fedora 44: cdist 7.0.0-18.fc44 Β· GPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms