X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=README.md;h=5828d805ce3bcf30ca670deca4665319a4365603;hb=46606c9a2b1c9b2b29aabcbbfe40312f54d00757;hp=9c0e45cc36b8af076e3bcee12a151e237abfb0e2;hpb=1853951c0f00e4a8db3d7a28b5f6bf61c31834a6;p=puppet-modules%2Fpuppetlabs-apt.git diff --git a/README.md b/README.md index 9c0e45c..5828d80 100644 --- a/README.md +++ b/README.md @@ -157,6 +157,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. @@ -224,6 +245,7 @@ A lot of great people have contributed to this module. A somewhat current list f * Branan Purvine-Riley