Overview

This defined type allows you to create a user config for WLST , this way you don’t need to know the weblogic password. Here is an example on how you could use this:

ora_install::storeuserconfig{'Wls12c':
  domain_name                => "Wls12c",
  adminserver_address        => "localhost",
  adminserver_port           => 7001,
  weblogic_password          => "weblogic1",
  user_config_dir            => '/home/oracle',
  logoutput                 => false,
}

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
adminserver_address The address of the admin server.
adminserver_port The IP port the admin server is listening on.
domain_name The domain name.
download_dir The directory where the Puppet software puts all downloaded files.
jdk_home_dir The homdirectory for the Java evelopment Kit.
logoutput log the outputs of Puppet exec or not.
os_group The os group used to install and run WebLogic.
os_user The os user used to install and run WebLogic.
user_config_dir Directory where to store the user configs.
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.

domain_name

The domain name.

Type: String[1]

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

Back to overview of storeuserconfig

weblogic_home_dir

Directory to use as WebLogic home.

Type: Stdlib::Absolutepath

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

Back to overview of storeuserconfig

jdk_home_dir

The homdirectory for the Java evelopment Kit.

Type: Stdlib::Absolutepath

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

Back to overview of storeuserconfig

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 storeuserconfig

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 storeuserconfig

user_config_dir

Directory where to store the user configs.

Type: Stdlib::Absolutepath

Default:undef

Back to overview of storeuserconfig

weblogic_user

The base WebLogic username to configure.

Type: String[1]

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

Back to overview of storeuserconfig

weblogic_password

The password of the base WebLogic user name.

Type: Easy_type::Password

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

Back to overview of storeuserconfig

os_user

The os user used to install and run WebLogic.

Type: String[1]

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

Back to overview of storeuserconfig

os_group

The os group used to install and run WebLogic.

Type: String[1]

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

Back to overview of storeuserconfig

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 storeuserconfig

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 storeuserconfig