1CDIST-TYPE__ZYPPER_SERVICE(7) cdist CDIST-TYPE__ZYPPER_SERVICE(7)
2
3
4
6 cdist-type__zypper_service - Service management with zypper
7
9 zypper is usually used on SuSE systems to manage services.
10
12 uri Uri of the service
13
15 service_desc
16 If supplied, use the service_desc and not the object id as
17 description for the service.
18
19 state Either "present" or "absent", defaults to "present"
20
21 type Defaults to "ris", the standard type of services at SLES11. For
22 other values, see manpage of zypper.
23
25 remove-all-other-services
26 Drop all other services found on the target host before adding
27 the new one.
28
29 remove-all-repos
30 If supplied, remove all existing repos prior to setup the new
31 service.
32
34 # Ensure that internal SLES11 SP3 RIS is in installed and all other services and repos are discarded
35 __zypper_service INTERNAL_SLES11_SP3 --service_desc "Internal SLES11 SP3 RIS" --uri "http://path/to/your/ris/dir" --remove-all-other-services --remove-all-repos
36
37 # Ensure that internal SLES11 SP3 RIS is in installed, no changes to other services or repos
38 __zypper_service INTERNAL_SLES11_SP3 --service_desc "Internal SLES11 SP3 RIS" --uri "http://path/to/your/ris/dir"
39
40 # Drop service by uri, no changes to other services or repos
41 __zypper_service INTERNAL_SLES11_SP3 --state absent --uri "http://path/to/your/ris/dir"
42
44 Daniel Heule <hda--@--sfs.biz>
45
47 Copyright (C) 2013 Daniel Heule. You can redistribute it and/or modify
48 it under the terms of the GNU General Public License as published by
49 the Free Software Foundation, either version 3 of the License, or (at
50 your option) any later version.
51
53 ungleich GmbH 2020
54
55
56
57
586.9.4 Dec 21, 2020 CDIST-TYPE__ZYPPER_SERVICE(7)