cdist/cdist/conf/type/__apt_source/man.rst

68 lines
1.3 KiB
ReStructuredText
Raw Normal View History

cdist-type__apt_source(7)
=========================
NAME
----
cdist-type__apt_source - Manage apt sources
DESCRIPTION
-----------
This cdist type allows you to manage apt sources.
REQUIRED PARAMETERS
-------------------
2016-05-20 06:50:56 +00:00
uri
the uri to the apt repository
OPTIONAL PARAMETERS
-------------------
2016-05-20 06:50:56 +00:00
arch
set this if you need to force and specific arch (ubuntu specific)
2016-05-20 06:50:56 +00:00
state
'present' or 'absent', defaults to 'present'
2016-05-20 06:50:56 +00:00
distribution
the distribution codename to use. Defaults to DISTRIB_CODENAME from
the targets /etc/lsb-release
2016-05-20 06:50:56 +00:00
component
space delimited list of components to enable. Defaults to an empty string.
BOOLEAN PARAMETERS
------------------
2016-05-20 06:50:56 +00:00
include-src
include deb-src entries
EXAMPLES
--------
2016-05-20 06:50:56 +00:00
.. code-block:: sh
__apt_source rabbitmq \
--uri http://www.rabbitmq.com/debian/ \
--distribution testing \
--component main \
--include-src \
--state present
2016-05-20 06:50:56 +00:00
__apt_source canonical_partner \
--uri http://archive.canonical.com/ \
--component partner --state present
AUTHORS
-------
Steven Armstrong <steven-cdist--@--armstrong.cc>
COPYING
-------
Copyright \(C) 2011-2014 Steven Armstrong. Free use of this software is
granted under the terms of the GNU General Public License version 3 (GPLv3).