2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# File 'manifests/params.pp', line 2
class ratticdb::params {
case $::osfamily {
'debian': {
$managingClass = 'apt'
$pythonPip = 'python-pip'
$pythonDev = 'python-dev'
$libxml2Dev = 'libxml2-dev'
$libxslt1Dev = 'libxslt1-dev'
$mysqlDev = 'libmysqlclient-dev'
$sslDev = 'libssl-dev'
$libldap2Dev = 'libldap2-dev'
$libsasl2Dev = 'libsasl2-dev'
$sslCertPath = '/etc/ssl/certs/ssl-cert-snakeoil.pem'
$sslCertKeyPath = '/etc/ssl/private/ssl-cert-snakeoil.key'
}
'redhat': {
$managingClass = 'epel'
$pythonPip = 'python2-pip'
$pythonDev = 'python-devel'
$libxml2Dev = 'libxml2-devel'
$libxslt1Dev = 'libxslt-devel'
$mysqlDev = 'mariadb-devel'
$sslDev = 'openssl-devel'
$libldap2Dev = 'openldap-devel'
$libsasl2Dev = 'cyrus-sasl-devel'
$sslCertPath = '/etc/ssl/certs/localhost.crt'
$sslCertKeyPath = '/etc/pki/tls/private/localhost.key'
}
default: {
fail('Operating system not supported')
}
}
}
|