EOX GitLab Instance

Commit 48771b76 authored by Marko Locher's avatar Marko Locher
Browse files

Merge branch 'gdal_builder' of /home/git/repositories/vagrant/builder_rpm

parents b451b164 fcab44bd
......@@ -16,8 +16,15 @@ class repos {
source => 'http://yum.packages.eox.at/el/6/stable/noarch/eox-release-6-2.noarch.rpm'
}
$yfmcnf="/etc/yum/pluginconf.d/fastestmirror.conf"
exec{ 'exclude_tuwien' :
command => "/bin/ex -c '/^exclude:/d' -c wq ${yfmcnf} ; /bin/sh -c 'echo exclude: gd.tuwien.ac.at >> ${yfmcnf}'",
before => Exec['yum_clean']
}
exec { 'yum_clean':
command => '/usr/bin/yum clean all',
command => '/usr/bin/yum clean all ; /usr/bin/yum makecache',
refreshonly => true,
subscribe => [
Package['epel-release'],
......
class gdal-ras {
# this VM serves for re-building of Rasdaman-enabled gdal
# RPM packages
Package {
require => [
Augeas['enable_eox-testing'],
Exec['yum_clean_all2']
]
}
# enable EOX-testing repository
augeas { 'enable_eox-testing':
context => '/files/etc/yum.repos.d/eox-testing.repo',
changes => [
'set eox-testing/enabled 1',
'set eox-testing-source/enabled 1',
'set eox-testing-noarch/enabled 1',
],
before => Exec['yum_clean_all2'],
}
exec { 'yum_clean_all2':
command => '/usr/bin/yum clean all ; /usr/bin/yum makecache',
}
package { 'ant': ensure => 'latest' }
# package { 'atlas-devel': ensure => 'latest' }
package { 'cfitsio-devel': ensure => 'latest' }
package { 'chrpath': ensure => 'latest' }
package { 'doxygen': ensure => 'latest' }
package { 'geos-devel': ensure => 'latest' }
package { 'ghostscript': ensure => 'latest' }
package { 'giflib-devel': ensure => 'latest' }
package { 'hdf5-devel': ensure => 'latest' }
package { 'hdf-devel': ensure => 'latest' }
package { 'jasper-devel': ensure => 'latest' }
package { 'java-1.5.0-gcj-devel': ensure => 'latest' }
package { 'java-1.6.0-openjdk-devel': ensure => 'latest' }
package { 'jpackage-utils': ensure => 'latest' }
package { 'libcurl-devel': ensure => 'latest' }
package { 'libdap-devel': ensure => 'latest' }
package { 'libgeotiff-devel': ensure => 'latest' }
package { 'libjpeg-turbo-devel': ensure => 'latest' }
package { 'libpng-devel': ensure => 'latest' }
package { 'librx-devel': ensure => 'latest' }
package { 'libspatialite-devel': ensure => 'latest' }
package { 'libtiff-devel': ensure => 'latest' }
package { 'libtool': ensure => 'latest' }
package { 'mysql-devel': ensure => 'latest' }
package { 'netcdf-devel': ensure => 'latest' }
package { 'numpy': ensure => 'latest' }
package { 'ogdi-devel': ensure => 'latest' }
package { 'perl-ExtUtils-MakeMaker': ensure => 'latest' }
package { 'pkgconfig': ensure => 'latest' }
package { 'postgresql-devel': ensure => 'latest' }
package { 'proj-devel': ensure => 'latest' }
package { 'python-devel': ensure => 'latest' }
package { 'rasdaman-devel': ensure => 'latest' }
package { 'ruby': ensure => 'latest' }
package { 'ruby-devel': ensure => 'latest' }
package { 'sqlite-devel': ensure => 'latest' }
package { 'swig': ensure => 'latest' }
package { 'texlive-latex': ensure => 'latest' }
package { 'unixODBC-devel': ensure => 'latest' }
package { 'xerces-c-devel': ensure => 'latest' }
package { 'zlib-devel': ensure => 'latest' }
}
class gdal-shibboleth {
# this VM serves for re-building of Shibboleth-friendly
# Rasdaman-enabled gdal RPM packages
Package {
require => [
Yumrepo['security:shibboleth'],
Augeas['enable_eox-testing']
Augeas['enable_eox-testing'],
Exec['shib_yum_clean_all']
]
}
......@@ -14,7 +19,7 @@ class gdal-shibboleth {
'set eox-testing-source/enabled 1',
'set eox-testing-noarch/enabled 1',
],
notify => Exec['shib_yum_clean_all'],
before => Exec['shib_yum_clean_all'],
}
# enable security:shibboleth to install libxerces-c-devel
......@@ -24,48 +29,53 @@ class gdal-shibboleth {
enabled => 1,
gpgcheck => 1,
gpgkey => "http://download.opensuse.org/repositories/security:/shibboleth/RHEL_6/repodata/repomd.xml.key",
notify => Exec['shib_yum_clean_all'],
before => Exec['shib_yum_clean_all'],
}
exec { 'shib_yum_clean_all':
command => '/usr/bin/yum clean all',
refreshonly => true,
command => '/usr/bin/yum clean all ; /usr/bin/yum makecache'
}
package { 'python-devel': ensure => 'latest' }
package { 'numpy': ensure => 'latest' }
package { 'libpng-devel': ensure => 'latest' }
package { 'giflib-devel': ensure => 'latest' }
package { 'libjpeg-turbo-devel': ensure => 'latest' }
package { 'libtiff-devel': ensure => 'latest' }
package { 'ant': ensure => 'latest' }
# package { 'atlas-devel': ensure => 'latest' }
package { 'cfitsio-devel': ensure => 'latest' }
package { 'chrpath': ensure => 'latest' }
package { 'doxygen': ensure => 'latest' }
package { 'texlive-latex': ensure => 'latest' }
package { 'geos-devel': ensure => 'latest' }
package { 'ghostscript': ensure => 'latest' }
package { 'jpackage-utils': ensure => 'latest' }
package { 'giflib-devel': ensure => 'latest' }
package { 'hdf5-devel': ensure => 'latest' }
package { 'hdf-devel': ensure => 'latest' }
package { 'jasper-devel': ensure => 'latest' }
package { 'cfitsio-devel': ensure => 'latest' }
package { 'java-1.5.0-gcj-devel': ensure => 'latest' }
package { 'java-1.6.0-openjdk-devel': ensure => 'latest' }
package { 'jpackage-utils': ensure => 'latest' }
package { 'libcurl-devel': ensure => 'latest' }
package { 'libdap-devel': ensure => 'latest' }
package { 'libgeotiff-devel': ensure => 'latest' }
package { 'libjpeg-turbo-devel': ensure => 'latest' }
package { 'libpng-devel': ensure => 'latest' }
package { 'librx-devel': ensure => 'latest' }
package { 'hdf-devel': ensure => 'latest' }
package { 'unixODBC-devel': ensure => 'latest' }
package { 'mysql-devel': ensure => 'latest' }
package { 'postgresql-devel': ensure => 'latest' }
package { 'libspatialite-devel': ensure => 'latest' }
package { 'proj-devel': ensure => 'latest' }
package { 'geos-devel': ensure => 'latest' }
package { 'libtiff-devel': ensure => 'latest' }
package { 'libtool': ensure => 'latest' }
package { 'libxerces-c-3_1': ensure => 'latest', require => Yumrepo['security:shibboleth'] }
package { 'libxerces-c-devel': ensure => 'latest' }
package { 'mysql-devel': ensure => 'latest' }
package { 'netcdf-devel': ensure => 'latest' }
package { 'hdf5-devel': ensure => 'latest' }
package { 'numpy': ensure => 'latest' }
package { 'ogdi-devel': ensure => 'latest' }
package { 'libgeotiff-devel': ensure => 'latest' }
package { 'libcurl-devel': ensure => 'latest' }
package { 'perl': ensure => 'latest' }
package { 'chrpath': ensure => 'latest' }
package { 'ant': ensure => 'latest' }
package { 'perl-ExtUtils-MakeMaker': ensure => 'latest' }
package { 'pkgconfig': ensure => 'latest' }
package { 'postgresql-devel': ensure => 'latest' }
package { 'proj-devel': ensure => 'latest' }
package { 'python-devel': ensure => 'latest' }
package { 'rasdaman-devel': ensure => 'latest' }
package { 'ruby': ensure => 'latest' }
package { 'ruby-devel': ensure => 'latest' }
package { 'sqlite-devel': ensure => 'latest' }
package { 'swig': ensure => 'latest' }
package { 'java-1.5.0-gcj-devel': ensure => 'latest' }
package { 'java-1.6.0-openjdk-devel': ensure => 'latest' }
package { 'libtool': ensure => 'latest' }
package { 'perl-devel': ensure => 'latest' }
package { 'libxerces-c-devel': ensure => 'latest' }
package { 'libxerces-c-3_1': ensure => 'latest', require => Yumrepo['security:shibboleth'] }
package { 'texlive-latex': ensure => 'latest' }
package { 'unixODBC-devel': ensure => 'latest' }
package { 'zlib-devel': ensure => 'latest' }
}
class gdal {
# this VM serves for re-building of the CentOS baseline
# gdal RPM packages
package { 'ant': ensure => 'latest' }
# package { 'atlas-devel': ensure => 'latest' }
package { 'cfitsio-devel': ensure => 'latest' }
package { 'chrpath': ensure => 'latest' }
package { 'doxygen': ensure => 'latest' }
package { 'geos-devel': ensure => 'latest' }
package { 'ghostscript': ensure => 'latest' }
package { 'giflib-devel': ensure => 'latest' }
package { 'hdf5-devel': ensure => 'latest' }
package { 'hdf-devel': ensure => 'latest' }
package { 'jasper-devel': ensure => 'latest' }
package { 'java-1.5.0-gcj-devel': ensure => 'latest' }
package { 'java-1.6.0-openjdk-devel': ensure => 'latest' }
package { 'jpackage-utils': ensure => 'latest' }
package { 'libcurl-devel': ensure => 'latest' }
package { 'libdap-devel': ensure => 'latest' }
package { 'libgeotiff-devel': ensure => 'latest' }
package { 'libjpeg-turbo-devel': ensure => 'latest' }
package { 'libpng-devel': ensure => 'latest' }
package { 'librx-devel': ensure => 'latest' }
package { 'libspatialite-devel': ensure => 'latest' }
package { 'libtiff-devel': ensure => 'latest' }
package { 'libtool': ensure => 'latest' }
package { 'mysql-devel': ensure => 'latest' }
package { 'netcdf-devel': ensure => 'latest' }
package { 'numpy': ensure => 'latest' }
package { 'ogdi-devel': ensure => 'latest' }
package { 'perl-ExtUtils-MakeMaker': ensure => 'latest' }
package { 'pkgconfig': ensure => 'latest' }
package { 'postgresql-devel': ensure => 'latest' }
package { 'proj-devel': ensure => 'latest' }
package { 'python-devel': ensure => 'latest' }
package { 'ruby': ensure => 'latest' }
package { 'ruby-devel': ensure => 'latest' }
package { 'sqlite-devel': ensure => 'latest' }
package { 'swig': ensure => 'latest' }
package { 'texlive-latex': ensure => 'latest' }
package { 'unixODBC-devel': ensure => 'latest' }
package { 'xerces-c-devel': ensure => 'latest' }
package { 'zlib-devel': ensure => 'latest' }
}
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