19. cdist-type__apt_source(7)

Manage apt sources

Steven Armstrong <steven-cdist--@--armstrong.cc>

19.1. DESCRIPTION

This cdist type allows you to manage apt sources.

19.2. REQUIRED PARAMETERS

uri
the uri to the apt repository

19.3. OPTIONAL PARAMETERS

arch
set this if you need to force and specific arch (ubuntu specific)
state
‘present’ or ‘absent’, defaults to ‘present’
distribution
the distribution codename to use. Defaults to DISTRIB_CODENAME from the targets /etc/lsb-release
component
space delimited list of components to enable. Defaults to an empty string.

19.4. BOOLEAN PARAMETERS

include-src
include deb-src entries

19.5. EXAMPLES

__apt_source rabbitmq \
   --uri http://www.rabbitmq.com/debian/ \
   --distribution testing \
   --component main \
   --include-src \
   --state present

__apt_source canonical_partner \
   --uri http://archive.canonical.com/ \
   --component partner --state present

19.6. SEE ALSO

19.7. 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).