From 97ebb2d5d50aff93b0c86e61e9d8d56941227350 Mon Sep 17 00:00:00 2001 From: "Christian G. Warden" Date: Thu, 23 Feb 2012 15:44:26 -0800 Subject: [PATCH] Test two sources with the same key --- tests/source.pp | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/tests/source.pp b/tests/source.pp index 7d7321f..4db740d 100644 --- a/tests/source.pp +++ b/tests/source.pp @@ -9,3 +9,21 @@ apt::source { 'foo': key_server => 'keyserver.ubuntu.com', pin => '600' } + +# test two sources with the same key +apt::source { "debian_testing": + location => "http://debian.mirror.iweb.ca/debian/", + release => "testing", + repos => "main contrib non-free", + key => "55BE302B", + key_server => "subkeys.pgp.net", + pin => "-10" +} +apt::source { "debian_unstable": + location => "http://debian.mirror.iweb.ca/debian/", + release => "unstable", + repos => "main contrib non-free", + key => "55BE302B", + key_server => "subkeys.pgp.net", + pin => "-10" +}