From a3b4b5397e101235b092b22299e88f035d2969ed Mon Sep 17 00:00:00 2001 From: Jon Archer Date: Wed, 17 Jun 2015 21:45:28 +0100 Subject: [PATCH 1/8] Adding elasticsearch 1.5 repo --- manifests/repo/elasticsearch15.pp | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 manifests/repo/elasticsearch15.pp diff --git a/manifests/repo/elasticsearch15.pp b/manifests/repo/elasticsearch15.pp new file mode 100644 index 00000000..26bcdba2 --- /dev/null +++ b/manifests/repo/elasticsearch15.pp @@ -0,0 +1,18 @@ +# = Class: yum::repo::elasticsearch15 +# +# This class installs the elasticsearch15 repo +# +class yum::repo::elasticsearch15 ( + $baseurl = 'http://packages.elasticsearch.org/elasticsearch/1.5/centos', +) { + + yum::managed_yumrepo { 'elasticsearch-1.5': + descr => 'Elasticsearch repository for 1.5.x packages', + baseurl => $baseurl, + enabled => 1, + gpgcheck => 1, + gpgkey => 'file:///etc/pki/rpm-gpg/RPM-GPG-KEY-elasticsearch', + gpgkey_source => 'puppet:///modules/yum/rpm-gpg/RPM-GPG-KEY-elasticsearch', + } + +} From 5ce68250811375aade0ca994f41c3dab3a875b93 Mon Sep 17 00:00:00 2001 From: Jon Archer Date: Wed, 17 Jun 2015 21:47:02 +0100 Subject: [PATCH 2/8] Adding elasticsearch 1.6 repo config --- manifests/repo/elasticsearch16.pp | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 manifests/repo/elasticsearch16.pp diff --git a/manifests/repo/elasticsearch16.pp b/manifests/repo/elasticsearch16.pp new file mode 100644 index 00000000..9aa221c1 --- /dev/null +++ b/manifests/repo/elasticsearch16.pp @@ -0,0 +1,18 @@ +# = Class: yum::repo::elasticsearch16 +# +# This class installs the elasticsearch16 repo +# +class yum::repo::elasticsearch16 ( + $baseurl = 'http://packages.elasticsearch.org/elasticsearch/1.6/centos', +) { + + yum::managed_yumrepo { 'elasticsearch-1.6': + descr => 'Elasticsearch repository for 1.6.x packages', + baseurl => $baseurl, + enabled => 1, + gpgcheck => 1, + gpgkey => 'file:///etc/pki/rpm-gpg/RPM-GPG-KEY-elasticsearch', + gpgkey_source => 'puppet:///modules/yum/rpm-gpg/RPM-GPG-KEY-elasticsearch', + } + +} From 272c6d3e1726116a1831ba690542bef4e8b25be1 Mon Sep 17 00:00:00 2001 From: Jon Archer Date: Wed, 17 Jun 2015 22:25:33 +0100 Subject: [PATCH 3/8] adding newer logstash repo --- manifests/repo/logstash15.pp | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 manifests/repo/logstash15.pp diff --git a/manifests/repo/logstash15.pp b/manifests/repo/logstash15.pp new file mode 100644 index 00000000..e710051b --- /dev/null +++ b/manifests/repo/logstash15.pp @@ -0,0 +1,18 @@ +# = Class: yum::repo::logstash15 +# +# This class installs the logstash15 repo +# +class yum::repo::logstash15 ( + $baseurl = 'http://packages.elasticsearch.org/logstash/1.5/centos', +) { + + yum::managed_yumrepo { 'logstash-1.5': + descr => 'logstash repository for 1.5.x packages', + baseurl => $baseurl, + enabled => 1, + gpgcheck => 1, + gpgkey => 'file:///etc/pki/rpm-gpg/RPM-GPG-KEY-elasticsearch', + gpgkey_source => 'puppet:///modules/yum/rpm-gpg/RPM-GPG-KEY-elasticsearch', + } + +} From f976455139d9ef14c489e196674f67c78a608d1c Mon Sep 17 00:00:00 2001 From: Jon Archer Date: Wed, 17 Jun 2015 22:27:48 +0100 Subject: [PATCH 4/8] Adding newer postgress repository for 9.4 --- manifests/repo/pgdg94.pp | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 manifests/repo/pgdg94.pp diff --git a/manifests/repo/pgdg94.pp b/manifests/repo/pgdg94.pp new file mode 100644 index 00000000..6b99626d --- /dev/null +++ b/manifests/repo/pgdg94.pp @@ -0,0 +1,20 @@ +# = Class: yum::repo::pdgd94 +# +# This class installs the postgresql 9.4 repo +# +class yum::repo::pgdg94 ( + $baseurl = 'http://yum.postgresql.org/9.4/redhat/rhel-$releasever-$basearch', +) { + + yum::managed_yumrepo { 'pgdg94': + descr => 'PostgreSQL 9.4 $releasever - $basearch', + baseurl => $baseurl, + enabled => 1, + gpgcheck => 1, + gpgkey => 'file:///etc/pki/rpm-gpg/RPM-GPG-KEY-PGDG', + gpgkey_source => 'puppet:///modules/yum/rpm-gpg/RPM-GPG-KEY-PGDG', + priority => 20, + } + +} + From 3364b3f1d105f4d41aa8cbf78cc8b9ea4edb3353 Mon Sep 17 00:00:00 2001 From: Jon Archer Date: Wed, 17 Jun 2015 22:34:40 +0100 Subject: [PATCH 5/8] updated to be esx 5.5 --- manifests/repo/vmware_tools.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/repo/vmware_tools.pp b/manifests/repo/vmware_tools.pp index a11ab550..225a96e2 100644 --- a/manifests/repo/vmware_tools.pp +++ b/manifests/repo/vmware_tools.pp @@ -1,6 +1,6 @@ # class yum::repo::vmware_tools ( - $baseurl = 'http://packages.vmware.com/tools/esx/5.1latest/rhel$releasever/$basearch', + $baseurl = 'http://packages.vmware.com/tools/esx/5.5latest/rhel$releasever/$basearch', ) { yum::managed_yumrepo { 'vmware-tools': From 3f00a729fe8e027311192cd48f6215bf8198d2d8 Mon Sep 17 00:00:00 2001 From: Jon Archer Date: Wed, 17 Jun 2015 22:35:58 +0100 Subject: [PATCH 6/8] updating vfabric to 5.3 --- manifests/repo/vfabric.pp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/manifests/repo/vfabric.pp b/manifests/repo/vfabric.pp index 7e7847de..c88dc4b0 100644 --- a/manifests/repo/vfabric.pp +++ b/manifests/repo/vfabric.pp @@ -7,12 +7,12 @@ $osver = split($::operatingsystemrelease, '[.]') yum::managed_yumrepo { 'vfabric': - descr => 'vFabric 5.2 Repo - $basesearch', - baseurl => "http://repo.vmware.com/pub/rhel${osver[0]}/vfabric/5.2/\$basearch", + descr => 'vFabric 5.3 Repo - $basesearch', + baseurl => "http://repo.vmware.com/pub/rhel${osver[0]}/vfabric/5.3/\$basearch", enabled => 1, gpgcheck => 1, failovermethod => 'priority', - gpgkey => "http://repo.vmware.com/pub/rhel${osver[0]}/vfabric/5.2/RPM-GPG-KEY-VFABRIC-5.2-EL${osver[0]}", + gpgkey => "http://repo.vmware.com/pub/rhel${osver[0]}/vfabric/5.3/RPM-GPG-KEY-VFABRIC-5.3-EL${osver[0]}", priority => 1, } From d322ae35f76ca935edd938f655f5fc7c52c6b8c3 Mon Sep 17 00:00:00 2001 From: Jon Archer Date: Wed, 17 Jun 2015 22:38:07 +0100 Subject: [PATCH 7/8] Adding new varnish 4.0 and modifying to include support for el6 and 7 using releasever --- manifests/repo/varnish4.pp | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 manifests/repo/varnish4.pp diff --git a/manifests/repo/varnish4.pp b/manifests/repo/varnish4.pp new file mode 100644 index 00000000..6a03b133 --- /dev/null +++ b/manifests/repo/varnish4.pp @@ -0,0 +1,17 @@ +# = Class: yum::repo::varnish +# +# This class installs the varnish 4.0 repo +# +class yum::repo::varnish4 { + + yum::managed_yumrepo { 'varnish': + descr => 'Varnish 4.0 for Enterprise Linux $releasever - $basearch', + baseurl => 'http://repo.varnish-cache.org/redhat/varnish-4.0/$releasever/$basearch', + enabled => 1, + gpgcheck => 0, + failovermethod => 'priority', + # gpgkey => 'http://yum.theforeman.org/RPM-GPG-KEY-VARNISH', + priority => 26, + } + +} From 76ac2ac6f5f84aef8c6b289cb0f347028881c009 Mon Sep 17 00:00:00 2001 From: Jon Archer Date: Wed, 17 Jun 2015 22:53:22 +0100 Subject: [PATCH 8/8] Adding updated repos for openstack icehouse, juno and kilo --- manifests/repo/openstack_icehouse.pp | 27 +++++++++++++++++++++++++++ manifests/repo/openstack_juno.pp | 16 ++++++++++++++++ manifests/repo/openstack_kilo.pp | 16 ++++++++++++++++ 3 files changed, 59 insertions(+) create mode 100644 manifests/repo/openstack_icehouse.pp create mode 100644 manifests/repo/openstack_juno.pp create mode 100644 manifests/repo/openstack_kilo.pp diff --git a/manifests/repo/openstack_icehouse.pp b/manifests/repo/openstack_icehouse.pp new file mode 100644 index 00000000..3e52f1be --- /dev/null +++ b/manifests/repo/openstack_icehouse.pp @@ -0,0 +1,27 @@ +# = Class: yum::repo::openstack_icehouse +# +# This class installs the EPEL repo for OpenStack Icehouse +# +class yum::repo::openstack_icehouse { + +$osver = split($::operatingsystemrelease, '[.]') + case $osver[0] { + '7': { + $baseurl = 'http://repos.fedorapeople.org/repos/openstack/openstack-icehouse/epel-7' + } + '6': { + $baseurl = 'http://repos.fedorapeople.org/repos/openstack/openstack-icehouse/epel-6' + } + default: { fail('Unsupported version of Enterprise Linux') } + } + + + yum::managed_yumrepo { 'epel-openstack-icehouse': + descr => 'OpenStack Icehouse Repository for EPEL $releasever', + baseurl => $baseurl, + enabled => 1, + gpgcheck => 0, + failovermethod => 'priority', + priority => 1, + } +} diff --git a/manifests/repo/openstack_juno.pp b/manifests/repo/openstack_juno.pp new file mode 100644 index 00000000..406f7cb9 --- /dev/null +++ b/manifests/repo/openstack_juno.pp @@ -0,0 +1,16 @@ +# = Class: yum::repo::openstack_juno +# +# This class installs the EPEL-7 repo for OpenStack Juno +# +class yum::repo::openstack_juno { + + + yum::managed_yumrepo { 'epel-openstack-juno': + descr => 'OpenStack Juno Repository for EPEL-7', + baseurl => 'https://repos.fedorapeople.org/repos/openstack/openstack-juno/epel-7/', + enabled => 1, + gpgcheck => 0, + failovermethod => 'priority', + priority => 1, + } +} diff --git a/manifests/repo/openstack_kilo.pp b/manifests/repo/openstack_kilo.pp new file mode 100644 index 00000000..658c126d --- /dev/null +++ b/manifests/repo/openstack_kilo.pp @@ -0,0 +1,16 @@ +# = Class: yum::repo::openstack_kilo +# +# This class installs the EL-7 repo for OpenStack Kilo +# +class yum::repo::openstack_kilo { + + + yum::managed_yumrepo { 'epel-openstack-kilo': + descr => 'OpenStack Kilo Repository for EPEL-7', + baseurl => 'https://repos.fedorapeople.org/repos/openstack/openstack-kilo/el7/', + enabled => 1, + gpgcheck => 0, + failovermethod => 'priority', + priority => 1, + } +}