chef/cookbooks/postgresql/attributes/yum_pgdg_packages.rb
2016-02-19 18:09:49 +01:00

453 lines
14 KiB
Ruby

# The PostgreSQL RPM Building Project built repository RPMs for easy
# access to the PGDG yum repositories. Links to RPMs for installation
# on the supported version/platform combinations are listed at
# http://yum.postgresql.org/repopackages.php, and the links for
# PostgreSQL 9.2, 9.3 and 9.4 are captured below.
#
default['postgresql']['pgdg']['repo_rpm_url'] = {
"9.4" => {
"redhat" => {
"7" => {
"x86_64" => {
"url" => "http://yum.postgresql.org/9.4/redhat/rhel-7-x86_64/",
"package" => "pgdg-redhat94-9.4-1.noarch.rpm"
}
},
"6" => {
"i386" => {
"url" => "http://yum.postgresql.org/9.4/redhat/rhel-6-i386/",
"package" => "pgdg-redhat94-9.4-1.noarch.rpm"
},
"x86_64" => {
"url" => "http://yum.postgresql.org/9.4/redhat/rhel-6-x86_64/",
"package" => "pgdg-redhat94-9.4-1.noarch.rpm"
}
},
"5" => {
"i386" => {
"url" => "http://yum.postgresql.org/9.4/redhat/rhel-5-i386/",
"package" => "pgdg-redhat94-9.4-1.noarch.rpm"
},
"x86_64" => {
"url" => "http://yum.postgresql.org/9.4/redhat/rhel-5-x86_64/",
"package" => "pgdg-redhat94-9.4-1.noarch.rpm"
}
}
},
"centos" => {
"7" => {
"x86_64" => {
"url" => "http://yum.postgresql.org/9.4/redhat/rhel-7-x86_64/",
"package" => "pgdg-centos94-9.4-1.noarch.rpm"
}
},
"6" => {
"i386" => {
"url" => "http://yum.postgresql.org/9.4/redhat/rhel-6-i386/",
"package" => "pgdg-centos94-9.4-1.noarch.rpm"
},
"x86_64" => {
"url" => "http://yum.postgresql.org/9.4/redhat/rhel-6-x86_64/",
"package" => "pgdg-centos94-9.4-1.noarch.rpm"
}
},
"5" => {
"x86_64" => {
"url" => "http://yum.postgresql.org/9.4/redhat/rhel-5-x86_64/",
"package" => "pgdg-centos94-9.4-1.noarch.rpm"
},
"i386" => {
"url" => "http://yum.postgresql.org/9.4/redhat/rhel-5-i386/",
"package" => "pgdg-centos94-9.4-1.noarch.rpm"
}
}
},
"fedora" => {
"22" => {
"x86_64" => {
"url" => "http://yum.postgresql.org/9.4/fedora/fedora-22-x86_64/",
"package" => "pgdg-fedora94-9.4-3.noarch.rpm"
}
},
"21" => {
"x86_64" => {
"url" => "http://yum.postgresql.org/9.4/fedora/fedora-21-x86_64/",
"package" => "pgdg-fedora94-9.4-2.noarch.rpm"
},
"i386" => {
"url" => "http://yum.postgresql.org/9.4/fedora/fedora-21-i686/",
"package" => "pgdg-fedora94-9.4-2.noarch.rpm"
}
},
"20" => {
"x86_64" => {
"url" => "http://yum.postgresql.org/9.4/fedora/fedora-20-x86_64/",
"package" => "pgdg-fedora94-9.4-1.noarch.rpm"
},
"i386" => {
"url" => "http://yum.postgresql.org/9.4/fedora/fedora-20-i686/",
"package" => "pgdg-fedora94-9.4-1.noarch.rpm"
}
}
},
"amazon" => {
"2015" => {
"i386" => {
"url" => "http://yum.postgresql.org/9.4/redhat/rhel-6-i386/",
"package" => "pgdg-ami201503-94-9.4-1.noarch.rpm"
},
"x86_64" => {
"url" => "http://yum.postgresql.org/9.4/redhat/rhel-6-x86_64/",
"package" => "pgdg-ami201503-94-9.4-1.noarch.rpm"
}
}
},
"scientific" => {
"7" => {
"x86_64" => {
"url" => "http://yum.postgresql.org/9.4/redhat/rhel-7-x86_64/",
"package" => "pgdg-sl94-9.4-1.noarch.rpm"
}
},
"6" => {
"i386" => {
"url" => "http://yum.postgresql.org/9.4/redhat/rhel-6-i386/",
"package" => "pgdg-sl94-9.4-1.noarch.rpm"
},
"x86_64" => {
"url" => "http://yum.postgresql.org/9.4/redhat/rhel-6-x86_64/",
"package" => "pgdg-sl94-9.4-1.noarch.rpm"
}
},
"5" => {
"i386" => {
"url" => "http://yum.postgresql.org/9.4/redhat/rhel-5-i386/",
"package" => "pgdg-sl94-9.4-1.noarch.rpm"
},
"x86_64" => {
"url" => "http://yum.postgresql.org/9.4/redhat/rhel-5-x86_64/",
"package" => "pgdg-sl94-9.4-1.noarch.rpm"
}
}
},
"oracle" => {
"7" => {
"x86_64" => {
"url" => "http://yum.postgresql.org/9.4/redhat/rhel-7-x86_64/",
"package" => "pgdg-oraclelinux94-9.4-1.noarch.rpm"
}
},
"6" => {
"i386" => {
"url" => "http://yum.postgresql.org/9.4/redhat/rhel-6-i386/",
"package" => "pgdg-oraclelinux94-9.4-1.noarch.rpm"
},
"x86_64" => {
"url" => "http://yum.postgresql.org/9.4/redhat/rhel-6-x86_64/",
"package" => "pgdg-oraclelinux94-9.4-1.noarch.rpm"
}
}
}
},
"9.3" => {
"amazon" => {
"2015" => {
"i386" => {
"url" => "http://yum.postgresql.org/9.3/redhat/rhel-6-i386/",
"package" => "pgdg-redhat93-9.3-1.noarch.rpm"
},
"x86_64" => {
"url" => "http://yum.postgresql.org/9.3/redhat/rhel-6-x86_64/",
"package" => "pgdg-redhat93-9.3-1.noarch.rpm"
}
},
"2014" => {
"i386" => {
"url" => "http://yum.postgresql.org/9.3/redhat/rhel-6-i386/",
"package" => "pgdg-redhat93-9.3-1.noarch.rpm"
},
"x86_64" => {
"url" => "http://yum.postgresql.org/9.3/redhat/rhel-6-x86_64/",
"package" => "pgdg-redhat93-9.3-1.noarch.rpm"
}
},
"2013" => {
"i386" => {
"url" => "http://yum.postgresql.org/9.3/redhat/rhel-6-i386/",
"package" => "pgdg-redhat93-9.3-1.noarch.rpm"
},
"x86_64" => {
"url" => "http://yum.postgresql.org/9.3/redhat/rhel-6-x86_64/",
"package" => "pgdg-redhat93-9.3-1.noarch.rpm"
}
}
},
"centos" => {
"7" => {
"x86_64" => {
"url" => "http://yum.postgresql.org/9.3/redhat/rhel-7-x86_64/",
"package" => "pgdg-centos93-9.3-1.noarch.rpm"
}
},
"6" => {
"i386" => {
"url" => "http://yum.postgresql.org/9.3/redhat/rhel-6-i386/",
"package" => "pgdg-centos93-9.3-1.noarch.rpm"
},
"x86_64" => {
"url" => "http://yum.postgresql.org/9.3/redhat/rhel-6-x86_64/",
"package" => "pgdg-centos93-9.3-1.noarch.rpm"
}
},
"5" => {
"i386" => {
"url" => "http://yum.postgresql.org/9.3/redhat/rhel-5-i386/",
"package" => "pgdg-centos93-9.3-1.noarch.rpm"
},
"x86_64" => {
"url" => "http://yum.postgresql.org/9.3/redhat/rhel-5-x86_64/",
"package" => "pgdg-centos93-9.3-1.noarch.rpm"
}
}
},
"redhat" => {
"7" => {
"x86_64" => {
"url" => "http://yum.postgresql.org/9.3/redhat/rhel-7-x86_64/",
"package" => "pgdg-redhat93-9.3-1.noarch.rpm"
}
},
"6" => {
"i386" => {
"url" => "http://yum.postgresql.org/9.3/redhat/rhel-6-i386/",
"package" => "pgdg-redhat93-9.3-1.noarch.rpm",
},
"x86_64" => {
"url" => "http://yum.postgresql.org/9.3/redhat/rhel-6-x86_64/",
"package" => "pgdg-redhat93-9.3-1.noarch.rpm"
}
},
"5" => {
"i386" => {
"url" => "http://yum.postgresql.org/9.3/redhat/rhel-5-i386/",
"package" => "pgdg-redhat93-9.3-1.noarch.rpm"
},
"x86_64" => {
"url" => "http://yum.postgresql.org/9.3/redhat/rhel-5-x86_64/",
"package" => "pgdg-redhat93-9.3-1.noarch.rpm"
}
}
},
"oracle" => {
"6" => {
"i386" => {
"url" => "http://yum.postgresql.org/9.3/redhat/rhel-6-i386/",
"package" => "pgdg-redhat93-9.3-1.noarch.rpm"
},
"x86_64" => {
"url" => "http://yum.postgresql.org/9.3/redhat/rhel-6-x86_64/",
"package" => "pgdg-redhat93-9.3-1.noarch.rpm"
}
},
"5" => {
"i386" => {
"url" => "http://yum.postgresql.org/9.3/redhat/rhel-5-i386/",
"package" => "pgdg-redhat93-9.3-1.noarch.rpm"
},
"x86_64" => {
"url" => "http://yum.postgresql.org/9.3/redhat/rhel-5-x86_64/",
"package" => "pgdg-redhat93-9.3-1.noarch.rpm"
}
}
},
"scientific" => {
"6" => {
"i386" => {
"url" => "http://yum.postgresql.org/9.3/redhat/rhel-6-i386/",
"package" => "pgdg-sl93-9.3-1.noarch.rpm"
},
"x86_64" => {
"url" => "http://yum.postgresql.org/9.3/redhat/rhel-6-x86_64/",
"package" => "pgdg-sl93-9.3-1.noarch.rpm"
}
},
"5" => {
"i386" => {
"url" => "http://yum.postgresql.org/9.3/redhat/rhel-5-i386/",
"package" => "pgdg-sl93-9.3-1.noarch.rpm"
},
"x86_64" => {
"url" => "http://yum.postgresql.org/9.3/redhat/rhel-5-x86_64/",
"package" => "pgdg-sl93-9.3-1.noarch.rpm"
}
}
},
"fedora" => {
"20" => {
"x86_64" => {
"url" => "http://yum.postgresql.org/9.3/fedora/fedora-20-x86_64/",
"pakcage" => "pgdg-fedora93-9.3-1.noarch.rpm"
}
},
"19" => {
"x86_64" => {
"url" => "http://yum.postgresql.org/9.3/fedora/fedora-19-x86_64/",
"pakcage" => "pgdg-fedora93-9.3-1.noarch.rpm"
}
},
"18" => {
"i386" => {
"url" => "http://yum.postgresql.org/9.3/fedora/fedora-18-i386/",
"package" => "pgdg-fedora93-9.3-1.noarch.rpm"
},
"x86_64" => {
"url" => "http://yum.postgresql.org/9.3/fedora/fedora-18-x86_64/",
"package" => "pgdg-fedora93-9.3-1.noarch.rpm"
}
},
"17" => {
"i386" => {
"url" => "http://yum.postgresql.org/9.3/fedora/fedora-17-i386/",
"package" => "pgdg-fedora93-9.3-1.noarch.rpm"
},
"x86_64" => {
"url" => "http://yum.postgresql.org/9.3/fedora/fedora-17-x86_64/",
"package" => "pgdg-fedora93-9.3-1.noarch.rpm"
}
}
}
},
"9.2" => {
"centos" => {
"6" => {
"i386" => {
"url" => "http://yum.postgresql.org/9.2/redhat/rhel-6-i386/",
"package" => "pgdg-centos92-9.2-7.noarch.rpm"
},
"x86_64" => {
"url" => "http://yum.postgresql.org/9.2/redhat/rhel-6-x86_64/",
"package" => "pgdg-centos92-9.2-7.noarch.rpm"
}
},
"5" => {
"i386" => {
"url" => "http://yum.postgresql.org/9.2/redhat/rhel-5-i386/",
"package" => "pgdg-centos92-9.2-7.noarch.rpm"
},
"x86_64" => {
"url" => "http://yum.postgresql.org/9.2/redhat/rhel-5-x86_64/",
"package" => "pgdg-centos92-9.2-7.noarch.rpm"
}
}
},
"redhat" => {
"6" => {
"i386" => {
"url" => "http://yum.postgresql.org/9.2/redhat/rhel-6-i386/",
"package" => "pgdg-redhat92-9.2-7.noarch.rpm"
},
"x86_64" => {
"url" => "http://yum.postgresql.org/9.2/redhat/rhel-6-x86_64/",
"package" => "pgdg-redhat92-9.2-7.noarch.rpm"
}
},
"5" => {
"i386" => {
"url" => "http://yum.postgresql.org/9.2/redhat/rhel-5-i386/",
"package" => "pgdg-redhat92-9.2-7.noarch.rpm"
},
"x86_64" => {
"url" => "http://yum.postgresql.org/9.2/redhat/rhel-5-x86_64/",
"package" => "pgdg-redhat92-9.2-7.noarch.rpm"
}
}
},
"oracle" => {
"6" => {
"i386" => {
"url" => "http://yum.postgresql.org/9.2/redhat/rhel-6-i386/",
"package" => "pgdg-redhat92-9.2-7.noarch.rpm"
},
"x86_64" => {
"url" => "http://yum.postgresql.org/9.2/redhat/rhel-6-x86_64/",
"package" => "pgdg-redhat92-9.2-7.noarch.rpm"
}
},
"5" => {
"i386" => {
"url" => "http://yum.postgresql.org/9.2/redhat/rhel-5-i386/",
"package" => "pgdg-redhat92-9.2-7.noarch.rpm"
},
"x86_64" => {
"url" => "http://yum.postgresql.org/9.2/redhat/rhel-5-x86_64/",
"package" => "pgdg-redhat92-9.2-7.noarch.rpm"
}
}
},
"scientific" => {
"6" => {
"i386" => {
"url" => "http://yum.postgresql.org/9.2/redhat/rhel-6-i386/",
"package" => "pgdg-sl92-9.2-8.noarch.rpm"
},
"x86_64" => {
"url" => "http://yum.postgresql.org/9.2/redhat/rhel-6-x86_64/",
"package" => "pgdg-sl92-9.2-8.noarch.rpm"
}
},
"5" => {
"i386" => {
"url" => "http://yum.postgresql.org/9.2/redhat/rhel-5-i386/",
"package" => "pgdg-sl92-9.2-8.noarch.rpm"
},
"x86_64" => {
"url" => "http://yum.postgresql.org/9.2/redhat/rhel-5-x86_64/",
"package" => "pgdg-sl92-9.2-8.noarch.rpm"
}
}
},
"fedora" => {
"19" => {
"i386" => {
"url" => "http://yum.postgresql.org/9.2/fedora/fedora-19-i386/",
"package" => "pgdg-fedora92-9.2-6.noarch.rpm"
},
"x86_64" => {
"url" => "http://yum.postgresql.org/9.2/fedora/fedora-19-x86_64/",
"package" => "pgdg-fedora92-9.2-6.noarch.rpm"
}
},
"18" => {
"i386" => {
"url" => "http://yum.postgresql.org/9.2/fedora/fedora-18-i386/",
"package" => "pgdg-fedora92-9.2-6.noarch.rpm"
},
"x86_64" => {
"url" => "http://yum.postgresql.org/9.2/fedora/fedora-18-x86_64/",
"package" => "pgdg-fedora92-9.2-6.noarch.rpm"
}
},
"17" => {
"i386" => {
"url" => "http://yum.postgresql.org/9.2/fedora/fedora-17-i386/",
"package" => "pgdg-fedora92-9.2-6.noarch.rpm"
},
"x86_64" => {
"url" => "http://yum.postgresql.org/9.2/fedora/fedora-17-x86_64/",
"package" => "pgdg-fedora92-9.2-5.noarch.rpm"
}
},
"16" => {
"i386" => {
"url" => "http://yum.postgresql.org/9.2/fedora/fedora-16-i386/",
"package" => "pgdg-fedora92-9.2-5.noarch.rpm"
},
"x86_64" => {
"url" => "http://yum.postgresql.org/9.2/fedora/fedora-16-x86_64/",
"package" => "pgdg-fedora92-9.2-5.noarch.rpm"
}
}
}
}
}