Resource Type: wls_setting

Defined in:
lib/puppet/type/wls_setting.rb
Providers:
simple

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:.*'],
}

Parameters

  • 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.