Overview

This defined type allows you to add an OHS instance to a WebLogic Domain and in the Enterprise Manager, optional with OHS OAM Webgate. Here is an example on how you could use this:

ora_install::utils::webtier{ 'ohs1':
  action_name       => 'create',
  instance_name     => 'ohs1',
  webgate_configure => true,
}

Experience the Power of Puppet for WebLogic

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

For WebLogic   here at our playground...

Attributes

Attribute Name Short Description
action_name Action to perform.
adminserver_address The address of the admin server.
adminserver_port The IP port the admin server is listening on.
domain_configure  
domain_name The domain name.
download_dir The directory where the Puppet software puts all downloaded files.
instance_name  
jdk_home_dir The homdirectory for the Java evelopment Kit.
logoutput log the outputs of Puppet exec or not.
machine_name Name of the weblogic machine to use.
middleware_home_dir Middleware home directory.
oamadminserverhostname  
oamadminserverport  
os_group The os group used to install and run WebLogic.
os_user The os user used to install and run WebLogic.
version The version that is installed in the used Oracle home.
webgate_agentname  
webgate_configure  
webgate_hostidentifier  
weblogic_home_dir Directory to use as WebLogic home.
weblogic_password The password of the base WebLogic user name.
weblogic_user The base WebLogic username to configure.
wls_domains_dir The root directory where all domain directories reside in.

version

The version that is installed in the used Oracle home.

Puppet uses this value to decide on version specific actions.

Type: Wls_install::Versions

Default:lookup({name => 'wls_version', default_value => 1111})

Back to overview of utils::webtier

weblogic_home_dir

Directory to use as WebLogic home.

Type: Stdlib::Absolutepath

Default:lookup({name => 'wls_weblogic_home_dir'})

Back to overview of utils::webtier

middleware_home_dir

Middleware home directory.

Type: Stdlib::Absolutepath

Default:lookup({name => 'wls_middleware_home_dir'})

Back to overview of utils::webtier

jdk_home_dir

The homdirectory for the Java evelopment Kit.

Type: Stdlib::Absolutepath

Default:lookup({name => 'wls_jdk_home_dir'})

Back to overview of utils::webtier

wls_domains_dir

The root directory where all domain directories reside in.

Type: Stdlib::Absolutepath

Default:lookup({name => 'wls_domains_dir', default_value => undef})

Back to overview of utils::webtier

domain_name

The domain name.

Type: String[1]

Default:lookup({name => 'domain_name'})

Back to overview of utils::webtier

adminserver_address

The address of the admin server. May be a DNS name or a physical IP address.

Type: String[1]

Default:lookup({name => 'domain_adminserver_address', default_value => 'localhost'})

Back to overview of utils::webtier

adminserver_port

The IP port the admin server is listening on.

Type: Integer

Default:lookup({name => 'domain_adminserver_port', default_value => 7001})

Back to overview of utils::webtier

action_name

Action to perform. Valid values are:

  • create
  • delete Type: Enum['create','delete']

Default:'create'

Back to overview of utils::webtier

webgate_configure

Type: Boolean

Default:false

Back to overview of utils::webtier

webgate_agentname

Type: Optional[String[1]]

Default:lookup({name => 'webgate_agentname', default_value => undef})

Back to overview of utils::webtier

webgate_hostidentifier

Type: Optional[String[1]]

Default:lookup({name => 'webgate_hostidentifier', default_value => undef})

Back to overview of utils::webtier

oamadminserverhostname

Type: String[1]

Default:lookup({name => 'oamadminserverhostname', default_value => 'localhost'})

Back to overview of utils::webtier

oamadminserverport

Type: Integer

Default:lookup({name => 'oamadminserverport', default_value => 7001})

Back to overview of utils::webtier

domain_configure

Type: Boolean

Default:true

Back to overview of utils::webtier

instance_name

Type: Optional[String[1]]

Default:undef

Back to overview of utils::webtier

machine_name

Name of the weblogic machine to use.

Type: Optional[String[1]]

Default:undef

Back to overview of utils::webtier

weblogic_user

The base WebLogic username to configure.

Type: String[1]

Default:lookup({name => 'wls_weblogic_user', default_value => 'weblogic'})

Back to overview of utils::webtier

weblogic_password

The password of the base WebLogic user name.

Type: Easy_type::Password

Default:lookup({name => 'domain_wls_password'})

Back to overview of utils::webtier

os_user

The os user used to install and run WebLogic.

Type: String[1]

Default:lookup({name => 'wls_os_user'})

Back to overview of utils::webtier

os_group

The os group used to install and run WebLogic.

Type: String[1]

Default:lookup({name => 'wls_os_group'})

Back to overview of utils::webtier

download_dir

The directory where the Puppet software puts all downloaded files.

Before Puppet can actually use remote files, they must be downloaded first. Puppet uses this directory to put all files in.

The default value is: /install

Type: Stdlib::Absolutepath

Default:lookup({name => 'wls_download_dir'})

Back to overview of utils::webtier

logoutput

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

Type: Variant[ Boolean, Enum[ 'on_failure' ] ]

Default:lookup({name => 'logoutput', default_value => 'on_failure'})

Back to overview of utils::webtier