This file is indexed.

/usr/share/doc/cdist/html/_sources/man7/cdist-type__zypper_repo.txt is in cdist-doc 4.4.1-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
cdist-type__zypper_repo(7)
==========================

NAME
----
cdist-type__zypper_repo - Repository management with zypper


DESCRIPTION
-----------
zypper is usually used on the SuSE distribution to manage repositories.


REQUIRED PARAMETERS
-------------------
None


OPTIONAL PARAMETERS
-------------------
state
    Either "present" or "absent" or "enabled" or "disabled", defaults to "present"

    * **present**  - make sure that the repo is available, needs uri and repo_desc for all following states, the repo can be searched via repo_id or uri
    * **absent**   - 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 repo
    * **disabled** - instead of absent (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 is present and the repo has to be created

repo_id
    If supplied, use the id and not the object id as repo id, can be used with state absent, enabled and disabled


EXAMPLES
--------

.. code-block:: sh

    # 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


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.