X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=README.md;h=5ab4275a3896a110091eaa064d5320322ac9e796;hb=ea6a84f336d5bb7e2ccab04cc6b2a4b2722b503d;hp=1c9591dcb71779a26205661f2531cecf0a57a898;hpb=2778c8588e2df11e16a20075fedd9b9a93f6dbd5;p=puppet-modules%2Fpuppetlabs-apt.git diff --git a/README.md b/README.md index 1c9591d..5ab4275 100644 --- a/README.md +++ b/README.md @@ -150,16 +150,21 @@ apt::source { 'puppetlabs': ### Configure Apt from Hiera +Instead of specifying your sources directly as resources, you can instead just +include the `apt` class, which will pick up the values automatically from +hiera. + ~~~yaml apt::sources: 'debian_unstable': + comment: 'This is the iWeb Debian unstable mirror' location: 'http://debian.mirror.iweb.ca/debian/' release: 'unstable' repos: 'main contrib non-free' + pin: '-10' key: - id: '9AA38DCD55BE302B' + id: 'A1BD8E9D78F7FE5C3E65D8AF8B48AD6246925553' server: 'subkeys.pgp.net' - pin: '-10' include: src: true deb: true