source: src/puppetcode/environments/test/modules/apt/examples/source.pp@ 6d3d4de

0.5 app-cordova debian/bullseye debian/jessie
Last change on this file since 6d3d4de was 1c22429, checked in by Joachim Langenbach <joachim.langenbach@…>, 10 years ago
  • gnuboat_epd adds the apt repository from gnuboat to install epd-fuse package
  • Property mode set to 100644
File size: 1023 bytes
RevLine 
[1c22429]1# Declare the apt class to manage /etc/apt/sources.list and /etc/sources.list.d
2class { 'apt': }
3
4# Install the puppetlabs apt source
5# Release is automatically obtained from lsbdistcodename fact if available.
6apt::source { 'puppetlabs':
7 location => 'http://apt.puppetlabs.com',
8 repos => 'main',
9 key => {
10 id => '47B320EB4C7C375AA9DAE1A01054B7A24BD6EC30',
11 server => 'pgp.mit.edu',
12 },
13}
14
15# test two sources with the same key
16apt::source { 'debian_testing':
17 location => 'http://debian.mirror.iweb.ca/debian/',
18 release => 'testing',
19 repos => 'main contrib non-free',
20 key => {
21 id => 'A1BD8E9D78F7FE5C3E65D8AF8B48AD6246925553',
22 server => 'subkeys.pgp.net',
23 },
24 pin => '-10',
25}
26apt::source { 'debian_unstable':
27 location => 'http://debian.mirror.iweb.ca/debian/',
28 release => 'unstable',
29 repos => 'main contrib non-free',
30 key => {
31 id => 'A1BD8E9D78F7FE5C3E65D8AF8B48AD6246925553',
32 server => 'subkeys.pgp.net',
33 },
34 pin => '-10',
35}
Note: See TracBrowser for help on using the repository browser.