X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=examples%2Fsource.pp;h=c4791af5e14a25758cb18ee43e2ef749251fec13;hb=refs%2Fheads%2Ftrusted-contributors;hp=c20b59662a0e4ac2a8644dd8adb37ca7363cf0b3;hpb=463a61c0ab85e93d7d8c0dca90784570a39d83f7;p=puppet-modules%2Fpuppetlabs-apt.git diff --git a/examples/source.pp b/examples/source.pp index c20b596..c4791af 100644 --- a/examples/source.pp +++ b/examples/source.pp @@ -2,28 +2,34 @@ class { 'apt': } # Install the puppetlabs apt source -# Release is automatically obtained from lsbdistcodename fact if available. +# Release is automatically obtained from facts. apt::source { 'puppetlabs': - location => 'http://apt.puppetlabs.com', - repos => 'main', - key => '4BD6EC30', - key_server => 'pgp.mit.edu', + location => 'http://apt.puppetlabs.com', + repos => 'main', + key => { + id => '6F6B15509CF8E59E6E469F327F438280EF8D349F', + server => 'keyserver.ubuntu.com', + }, } # test two sources with the same key apt::source { 'debian_testing': - location => 'http://debian.mirror.iweb.ca/debian/', - release => 'testing', - repos => 'main contrib non-free', - key => '46925553', - key_server => 'subkeys.pgp.net', - pin => '-10', + location => 'http://debian.mirror.iweb.ca/debian/', + release => 'testing', + repos => 'main contrib non-free', + key => { + id => 'A1BD8E9D78F7FE5C3E65D8AF8B48AD6246925553', + server => 'keyserver.ubuntu.com', + }, + pin => '-10', } apt::source { 'debian_unstable': - location => 'http://debian.mirror.iweb.ca/debian/', - release => 'unstable', - repos => 'main contrib non-free', - key => '46925553', - key_server => 'subkeys.pgp.net', - pin => '-10', + location => 'http://debian.mirror.iweb.ca/debian/', + release => 'unstable', + repos => 'main contrib non-free', + key => { + id => 'A1BD8E9D78F7FE5C3E65D8AF8B48AD6246925553', + server => 'keyserver.ubuntu.com', + }, + pin => '-10', }