This repository was archived by the owner on Jun 11, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 114
Addition of newer elasticsearch repos #109
Open
jfarcher
wants to merge
8
commits into
example42:master
Choose a base branch
from
jfarcher:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
a3b4b53
Adding elasticsearch 1.5 repo
jfarcher 5ce6825
Adding elasticsearch 1.6 repo config
jfarcher 272c6d3
adding newer logstash repo
jfarcher f976455
Adding newer postgress repository for 9.4
jfarcher 3364b3f
updated to be esx 5.5
jfarcher 3f00a72
updating vfabric to 5.3
jfarcher d322ae3
Adding new varnish 4.0 and modifying to include support for el6 and 7
jfarcher 76ac2ac
Adding updated repos for openstack icehouse, juno and kilo
jfarcher File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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', | ||
} | ||
|
||
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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', | ||
} | ||
|
||
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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', | ||
} | ||
|
||
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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, | ||
} | ||
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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, | ||
} | ||
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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, | ||
} | ||
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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, | ||
} | ||
|
||
} | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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, | ||
} | ||
|
||
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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', | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. As for vfabric |
||
) { | ||
|
||
yum::managed_yumrepo { 'vmware-tools': | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
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"