2015-05-12 12:26:38 +00:00
|
|
|
cdist-type__pacman_conf(7)
|
2015-05-12 17:12:49 +00:00
|
|
|
==========================
|
2016-06-23 14:08:59 +00:00
|
|
|
|
|
|
|
NAME
|
|
|
|
----
|
|
|
|
cdist-type__pacman_conf - Manage pacman configuration
|
2015-05-12 12:26:38 +00:00
|
|
|
|
|
|
|
|
|
|
|
DESCRIPTION
|
|
|
|
-----------
|
|
|
|
The type allows you to configure options section, add or delete repositories and manage mirrorlists
|
|
|
|
|
|
|
|
|
|
|
|
REQUIRED PARAMETERS
|
|
|
|
-------------------
|
2016-05-20 06:50:56 +00:00
|
|
|
section
|
2015-05-12 12:26:38 +00:00
|
|
|
'options' for configure options section
|
|
|
|
|
|
|
|
Otherwise it specifies a repository or a plain file
|
|
|
|
|
2016-05-20 06:50:56 +00:00
|
|
|
key
|
2015-05-12 12:26:38 +00:00
|
|
|
Specifies the key which will be set
|
|
|
|
|
|
|
|
If section = 'options' or file is not set the key will
|
|
|
|
be checked against available keys from pacman.conf
|
|
|
|
|
2016-05-20 06:50:56 +00:00
|
|
|
value
|
2015-05-12 12:26:38 +00:00
|
|
|
Specifies the value which will be set against the key
|
|
|
|
|
|
|
|
|
|
|
|
OPTIONAL PARAMETERS
|
|
|
|
-------------------
|
2016-05-20 06:50:56 +00:00
|
|
|
state
|
2015-05-12 12:26:38 +00:00
|
|
|
'present' or 'absent', defaults to 'present'
|
|
|
|
|
2016-05-20 06:50:56 +00:00
|
|
|
file
|
2015-05-12 12:26:38 +00:00
|
|
|
Specifies the filename.
|
|
|
|
|
|
|
|
The managed file will be named like 'plain_file_filename'
|
|
|
|
|
|
|
|
If supplied the key will not be checked.
|
|
|
|
|
|
|
|
|
|
|
|
EXAMPLES
|
|
|
|
--------
|
|
|
|
|
2016-05-20 06:50:56 +00:00
|
|
|
.. code-block:: sh
|
2015-05-12 12:26:38 +00:00
|
|
|
|
2016-05-20 06:50:56 +00:00
|
|
|
# Manage options section in pacman.conf
|
|
|
|
__pacman_conf options_Architecture --section options --key Architecture --value auto
|
2015-05-12 12:26:38 +00:00
|
|
|
|
2016-05-20 06:50:56 +00:00
|
|
|
# Add new repository
|
|
|
|
__pacman_conf localrepo_Server --section localrepo --key Server --value "file:///var/cache/pacman/pkg"
|
2015-05-12 12:26:38 +00:00
|
|
|
|
2016-05-20 06:50:56 +00:00
|
|
|
# Add mirror to a mirrorlist
|
|
|
|
__pacman_conf customlist_Server --file customlist --section customlist --key Server\
|
|
|
|
--value "file:///var/cache/pacman/pkg"
|
2015-05-12 12:26:38 +00:00
|
|
|
|
|
|
|
|
|
|
|
SEE ALSO
|
|
|
|
--------
|
2016-06-30 13:12:32 +00:00
|
|
|
:strong:`grep`\ (1)
|
2016-06-17 19:28:16 +00:00
|
|
|
|
|
|
|
|
|
|
|
AUTHORS
|
|
|
|
-------
|
|
|
|
Dominique Roux <dominique.roux4@gmail.com>
|
2015-05-12 12:26:38 +00:00
|
|
|
|
|
|
|
|
|
|
|
COPYING
|
|
|
|
-------
|
2016-08-12 19:58:44 +00:00
|
|
|
Copyright \(C) 2015 Dominique Roux. 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.
|