Puppet Class: wls_install::ords

Defined in:
manifests/ords.pp

Summary

Class for install and config Oracle ORDS software.

Overview

wls_install::ords

See the file “LICENSE” for the full license governing this code.

Parameters:

  • version (String[1])

    The version that is installed in the used Oracle home. Puppet uses this value to decide on version specific actions.

  • source (String[1])

    Source for the operation.

  • file (String[1])

    The name of the ords install file.

  • ords_home (Stdlib::Absolutepath)

    The ords home path.

  • db_hostname (String[1])

    The hostname of the machine where the database is running.

  • db_port (Integer)

    The port of the machine where the database is running.

  • db_servicename (String[1])

    The name of the service where database is running.

  • db_sid (String[1])

    The service id of the machine where the database is running.

  • db_username (String[1])

    The name of the database user.

  • migrate_apex_rest (Boolean)

    Flag defining if APEX REST api should be migrated.

  • plsql_gateway_add (Boolean)

    Flag defining if plsql gateway should be added to weblogic.

  • rest_services_apex_add (Boolean)

    Flag defining if apex rest services should be added to weblogic.

  • rest_services_ords_add (Boolean)

    Flag defining if ords rest services should be added to weblogic.

  • schema_tablespace_default (String[1])

    The default tablespace schema.

  • schema_tablespace_temp (String[1])

    The temporary tablespace schema.

  • standalone_http_port (Integer)

    The standalone http port.

  • standalone_static_images (Boolean)

    The standalone static images.

  • user_public_password (String[1])

    The public password of the user.

  • user_tablespace_default (String[1])

    The default tablespace of the user.

  • user_tablespace_temp (String[1])

    The temporary tablespace of the user.

  • sys_user (String[1])

    The system user.

  • sys_password (String[1])

    The system user password.

  • logoutput (Variant[Enum['on_failure'], Boolean]) (defaults to: 'on_failure')

    log the outputs of Puppet exec or not. When you specify ‘true` Puppet will log all output of `exec` types. Valid values are:

    • ‘true`

    • ‘false`

    • ‘on_failure`



85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
# File 'manifests/ords.pp', line 85

class wls_install::ords (
  String[1]                            $db_hostname,
  Integer                              $db_port,
  String[1]                            $db_servicename,
  String[1]                            $db_sid,
  String[1]                            $db_username,
  String[1]                            $file,
  Boolean                              $migrate_apex_rest,
  Stdlib::Absolutepath                 $ords_home,
  Boolean                              $plsql_gateway_add,
  Boolean                              $rest_services_apex_add,
  Boolean                              $rest_services_ords_add,
  String[1]                            $schema_tablespace_default,
  String[1]                            $schema_tablespace_temp,
  String[1]                            $source,
  Integer                              $standalone_http_port,
  Boolean                              $standalone_static_images,
  String[1]                            $sys_password,
  String[1]                            $sys_user,
  String[1]                            $user_public_password,
  String[1]                            $user_tablespace_default,
  String[1]                            $user_tablespace_temp,
  String[1]                            $version,
  Variant[Enum['on_failure'], Boolean] $logoutput       = 'on_failure'
) {
  easy_type::debug_evaluation() # Show local variable on extended debug

  wls_install::ords::software_version { $version:
    source    => $source,
    file      => $file,
    ords_home => $ords_home,
    logoutput => $logoutput,
  }
  -> wls_install::ords::config { $ords_home:
    db_hostname               => $db_hostname,
    db_port                   => $db_port,
    db_servicename            => $db_servicename,
    db_sid                    => $db_sid,
    db_username               => $db_username,
    migrate_apex_rest         => $migrate_apex_rest,
    plsql_gateway_add         => $plsql_gateway_add,
    rest_services_apex_add    => $rest_services_apex_add,
    rest_services_ords_add    => $rest_services_ords_add,
    schema_tablespace_default => $schema_tablespace_default,
    schema_tablespace_temp    => $schema_tablespace_temp,
    standalone_http_port      => $standalone_http_port,
    standalone_static_images  => $standalone_static_images,
    user_public_password      => $user_public_password,
    user_tablespace_default   => $user_tablespace_default,
    user_tablespace_temp      => $user_tablespace_temp,
    sys_user                  => $sys_user,
    sys_password              => $sys_password,
  }
}