Overview

Defined type to start and stop a database. [DEPRECATED]

This is defined type to start or stop a database. Usage of this type is discouraged. Please use db_control for this function.

Here is an example on how to use this:

ora_install::dbactions{ 'stop testDb':
  db_name     => 'test',
  oracle_home => '/oracle/product/11.2/db',
  user        => 'oracle',
  group       => 'dba',
  action      => 'stop',
}

Experience the Power of Puppet for Oracle

If you want to play and experiment with Puppet and Oracle, please take a look at our playgrounds. At our playgrounds, we provide you with a pre-installed environment, where you experiment fast and easy.

Attributes

Attribute Name Short Description
action The action you want to take.
db_name The database you want to do the action on.
db_type The type of service you want to manage.
grid_home The oracle home directory to use for the GRID software.
group The os group to use for these Oracle puppet definitions.
oracle_home A directory to be used as Oracle home directory for this software.
user The user used for the specified installation.

action

The action you want to take.

Valid values are:

  • start
  • running
  • stop
  • abort

Default value is: start

Type: Enum['running','start','stop','abort']

Default:'start'

Back to overview of dbactions

db_name

The database you want to do the action on.

Type: String[1]

Default:'orcl'

Back to overview of dbactions

db_type

The type of service you want to manage.

Valid values are:

  • database
  • grid
  • asm

Type: Enum['database','asm','grid']

Default:'database'

Back to overview of dbactions

grid_home

The oracle home directory to use for the GRID software.

Type: Optional[Stdlib::Absolutepath]

Default:undef

Back to overview of dbactions

group

The os group to use for these Oracle puppet definitions.

The default value is: dba

Type: String[1]

Default:'dba'

Back to overview of dbactions

oracle_home

A directory to be used as Oracle home directory for this software.

Type: Stdlib::Absolutepath

Default:undef

Back to overview of dbactions

user

The user used for the specified installation. The install class will not create the user for you. You must do that yourself.

The default value is: oracle

Type: String[1]

Default:'oracle'

Back to overview of dbactions