X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=README.md;h=581277bde051039e1a6a8c0f93b843f6920d2e64;hb=6f10890dadd5743c0648e7d8224f412cc4d282a6;hp=138bfa496f05b05a6ee3bcc12847c448ceac4193;hpb=3917e080f36daaa087caef83d81555be5e970c7d;p=puppet-modules%2Fpuppetlabs-apt.git diff --git a/README.md b/README.md index 138bfa4..581277b 100644 --- a/README.md +++ b/README.md @@ -215,6 +215,27 @@ If you would like to configure your system so the source is the Puppet Labs APT key_server => 'pgp.mit.edu', } + +#### Hiera example +
+apt::sources: + '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' + include_src: 'true' + + 'puppetlabs': + location: 'http://apt.puppetlabs.com' + repos: 'main' + key: '4BD6EC30' + key_server: 'pgp.mit.edu' ++ ### Testing The APT module is mostly a collection of defined resource types, which provide reusable logic that can be leveraged to manage APT. It does provide smoke tests for testing functionality on a target system, as well as spec tests for checking a compiled catalog against an expected set of resources. @@ -282,6 +303,7 @@ A lot of great people have contributed to this module. A somewhat current list f * Branan Purvine-Riley