]> review.fuel-infra Code Review - puppet-modules/puppetlabs-apt.git/commitdiff
Test two sources with the same key
authorChristian G. Warden <cwarden@xerus.org>
Thu, 23 Feb 2012 23:44:26 +0000 (15:44 -0800)
committerChristian G. Warden <cwarden@xerus.org>
Thu, 23 Feb 2012 23:44:26 +0000 (15:44 -0800)
tests/source.pp

index 7d7321f74eb837eaa8c1bd14a2f79a685b55b58a..4db740d4175e903f43b3b8a4de59bd4b4c969018 100644 (file)
@@ -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"
+}