cdist/cdist/conf/type/__pacman_conf/man.rst

76 lines
1.7 KiB
ReStructuredText
Raw Normal View History

cdist-type__pacman_conf(7)
==========================
NAME
----
cdist-type__pacman_conf - Manage pacman configuration
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
'options' for configure options section
Otherwise it specifies a repository or a plain file
2016-05-20 06:50:56 +00:00
key
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
Specifies the value which will be set against the key
OPTIONAL PARAMETERS
-------------------
2016-05-20 06:50:56 +00:00
state
'present' or 'absent', defaults to 'present'
2016-05-20 06:50:56 +00:00
file
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
2016-05-20 06:50:56 +00:00
# Manage options section in pacman.conf
__pacman_conf options_Architecture --section options --key Architecture --value auto
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"
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"
SEE ALSO
--------
2016-06-30 13:12:32 +00:00
:strong:`grep`\ (1)
AUTHORS
-------
Dominique Roux <dominique.roux4@gmail.com>
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.