Browse Source

Fix GPG key for yum.postgresl.org

The GPG key for yum.postgresql.org was in the wrong directory,
and as written, would have only supported postgres 9.2 anyway.

I looked at the yum rpms for a few other versions besides 9.2,
and they appear to be using the same GPG key.  So this commit
assumes that they all are doing so, and it sets things up
accordingly.  Hopefully this will make the yumrepo support
compatible with other versions of postgres besides 9.2, but I
haven't added that to the actual test matrix yet.
Chris Price 11 years ago
parent
commit
97af59e701
2 changed files with 1 additions and 1 deletions
  1. 0 0
      files/RPM-GPG-KEY-PGDG
  2. 1 1
      manifests/package_source/yum_postgresql_org.pp

+ 0 - 0
spec/test_module/files/RPM-GPG-KEY-PGDG-92 → files/RPM-GPG-KEY-PGDG


+ 1 - 1
manifests/package_source/yum_postgresql_org.pp

@@ -6,7 +6,7 @@ class postgresql::package_source::yum_postgresql_org(
   $package_version     = "${version_parts[0]}${version_parts[1]}"
 
   file { "/etc/pki/rpm-gpg/RPM-GPG-KEY-PGDG-${package_version}":
-      source => "puppet:///modules/postgresql_tests/RPM-GPG-KEY-PGDG-${package_version}"
+      source => "puppet:///modules/postgresql/RPM-GPG-KEY-PGDG"
   } ->
 
   yumrepo { "yum.postgresql.org":