Overview

This resource allows you to set the defaults for all other wls types.

All wls types needs a wls_setting definition. This is a pointer to an WebLogic AdminServer and you need to create one for every WebLogic domain. When you don’t provide a wls_setting identifier in the title of the weblogic type then it will use default as identifier.

Here is an example on how to create the default settings:

wls_setting { 'default':
  user               => 'oracle',
  weblogic_home_dir  => '/opt/oracle/middleware11g/wlserver_10.3',
  connect_url        => "t3://localhost:7001",
  weblogic_user      => 'weblogic',
  weblogic_password  => 'weblogic1',
}

When you want to create an other domain, like for instance domain2. You use `wls_setting like this:

wls_setting { 'domain2':
  user               => 'oracle',
  weblogic_home_dir  => '/opt/oracle/middleware11g/wlserver_10.3',
  connect_url        => "t3://localhost:7011",
  weblogic_user      => 'weblogic',
  weblogic_password  => 'weblogic1',
  post_classpath     => '/opt/oracle/wlsdomains/domains/Wls1036/lib/aa.jar',
  extra_properties   => ['wls_server:.*'],
}

Attributes

Attribute Name Short Description
archive_path the archive path for WLST scripts we want to keep
   
connect_url The url to connect to
   
custom_trust The custom trust enabled
   
debug_module Toggles retaining of WLST Python scripts
   
extra_properties The extra properties to use.
name The name of the setting
   
post_classpath the post classpath
   
provider resource.
trust_keystore_file The trust keystore file
   
trust_keystore_passphrase The trust keystore passphrase
   
user Operating System user
   
weblogic_home_dir The WLS homedir
   
weblogic_password weblogic password
   
weblogic_user the weblogic user account
   

archive_path

the archive path for WLST scripts we want to keep

Back to overview of wls_setting

connect_url

The url to connect to

Back to overview of wls_setting

custom_trust

The custom trust enabled

Valid values are true, false. Back to overview of wls_setting

debug_module

Toggles retaining of WLST Python scripts

Valid values are true, false. Back to overview of wls_setting

extra_properties

The extra properties to use.

Besides all the properties of the WebLogic types that are always loaded, you can use a set of extra properties. To enable these extra properties, you’ll have to enabled them in de settings for this domain. You can do this useing the extra_properties property of wls_setting.

This is an array of elements. Each element is a regular expression specifying one or more types with attributes. An example:

wls_setting {‘default’: … extra_properties => [ ‘wls_server:.’, # Include all extra properties from wls_server ‘wls_domain:.ssl.*’, # include all extra properties containg the string ssl for type wls_domain ] … }

Back to overview of wls_setting

name

The name of the setting

Back to overview of wls_setting

post_classpath

the post classpath

Back to overview of wls_setting

provider

The specific backend to use for this wls_setting resource. You will seldom need to specify this — Puppet will usually discover the appropriate provider for your platform.Available providers are:

yaml
Manage wls settings through yaml file

Back to overview of wls_setting

trust_keystore_file

The trust keystore file

Back to overview of wls_setting

trust_keystore_passphrase

The trust keystore passphrase

Back to overview of wls_setting

user

Operating System user

Back to overview of wls_setting

weblogic_home_dir

The WLS homedir

Back to overview of wls_setting

weblogic_password

weblogic password

Back to overview of wls_setting

weblogic_user

the weblogic user account

Back to overview of wls_setting