2 # Copyright (C) 2009 Jeremy Baumont
4 # This program is free software: you can redistribute it and/or modify
5 # it under the terms of the GNU General Public License as published by
6 # the Free Software Foundation, either version 3 of the License, or
7 # (at your option) any later version.
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 # GNU General Public License for more details.
14 # You should have received a copy of the GNU General Public License
15 # along with this program. If not, see <http://www.gnu.org/licenses/>.
19 class oracle
::system_packages {
21 case $operatingsystem {
24 case $oracle_major_version {
28 $system_packages = ["SUNWarc", "SUNWbtool", "SUNWhea", "SUNWlibm", "SUNWlibms", "SUNWsprot", "SUNWtoo", "SUNWi1of", "SUNWi1cs", "SUNWi15cs", "SUNWxwfnt", "SUNWsprox"]
31 $system_packages = ["SUNWarc", "SUNWbtool", "SUNWhea", "SUNWlibm", "SUNWlibms", "SUNWsprot", "SUNWtoo", "SUNWi1of", "SUNWi1cs", "SUNWi15cs", "SUNWxwfnt"]
34 fail("INFO - the architecture $architecture is not
35 yet supported by class system_packages.")
42 $system_packages = ["SUNWarc", "SUNWbtool", "SUNWhea", "SUNWlibm", "SUNWlibms", "SUNWsprot", "SUNWtoo", "SUNWi1of", "SUNWxwfnt"]
45 $system_packages = ["SUNWarc", "SUNWbtool", "SUNWhea", "SUNWlibm", "SUNWlibms", "SUNWsprot", "SUNWtoo", "SUNWi1of", "SUNWxwfnt"]
49 fail("INFO - the architecture $architecture is not
50 yet supported by class system_packages.")
56 fail("INFO - the oracle version $oracle_major_version is not
57 yet support by class system_packages.")
63 notify
{"INFO - the operating system is ${operatingsystem}": }
64 notify
{"INFO - the architecture is ${architecture}": }
65 notify
{"INFO - the architecture is ${oracle_major_version}": }
66 notify
{"INFO - the list of packages required is ${system_packages}": }
68 package
{ $ystem_packages: ensure => installed
, provider
=> $sun_provider }
70 }# end of class oracle::system_packages