Skip to content
Snippets Groups Projects
Commit da4b9a16 authored by Victor Chavez's avatar Victor Chavez
Browse files

oracledb::packages - added logoutput; oracledb::packages::no_tdp - added for

systems w/out TDP
parent 7477ed71
No related branches found
No related tags found
No related merge requests found
......@@ -31,10 +31,22 @@ class oracledb::packages {
# 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',
command => 'echo TDP is not installed! Install it by hand from \
/afs/ir/product/storage/TDPO_LINUX_LATEST',
logoutput => true,
unless => 'ls /opt/tivoli/tsm/client/oracle/properties/version/TSM_Data_Protection_Oracle.cmptag',
}
}
}
}
class oracledb::packages::no_tdp inherits oracledb::packages {
Exec['check el6 tdp bin installed'] {
command => 'echo you probably want the oracledb::packages class instead of \
oracledb::packages::no_tdp, or you should uninstall TDP',
logoutput => true,
onlyif => 'ls /opt/tivoli/tsm/client/oracle/properties/version/TSM_Data_Protection_Oracle.cmptag',
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment