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 Add a key to the list of keys used by apt to authenticate packages.
61 apt::key { "puppetlabs":
63 key_server => "pgp.mit.edu",
70 key_source => "http://pkg.jenkins-ci.org/debian/jenkins-ci.org.key",
74 Note that use of the "key_source" parameter requires wget to be installed and working.
78 A lot of great people have contributed to this module. A somewhat current list follows.
79 Ben Godfrey <ben.godfrey@wonga.com>
80 Christian G. Warden <cwarden@xerus.org>
81 Dan Bode <bodepd@gmail.com> <dan@puppetlabs.com>
82 Garrett Honeycutt <github@garretthoneycutt.com>
83 Jeff Wallace <jeff@evolvingweb.ca> <jeff@tjwallace.ca>
84 Ken Barber <ken@bob.sh>
85 Matthaus Litteken <matthaus@puppetlabs.com> <mlitteken@gmail.com>
86 Matthias Pigulla <mp@webfactory.de>
87 Monty Taylor <mordred@inaugust.com>
88 Peter Drake <pdrake@allplayers.com>
89 Reid Vandewiele <marut@cat.pdx.edu>
90 Robert Navarro <rnavarro@phiivo.com>
91 Ryan Coleman <ryan@puppetlabs.com>
92 Scott McLeod <scott.mcleod@theice.com>
93 Spencer Krum <spencer@puppetlabs.com>
94 William Van Hevelingen <blkperl@cat.pdx.edu> <wvan13@gmail.com>