X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=README.md;h=952e331c1d21e295dcd8db2aac3ef90463665ff2;hb=a5ba24695ff99ec86b8b8355cb22fbc926c903e6;hp=8beee7cf3b999b50f4243897674a902a6fcd6757;hpb=45bc6b196245ccc3685a3cbead8213e9b8e40c96;p=puppet-modules%2Fpuppetlabs-apt.git diff --git a/README.md b/README.md index 8beee7c..952e331 100644 --- a/README.md +++ b/README.md @@ -5,8 +5,14 @@ Provides helpful definitions for dealing with Apt. ## Usage +### apt:builddep +Install the build depends of a specified package. +
+apt::builddep { "glusterfs-server": } ++ ### apt::force -Force a package to be installed from a specific release. Useful when using repositoires like Debian unstable in Ubuntu. +Force a package to be installed from a specific release. Useful when using repositories like Debian unstable in Ubuntu.
apt::force { "glusterfs-server": release => "unstable", @@ -30,7 +36,7 @@ apt::ppa { "ppa:drizzle-developers/ppa": }### apt::release -Set the default apt release. Useful when using repositoires like Debian unstable in Ubuntu. +Set the default apt release. Useful when using repositories like Debian unstable in Ubuntu.
apt::release { "karmic": }@@ -39,12 +45,50 @@ apt::release { "karmic": } Add an apt source to `/etc/apt/sources.list.d/`.
apt::source { "debian_unstable": - location => "http://debian.mirror.iweb.ca/debian/", - release => "unstable", - repos => "main contrib non-free", - required_packages => "debian-keyring debian-archive-keyring", - key => "55BE302B", - key_server => "subkeys.pgp.net", - pin => "-10" + location => "http://debian.mirror.iweb.ca/debian/", + release => "unstable", + repos => "main contrib non-free", + required_packages => "debian-keyring debian-archive-keyring", + key => "55BE302B", + key_server => "subkeys.pgp.net", + pin => "-10", + include_src => true +} ++### apt::key +Add a key to the list of keys used by apt to authenticate packages. +
+apt::key { "puppetlabs": + key => "4BD6EC30", + key_server => "pgp.mit.edu", }+ +
+apt::key { "jenkins": + key => "D50582E6", + key_source => "http://pkg.jenkins-ci.org/debian/jenkins-ci.org.key", +} ++ +Note that use of the "key_source" parameter requires wget to be installed and working. + + +## Contributors +A lot of great people have contributed to this module. A somewhat current list follows. +Ben Godfrey