Fix gpg key checking warings after f588f26
[puppet-modules/puppetlabs-apt.git] / tests / source.pp
1 # Declare the apt class to manage /etc/apt/sources.list and /etc/sources.list.d
2 class { 'apt': }
3
4 # Install the puppetlabs apt source
5 # Release is automatically obtained from lsbdistcodename fact if available.
6 apt::source { 'puppetlabs':
7   location   => 'http://apt.puppetlabs.com',
8   repos      => 'main',
9   key        => '4BD6EC30',
10   key_server => 'pgp.mit.edu',
11 }
12
13 # test two sources with the same key
14 apt::source { 'debian_testing':
15   location   => 'http://debian.mirror.iweb.ca/debian/',
16   release    => 'testing',
17   repos      => 'main contrib non-free',
18   key        => 'A1BD8E9D78F7FE5C3E65D8AF8B48AD6246925553',
19   key_server => 'subkeys.pgp.net',
20   pin        => '-10',
21 }
22 apt::source { 'debian_unstable':
23   location   => 'http://debian.mirror.iweb.ca/debian/',
24   release    => 'unstable',
25   repos      => 'main contrib non-free',
26   key        => 'A1BD8E9D78F7FE5C3E65D8AF8B48AD6246925553',
27   key_server => 'subkeys.pgp.net',
28   pin        => '-10',
29 }