1
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
|
# File 'manifests/params.pp', line 1
class myst::params {
$myst_config = ''
$myst_action = 'version'
$myst_properties = {}
$myst_web_enable = false
$myst_jenkins_enable = false
$environment_enable = false
$package_ensure = installed
$myst_version = '2.4.3.0-SNAPSHOT'
$myst_installer = "puppet:///modules/myst/myst-installer-${myst_version}-install.jar"
case $::osfamily {
'Linux', 'AIX', 'Debian', 'RedHat', 'SuSE', 'FreeBSD', 'Archlinux', 'Gentoo' : {
$myst_home = '/u01/app/oracle/admin/myst'
$myst_workspace_home = '/u01/app/oracle/admin/myst/lib'
}
'Darwin' : {
$myst_home = '/Applications/myst'
$myst_workspace_home = '/Applications/myst/lib'
}
'windows' : {
$myst_home = 'C:/RubiconRed/MyST'
$myst_workspace_home = 'C:/RubiconRed/MyST/lib'
fail("The ${module_name} module is not supported on an ${::osfamily} based system.")
}
default : {
fail("The ${module_name} module is not supported on an ${::osfamily} based system.")
}
}
}
|