1 # Declare the apt class to manage /etc/apt/sources.list and /etc/sources.list.d
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',
10 key_server => 'pgp.mit.edu',
13 # test two sources with the same key
14 apt::source { 'debian_testing':
15 location => 'http://debian.mirror.iweb.ca/debian/',
17 repos => 'main contrib non-free',
19 key_server => 'subkeys.pgp.net',
22 apt::source { 'debian_unstable':
23 location => 'http://debian.mirror.iweb.ca/debian/',
24 release => 'unstable',
25 repos => 'main contrib non-free',
27 key_server => 'subkeys.pgp.net',