(#13261) Replace foo source with puppetlabs source
Prior to this commit, the source.pp test included an apt source named foo which broke the apt-get update exec when applied on a target system. This commit removes it in favor of the puppetlabs apt source which is valid on all target platforms.
This commit is contained in:
parent
1ead0bf3ab
commit
7116c7a624
1 changed files with 8 additions and 9 deletions
|
@ -1,13 +1,12 @@
|
||||||
|
# Declare the apt class to manage /etc/apt/sources.list and /etc/sources.list.d
|
||||||
class { 'apt': }
|
class { 'apt': }
|
||||||
apt::source { 'foo':
|
|
||||||
location => '',
|
# Install the puppetlabs apt source
|
||||||
release => 'karmic',
|
apt::source { 'puppetlabs':
|
||||||
repos => 'main',
|
location => 'http://apt.puppetlabs.com',
|
||||||
include_src => true,
|
repos => 'main',
|
||||||
required_packages => false,
|
key => '4BD6EC30',
|
||||||
key => false,
|
key_server => 'pgp.mit.edu',
|
||||||
key_server => 'keyserver.ubuntu.com',
|
|
||||||
pin => '600',
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# test two sources with the same key
|
# test two sources with the same key
|
||||||
|
|
Loading…
Reference in a new issue