Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
114 lines (108 sloc) 2.58 KB
# == Class: lsststack::params
#
# this class should be considered private
class lsststack::params {
$manage_repos = true
$install_dependencies = true
$install_convenience = false
$install_cc = false
case $::osfamily {
'Debian': {
$dependency_packages = [
# needed for newinstall.sh
'make',
# list from https://confluence.lsstcorp.org/display/LSWUG/Prerequisites
'bison',
'ca-certificates', # needed by curl on ubuntu
'curl',
'flex',
'git',
'libbz2-dev',
'libgl1-mesa-swx11', # needed by conda qt / pyqt packages
'libreadline6-dev',
'libx11-dev',
'libxt-dev',
'm4',
'zlib1g-dev',
# needed for shapelet tests
'libxrender1',
'libfontconfig1',
# needed by lua
'libncurses5-dev',
# needed for xrootd build
'cmake',
# needed for mysqlproxy
'libglib2.0-dev',
# needed to build zookeeper
'default-jre',
# needed to build git
'gettext',
'libcurl4-openssl-dev',
'perl-modules',
]
$cc_packages = [
'g++',
]
$convenience_packages = [
'screen',
'tmux',
'tree',
'vim',
'emacs24-nox',
]
}
'RedHat': {
$dependency_packages = [
'bison',
'blas',
'bzip2-devel',
'bzip2', # needed on el7 -- pulled in by bzip2-devel on el6?
'curl',
'flex',
'fontconfig',
'freetype-devel',
'git', # needed on el6, in @core for others?
'libuuid-devel',
'libXext',
'libXrender',
'libXt-devel',
'make',
'mesa-libGL', # needed by conda qt / pyqt packages
'openssl-devel',
'patch',
'perl',
'readline-devel',
'tar', # needed on el6, not part of @core or @base
'zlib-devel',
# needed by lua
'ncurses-devel',
# needed for xrootd build
'cmake',
# needed for mysqlproxy
'glib2-devel',
# needed to build zookeeper
'java-1.8.0-openjdk',
# needed to build git
'gettext',
'libcurl-devel',
'perl-ExtUtils-MakeMaker',
# needed to build [at least] eups
'which',
'sed',
'gawk',
]
$cc_packages = [
'gcc-c++',
'gcc-gfortran',
]
$convenience_packages = [
'screen',
'tmux',
'tree',
'vim-enhanced',
'emacs-nox'
]
}
default: { fail() }
}
}
You can’t perform that action at this time.