Puppet Class: db2_profile::database::db_startup

Defined in:
manifests/database/db_startup.pp

Summary

This class ensures that the specified instance will be started after a system reboot.

Overview

db2_profile::database::db_startup

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

Parameters:

  • instance_name (String[1])
  • location (Stdlib::Absolutepath)

    The locatin where the DB2 sofware is or will be installed.



16
17
18
19
20
21
22
23
24
25
26
27
28
29
# File 'manifests/database/db_startup.pp', line 16

class db2_profile::database::db_startup (
  String[1]             $instance_name,
  Stdlib::Absolutepath  $location
) {
  easy_type::debug_evaluation() # Show local variable on extended debug

  echo { "Ensure Instance Startup for ${instance_name} in ${location}":
    withpath => false,
  }

  db2_install::autostart_instance { $instance_name:
    location => $location,
  }
}