Skip to content
This repository was archived by the owner on Jun 11, 2019. It is now read-only.

Addition of newer elasticsearch repos #109

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions manifests/repo/elasticsearch15.pp
Original file line number Diff line number Diff line change
@@ -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',
}

}
18 changes: 18 additions & 0 deletions manifests/repo/elasticsearch16.pp
Original file line number Diff line number Diff line change
@@ -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',
}

}
18 changes: 18 additions & 0 deletions manifests/repo/logstash15.pp
Original file line number Diff line number Diff line change
@@ -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',
}

}
27 changes: 27 additions & 0 deletions manifests/repo/openstack_icehouse.pp
Original file line number Diff line number Diff line change
@@ -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,
}
}
16 changes: 16 additions & 0 deletions manifests/repo/openstack_juno.pp
Original file line number Diff line number Diff line change
@@ -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,
}
}
16 changes: 16 additions & 0 deletions manifests/repo/openstack_kilo.pp
Original file line number Diff line number Diff line change
@@ -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,
}
}
20 changes: 20 additions & 0 deletions manifests/repo/pgdg94.pp
Original file line number Diff line number Diff line change
@@ -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,
}

}

17 changes: 17 additions & 0 deletions manifests/repo/varnish4.pp
Original file line number Diff line number Diff line change
@@ -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,
}

}
6 changes: 3 additions & 3 deletions manifests/repo/vfabric.pp
Original file line number Diff line number Diff line change
Expand Up @@ -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]}",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe it's better to create a new vfabric53 class or, maybe better, expose here a parameter "version" and use it in the code (default value should be 5.2 to keep th same behaviour"

priority => 1,
}

Expand Down
2 changes: 1 addition & 1 deletion manifests/repo/vmware_tools.pp
Original file line number Diff line number Diff line change
@@ -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',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As for vfabric

) {

yum::managed_yumrepo { 'vmware-tools':
Expand Down