Resource Type: wls_domain
- Defined in:
- lib/puppet/type/wls_domain.rb
- Providers:
-
simple
Overview
This resource allows you to manage domain options.
This resource allows you to make changes to the existing WebLogic domain. You cannot create a domain with this resource. If you want to create a domain, use ‘wls_install::domain`. Here is an example on how you should use this:
# In this case it will use default as wls_setting identifier
wls_domain { 'Wls1036':
ensure => 'present',
jmx_platform_mbean_server_enabled => 1,
jmx_platform_mbean_server_used => 1,
jpa_default_provider => 'org.eclipse.persistence.jpa.PersistenceProvider',
jta_max_transactions => '20000',
jta_transaction_timeout => '35',
log_file_min_size => '5000',
log_filecount => '10',
log_filename => '/var/log/weblogic/Wls1036.log',
log_number_of_files_limited => 1,
log_rotate_logon_startup => 1,
log_rotationtype => 'bySize',
security_crossdomain => '0',
web_app_container_show_archived_real_path_enabled => 1,
}
In this example you are managing a domain in the default domain. When you want to manage a domain in a specific domain, you can use:
wls_domain { 'Wls11gSetting/Wls11g':
ensure => 'present',
jmx_platform_mbean_server_enabled => '0',
jmx_platform_mbean_server_used => 1,
jpa_default_provider => 'org.apache.openjpa.persistence.PersistenceProviderImpl',
jta_max_transactions => '10000',
jta_transaction_timeout => '30',
log_file_min_size => '5000',
log_filecount => '5',
log_filename => '/var/log/weblogic/Wls11g.log',
log_number_of_files_limited => '0',
log_rotate_logon_startup => '0',
log_rotationtype => 'byTime',
security_crossdomain => 1,
web_app_container_show_archived_real_path_enabled => '0',
}