EOX GitLab Instance

Commit dee381ac authored by Marko Locher's avatar Marko Locher
Browse files

extracted repository configuration to the buildtools module

all eox packages require these 3 repositories to be enabled
parent f626c58c
class buildtools {
include 'repos'
$home = '/home/vagrant'
File {
......@@ -11,6 +13,7 @@ class buildtools {
package { 'redhat-rpm-config': ensure => 'latest' }
package { 'make': ensure => 'latest' }
package { 'gcc': ensure => 'latest' }
package { 'gcc-c++': ensure => 'latest' }
file { $home: ensure => directory }
file { "${home}/.rpmmacros":
......
class repos {
# missing repositories elgis & epel
package { 'epel-release':
provider => 'rpm',
ensure => 'installed',
source => 'http://fedora.aau.at/epel/6/i386/epel-release-6-8.noarch.rpm'
}
package { 'elgis-release':
provider => 'rpm',
ensure => 'installed',
source => 'http://elgis.argeo.org/repos/6/elgis-release-6-6_0.noarch.rpm'
}
package { 'eox-release':
provider => 'rpm',
ensure => 'installed',
source => 'http://yum.packages.eox.at/el/eox-release-6-2.noarch.rpm'
}
exec { 'yum_clean':
command => '/usr/bin/yum clean all',
refreshonly => true,
subscribe => [
Package['epel-release'],
Package['elgis-release'],
Package['eox-release']
]
}
}
\ No newline at end of file
class rasdaman {
# missing repositories elgis & epel
package { 'epel-release':
provider => 'rpm',
ensure => 'installed',
source => 'http://fedora.aau.at/epel/6/i386/epel-release-6-8.noarch.rpm'
}
package { 'elgis-release':
provider => 'rpm',
ensure => 'installed',
source => 'http://elgis.argeo.org/repos/6/elgis-release-6-6_0.noarch.rpm'
}
exec { 'yum_clean':
command => '/usr/bin/yum clean all',
refreshonly => true,
subscribe => [
Package['epel-release'],
Package['elgis-release']
]
}
package { 'bison': ensure => 'latest', require => [ Package['epel-release'], Package['elgis-release'] ] }
package { 'libtiff-devel': ensure => 'latest', require => [ Package['epel-release'], Package['elgis-release'] ] }
package { 'hdf-devel': ensure => 'latest', require => [ Package['epel-release'], Package['elgis-release'] ] }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment