Add PL Repo source to README
authorRyan Coleman <ryan@puppetlabs.com>
Tue, 2 Oct 2012 17:55:35 +0000 (10:55 -0700)
committerRyan Coleman <ryan@puppetlabs.com>
Tue, 2 Oct 2012 17:55:35 +0000 (10:55 -0700)
Prior to this commit, the only information about the Puppet Labs
repository source was in the tests folder.

This commit adds example usage for apt::source to the README for
the Puppet Labs APT repository.

README.md

index e8e5a9a305092337913d59d823a29ffc329250a2..705cb33de5be1eac3c9995fa7c893a77c5f1004f 100644 (file)
--- a/README.md
+++ b/README.md
@@ -55,6 +55,17 @@ apt::source { "debian_unstable":
   include_src       => true
 }
 </pre>
+
+This source will configure your system for the Puppet Labs APT repository.
+<pre>
+apt::source { 'puppetlabs':
+  location   => 'http://apt.puppetlabs.com',
+  repos      => 'main',
+  key        => '4BD6EC30',
+  key_server => 'pgp.mit.edu',
+}
+</pre>
+
 ### apt::key
 Add a key to the list of keys used by apt to authenticate packages.
 <pre>