From 7116c7a62494789ed377c45a4efe21b8a6a1264c Mon Sep 17 00:00:00 2001 From: Ryan Coleman Date: Tue, 20 Mar 2012 14:52:43 -0700 Subject: [PATCH] (#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. --- tests/source.pp | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/tests/source.pp b/tests/source.pp index a8702cf..9ebcd52 100644 --- a/tests/source.pp +++ b/tests/source.pp @@ -1,13 +1,12 @@ +# Declare the apt class to manage /etc/apt/sources.list and /etc/sources.list.d class { 'apt': } -apt::source { 'foo': - location => '', - release => 'karmic', - repos => 'main', - include_src => true, - required_packages => false, - key => false, - key_server => 'keyserver.ubuntu.com', - pin => '600', + +# Install the puppetlabs apt source +apt::source { 'puppetlabs': + location => 'http://apt.puppetlabs.com', + repos => 'main', + key => '4BD6EC30', + key_server => 'pgp.mit.edu', } # test two sources with the same key -- 2.32.3