Puppet Class: ibm_profile::iib_machine::software

Inherits:
ibm_profile
Defined in:
manifests/iib_machine/software.pp

Summary

This class allows you to setup your IIB software on your system.

Overview

--

ibm_profile::iib_machine::software

–++–

Parameters:

  • version (Pattern[/\d+\.\d+\.\d+\.\d/])

    The version of IIB to install.

  • source_location (String)

    The location where the IIB installation can find the siftware distribution. This can be a:

    • directory

    • http url

    • puppet url

  • iib_os_user (String)

    The OS user to use for the installation of the IIB software. The default is: ‘iibadmin`



23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# File 'manifests/iib_machine/software.pp', line 23

class ibm_profile::iib_machine::software(
  Pattern[/\d+\.\d+\.\d+\.\d/] $version,
  String                       $source_location,
  String                       $iib_os_user,
) inherits ibm_profile {
  echo {"IIB version ${version} software from ${source_location}":
    withpath => false,
  }

  iib_install::software {$version:
    source_location => $source_location,
  }

  -> iib_instance { $version:
    ensure         => 'present',
    os_user        => $iib_os_user,
    home_directory => "/opt/IBM/iib-${version}",
  }

}