1 # Apt module for Puppet
4 Provides helpful definitions for dealing with Apt.
9 Install the build depends of a specified package.
11 apt::builddep { "glusterfs-server": }
15 Force a package to be installed from a specific release. Useful when using repositories like Debian unstable in Ubuntu.
17 apt::force { "glusterfs-server":
18 release => "unstable",
20 require => Apt::Source["debian_unstable"],
25 Add an apt pin for a certain release.
27 apt::pin { "karmic": priority => 700 }
28 apt::pin { "karmic-updates": priority => 700 }
29 apt::pin { "karmic-security": priority => 700 }
33 Add a ppa repository using `add-apt-repository`. Somewhat experimental.
35 apt::ppa { "ppa:drizzle-developers/ppa": }
39 Set the default apt release. Useful when using repositories like Debian unstable in Ubuntu.
41 apt::release { "karmic": }
45 Add an apt source to `/etc/apt/sources.list.d/`.
47 apt::source { "debian_unstable":
48 location => "http://debian.mirror.iweb.ca/debian/",
49 release => "unstable",
50 repos => "main contrib non-free",
51 required_packages => "debian-keyring debian-archive-keyring",
53 key_server => "subkeys.pgp.net",
59 This source will configure your system for the Puppet Labs APT repository.
61 apt::source { 'puppetlabs':
62 location => 'http://apt.puppetlabs.com',
65 key_server => 'pgp.mit.edu',
70 Add a key to the list of keys used by apt to authenticate packages.
72 apt::key { "puppetlabs":
74 key_server => "pgp.mit.edu",
81 key_source => "http://pkg.jenkins-ci.org/debian/jenkins-ci.org.key",
85 Note that use of the "key_source" parameter requires wget to be installed and working.
89 A lot of great people have contributed to this module. A somewhat current list follows.
90 Ben Godfrey <ben.godfrey@wonga.com>
91 Christian G. Warden <cwarden@xerus.org>
92 Dan Bode <bodepd@gmail.com> <dan@puppetlabs.com>
93 Garrett Honeycutt <github@garretthoneycutt.com>
94 Jeff Wallace <jeff@evolvingweb.ca> <jeff@tjwallace.ca>
95 Ken Barber <ken@bob.sh>
96 Matthaus Litteken <matthaus@puppetlabs.com> <mlitteken@gmail.com>
97 Matthias Pigulla <mp@webfactory.de>
98 Monty Taylor <mordred@inaugust.com>
99 Peter Drake <pdrake@allplayers.com>
100 Reid Vandewiele <marut@cat.pdx.edu>
101 Robert Navarro <rnavarro@phiivo.com>
102 Ryan Coleman <ryan@puppetlabs.com>
103 Scott McLeod <scott.mcleod@theice.com>
104 Spencer Krum <spencer@puppetlabs.com>
105 William Van Hevelingen <blkperl@cat.pdx.edu> <wvan13@gmail.com>
106 Zach Leslie <zach@puppetlabs.com>