Puppet Class: wls_profile::admin_server::fmw_cluster

Inherits:
wls_profile
Defined in:
manifests/admin_server/fmw_cluster.pp

Overview

wls_profile::weblogic::fmw_cluster

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

Parameters:

  • custom_trust (Boolean)
  • jsse_enabled (Boolean)
  • trust_keystore_file (Optional[String[1]])
  • trust_keystore_passphrase (Optional[Easy_type::Password]) (defaults to: undef)
  • logoutput (Variant[Boolean,Enum['on_failure']]) (defaults to: lookup({ name => 'logoutput', default_value => 'on_failure' }))


8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# File 'manifests/admin_server/fmw_cluster.pp', line 8

class wls_profile::admin_server::fmw_cluster (
  Boolean                             $custom_trust,
  Boolean                             $jsse_enabled,
  Optional[String[1]]                 $trust_keystore_file,
  Optional[Easy_type::Password]       $trust_keystore_passphrase = undef,
  Variant[Boolean,Enum['on_failure']] $logoutput = lookup({ name => 'logoutput', default_value => 'on_failure' }),
) inherits wls_profile {
  echo { "Setting up fusion middleware for cluster ${$wls_profile::cluster_name}":
    withpath => false,
  }

  $soa_enabled = $wls_profile::install_type in ['soa', 'soa_bpm', 'osb_soa', 'osb_soa_bpm']
  $bpm_enabled = $wls_profile::install_type in ['bpm', 'soa_bpm', 'osb_soa_bpm', 'wc_wcc_bpm']
  $osb_enabled = $wls_profile::install_type in ['osb', 'osb_soa', 'osb_soa_bpm']
  $bam_enabled = $wls_profile::install_type in ['bam']
  $oam_enabled = $wls_profile::install_type in ['oam']
  $oim_enabled = $wls_profile::install_type in ['oim']
  $b2b_enabled = $wls_profile::install_type in ['b2b']
  $ess_enabled = $wls_profile::install_type in ['ess']
  $bi_enabled = $wls_profile::install_type in ['bi']

  # lint:ignore:variable_scope
  wls_install::utils::fmwcluster { $wls_profile::cluster_name:
    domain_name               => $wls_profile::domain_name,
    middleware_home_dir       => $middleware_home,
    wls_domains_dir           => $wls_profile::domains_dir,
    jdk_home_dir              => $jdk_home,
    weblogic_user             => $wls_profile::weblogic_user,
    weblogic_password         => $wls_profile::weblogic_password,
    adminserver_address       => $wls_profile::adminserver_address,
    adminserver_port          => $wls_profile::adminserver_port,
    soa_cluster_name          => $wls_profile::cluster_name,
    soa_enabled               => $soa_enabled,
    bpm_enabled               => $bpm_enabled,
    bam_enabled               => $bam_enabled,
    osb_enabled               => $osb_enabled,
    oam_enabled               => $oam_enabled,
    oim_enabled               => $oim_enabled,
    b2b_enabled               => $b2b_enabled,
    ess_enabled               => $ess_enabled,
    bi_enabled                => $bi_enabled,
    jsse_enabled              => $jsse_enabled,
    custom_trust              => $custom_trust,
    trust_keystore_file       => $trust_keystore_file,
    trust_keystore_passphrase => $trust_keystore_passphrase,
    os_user                   => $wls_profile::os_user,
    os_group                  => $wls_profile::os_group,
    download_dir              => $wls_profile::download_dir,
    logoutput                 => $logoutput,
  }
  # lint:endignore:variable_scope
}