Newer
Older
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
32
33
34
35
36
37
38
39
40
# oracledb packages
class oracledb::packages {
package {
[ 'binutils',
'control-center',
'gcc',
'gcc-c++',
'glibc',
'glibc-common',
'glibc-devel',
'glibc-headers',
'libgcc',
'libaio',
'make',
'sysstat',
'xorg-x11-xauth', ]:
ensure => present;
}
## TDPO rpms exist only for el4 and 5. Only BIN exists for el6, so install
## by hand.
case $::lsbmajdistrelease {
'4','5' : {
package { [
'stanford-TDPO',
'TDP-Oracle',
'TDP-Oracle.Utility'
]:
ensure => present,
}
}
# rhel6 will give you an error if tdp BIN file not installed
default: {
exec { 'check el6 tdp bin installed':
command => 'echo TDP is not installed! Install it by hand from \
/afs/ir/product/storage/TDPO_LINUX_LATEST',
unless => 'ls /opt/tivoli/tsm/client/oracle/properties/version/TSM_Data_Protection_Oracle.cmptag',
}
}
}
}