1CDIST-TYPE__PACMAN_CONF(7)           cdist          CDIST-TYPE__PACMAN_CONF(7)
2
3
4

NAME

6       cdist-type__pacman_conf - Manage pacman configuration
7

DESCRIPTION

9       The type allows you to configure options section, add or delete reposi‐
10       tories and manage mirrorlists
11

REQUIRED PARAMETERS

13       section
14              'options' for configure options section
15
16              Otherwise it specifies a repository or a plain file
17
18       key    Specifies the key which will be set
19
20              If section = 'options' or file  is  not  set  the  key  will  be
21              checked against available keys from pacman.conf
22
23       value  Specifies the value which will be set against the key
24

OPTIONAL PARAMETERS

26       state  'present' or 'absent', defaults to 'present'
27
28       file   Specifies the filename.
29
30              The managed file will be named like 'plain_file_filename'
31
32              If supplied the key will not be checked.
33

EXAMPLES

35          # Manage options section in pacman.conf
36          __pacman_conf options_Architecture --section options --key Architecture --value auto
37
38          # Add new repository
39          __pacman_conf localrepo_Server --section localrepo --key Server --value "file:///var/cache/pacman/pkg"
40
41          # Add mirror to a mirrorlist
42          __pacman_conf customlist_Server --file customlist --section customlist --key Server\
43              --value "file:///var/cache/pacman/pkg"
44

SEE ALSO

46       grep(1)
47

AUTHORS

49       Dominique Roux <dominique.roux4@gmail.com>
50

COPYING

52       Copyright  (C) 2015 Dominique Roux. You can redistribute it and/or mod‐
53       ify it under the terms of the GNU General Public License  as  published
54       by  the  Free  Software Foundation, either version 3 of the License, or
55       (at your option) any later version.
56
58       ungleich GmbH 2020
59
60
61
62
636.9.4                            Dec 21, 2020       CDIST-TYPE__PACMAN_CONF(7)
Impressum