Browse Source

Test two sources with the same key

Christian G. Warden 12 years ago
parent
commit
97ebb2d
1 changed files with 18 additions and 0 deletions
  1. 18 0
      tests/source.pp

+ 18 - 0
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"
+}