wls_install
Version information
This version is compatible with:
- Puppet Enterprise 2023.8.x, 2023.7.x, 2023.6.x, 2023.5.x, 2023.4.x, 2023.3.x, 2023.2.x, 2023.1.x, 2023.0.x, 2021.7.x, 2021.6.x, 2021.5.x, 2021.4.x, 2021.3.x, 2021.2.x, 2021.1.x, 2021.0.x, 2019.8.x, 2019.7.x, 2019.5.x, 2019.4.x, 2019.3.x, 2019.2.x, 2019.1.x, 2019.0.x, 2018.1.x, 2017.3.x, 2017.2.x, 2016.4.x
- Puppet >=4.10.8 < 9.0.0
- , , , , , , ,
Start using this module
Add this module to your Puppetfile:
mod 'enterprisemodules-wls_install', '4.12.9'
Learn more about managing modules with a PuppetfileDocumentation
Table of Contents
- Usage - Configuration options and additional functionality
- Reference - An under-the-hood peek at what the module is doing and how
- Limitations - OS compatibility, etc.
Overview
This module allows you to install an Oracle WebLogic or Fusion middleware stack. It is part of our family of Puppet modules to install, manage and secure Oracle WebLogic and Fusion Middleware with Puppet. Besides the wls_install
module, this family also contains:
- wls_config For configuring an Oracle WebLogic and other Fusion products
License
This is a commercially licensed module. But you can use the module on VirtualBox based development systems for FREE. You can request a FREE trial license here
Check the License for details.
Description
This Puppet module allows you to install Oracle WebLogic and other products in the Oracle Fusion Middleware family.
Fusion Middleware Features
- installs FMW software(add-on) to a middleware home, like OSB,SOA Suite, Oracle Identity & Access Management, Oracle Unified Directory, WebCenter Portal + Content
- WebTier Oracle HTTP server
- OSB, SOA Suite with BPM and BAM Cluster configuration support ( convert single osb/soa/bam servers to clusters and migrate OPSS to the database )
- ADF/JRF support, Assign JRF libraries to a Server or Cluster target
- IDM/OAM configurations with Oracle OHS OAM WebGate, Also Cluster support for OIM OAM
- OUD Oracle Unified Directory install, WebLogic domain, instances creation & OUD control
- Forms/Reports Oracle Forms & Reports
- Change FMW log location of a managed server
- Resource Adapterplan and entries for AQ, DB File and JMS
This module supports the installation of WebLogic versions:
- 10g
- 11g
- 12c( 12.1.1 & 12.1.2 & 12.1.3, 12.2.1.3 12.2.1.4 + FMW infra )
- 14c
Basic Domain Management
We support the creation of a domain. You can create different types of domains:
- default WebLogic
- JRF + EM + Coherence + OWSM + JAX-WS Advanced + Soap over JMS
- OSB + JRF + EM + OWSM + ESS
- OSB + SOA Suite + BAM + JRF + EM + OWSM + ESS
- OSB + SOA Suite + BAM + BPM + JRF + EM + OWSM + ESS
- SOA Suite + BAM + JRF + EM + OWSM + ESS
- SOA Suite + BAM + BPM + JRF + EM + OWSM + ESS
- WC (webcenter) + WCC ( Content ) + BPM + JRF + EM + OWSM
- WC (webcenter) + JRF + EM + OWSM
- OIM (Oracle Identity Manager) + OAM ( Oracle Access Manager)
- OUD (Oracle Unified Directory)
The modules also allow you to pack a domain and copy it to another node in a cluster.
Security
The module has support for Java Secure Socket Extension support(JSSE) and Custom Identity and Trust Store support]
Startup and shutdown
- Startup a nodemanager
- Start or stop AdminServer, Managed or a Cluster
- Storing WebLogic Credentials and using in WLST
Miscellaneous
- Linux low on entropy or urandom fix
- Dynamic targetting] by using the notes field in WebLogic for resource targetting
Check here to see the full documentation for this module.
Setup
Requirements
The wls_install
module requires:
- Puppet module
enterprisemodules-easy_type
installed. - Puppet version 4.10.8 or higher. Can be Puppet Enterprise or Puppet Open Source
- WebLogic 10g or higher
- A valid Oracle Weblogic or Fusion license
- A valid Enterprise Modules license for usage.
- Runs on most Linux systems.
- Runs on Solaris
- Windows systems are NOT supported
We support WebLogic versions:
- WebLogic 10g
- WebLogic 11g
- WebLogic 12.1.2
- WebLogic 12.1.3
- WebLogic 12.2.1
- WebLogic 12.2.1.1
- WebLogic 12.2.1.2
- WebLogic 12.2.1.3
- WebLogic 12.2.1.4
- WebLogic 14
And Fusion versions:
- WebLogic 10g
- WebLogic 11g
- WebLogic 12c ( 12.1.1, 12.1.2, 12.1.3, 12.2.1, 12.2.1.1, 12.2.1.2, 12.2.1.3, 12.2.1.4)
Installing the wls_install module
To install these modules, you can use a Puppetfile
mod 'enterprisemodules/wls_install' ,'3.0.x'
Then use the librarian-puppet
or r10K
to install the software.
You can also install the software using the puppet module
command:
puppet module install enterprisemodules-wls_install
Usage
Building a total WebLogic or Fusion setup requires quite some work. To help you, we have built some examples. The repo contains a demonstration of a simple WebLogic installation.
Reference
Here you can find some more information regarding this puppet module:
Here are a related blog posts:
- Introducing version 3 of wls_config
- Know thy WebLogic configuration using Puppet
- Manage your WebLogic JMS config with Puppet
- Using Puppet to install and manage your WebLogic infrastructure
Some example code:
Limitations
This module runs on Solaris and most Linux versions. It requires a puppet version higher than 4.10.8. The module does NOT run on windows systems.
Reference
Table of Contents
Classes
wls_install
: This class activates the basic setuo activities for using the other functionalwls_install
classes and defined types.wls_install::clear_caches
: This class contains the puppet code that implements the default facter cache invainvalidationlidatin rules.wls_install::fact_caching
: This class ensure's that the wls_install facts that can be cached, are cached with the correct settings.wls_install::ords
: Class for install and config Oracle ORDS software.wls_install::ords::software
: This defined type allows you to install ords software.wls_install::software
: wls_install::software This class allows you install the WebLogic software on your system. Here is an example on how you could use this:```clwls_install::support::files
: Support class ensuring neccecary files.wls_install::support::params
: Support class ensuring neccecary params.wls_install::urandomfix
: This class installs the urandom fix for Java.
Defined types
wls_install::cluster_node
: Type setting up machine as a cluster node.wls_install::control
: This defined type allows you to control a admin server or a managed server during s Puppet run.wls_install::copydomain
: This defined type allows you copy a domain to an other WebLogic node.wls_install::domain
: This defined type allows you create a WebLogic domain.wls_install::fmw
: wls_install::fmw This defined type allows you to install the Fusion Middleware add-on software. It supports:- OSB- SOA Suite- WebTier (HTTPwls_install::fmwlogdir
: This defined type allows you change a log folder location of a FMW server.wls_install::increased_memory_bsu
: wls_install::increased_memory_bsu Patches the BSU utility to increase the amount of memory available for patches. See the file "LICENSE" fowls_install::managed_server
: Type defined for setting up managed server.wls_install::nodemanager
: This defined type allows you to start a nodemanager on a system.wls_install::opatchupgrade
: This defined type allows you to install specified opatch version.wls_install::ords::config
: This defined type allows you to set specified ords configuration versionwls_install::ords::software_version
: This defined type allows you to install specified version of ords software.wls_install::packdomain
: wls_install::packdomain This defined type allows you pack the definition of your domain into a file. Using wls_install::copydomain, you canwls_install::software_version
: This defined type allows you install the WebLogic software on your system.wls_install::storeuserconfig
: This defined type allows you to create a user config for WLST , this way you don't need to know the weblogic password.wls_install::support::nodemanagerautostart
: wls_install::support::nodemanagerautostart This defined type allows you to add the nodemanager startup scripts to the system. Here is an exawls_install::utils::fmwcluster
: This defined type allows you to convert an existing cluster into a OSB or SOA suite cluster (BPM is optional) and also convert BAM to a BAM cluster.wls_install::utils::fmwclusterjrf
: This defined type allows you to convert an existing cluster into an ADF/JRF cluster.wls_install::utils::forms11gpatch
: Type installing forms11gpatch.wls_install::utils::oimconfig
: wls_install::utils::oimconfig This defined type allows you to configure OIM , oim server, design or remote configuration. Here is an examplewls_install::utils::orainst
: See the file "LICENSE" for the full license governing this code. == define: wls_install::utils::orainst creates oraInst.loc for oracle prowls_install::utils::private::old_servers_removed
: See the file "LICENSE" for the full license governing this code. This defined type removes all directoryes in the domain that once belongedwls_install::utils::rcu
: This is a private class.wls_install::utils::webtier
: This defined type allows you to add an OHS instance to a WebLogic Domain and in the Enterprise Manager, optional with OHS OAM Webgate.
Resource types
wls_adminserver
: control the adminserver state like running,stop,restartwls_directory_structure
: add all the directories needed by the oracle weblogic installation
Functions
wls_install::artifact_exists
: This function checks if artifact exists in the specified location. See the file "LICENSE" for the full license governing this code.wls_install::bam_cluster_configured
: This function checks if bam cluster is configured in the specified path. See the file "LICENSE" for the full license governing this code.wls_install::domain_exists
: This function checks if domain exists in the specified location. See the file "LICENSE" for the full license governing this code.wls_install::filter_unsupported_jvm_options
: This function filters unsupported jvm options. See the file "LICENSE" for the full license governing this code.wls_install::fmw_installed
: Check if the Fusion Middleware product is already installedwls_install::jrf_cluster_configured
: This function checks if osb cluster is configured in the specified path. See the file "LICENSE" for the full license governing this code.wls_install::log
: This function logs data from wls_install module. See the file "LICENSE" for the full license governing this code.wls_install::oim_configured
: This function checks if oim is configured in the specified path. See the file "LICENSE" for the full license governing this code.wls_install::ords_installed
: This function checks if ORDS is installed. See the file "LICENSE" for the full license governing this code.wls_install::osb_cluster_configured
: This function checks if osb cluster is configured in the specified path. See the file "LICENSE" for the full license governing this code.wls_install::running_domains
: This function will return the domains currently running from a specific home. See the file "LICENSE" for the full license governing this cowls_install::soa_cluster_configured
: This function checks if soa cluster is configured in the specified path. See the file "LICENSE" for the full license governing this code.wls_install::weblogic_exists
: This function checks if WebLogic is installed. See the file "LICENSE" for the full license governing this code.wls_install::wls_patches_missing
: This function checks if the specfied patches are installed. And it will return a Hash with the oracle home(s) with patch details that still nwls_install::wls_physical_patches
: This function parses a Hash of patches and looks for resources with sub_patches. If they are there, this function will translate it to the ac
Data types
Wls_install::Fmw_products
: Installed fmw products. See the file "LICENSE" for the full license governing this code.Wls_install::Versions
: Versions of installed WebLogic software. See the file "LICENSE" for the full license governing this code.
Classes
wls_install
wls_install::wls_install
At this point in time it applies the setup for fact caching.
See the file "LICENSE" for the full license governing this code.
wls_install::clear_caches
wls_install::clear_caches
Whenever a certain set of Puppet classes or defined types is applied, it will clear the facter caches for those facts that are implemented.
See the file "LICENSE" for the full license governing this code.
wls_install::fact_caching
wls_install::fact_caching
You can change all TTL settings for the facts if an other setting is more fitting for your setup.
See the file "LICENSE" for the full license governing this code.
Parameters
The following parameters are available in the wls_install::fact_caching
class:
enabled
product_version_ttl
opatch_version_ttl
installed_features_ttl
running_domains_ttl
installed_patches_ttl
wls_install_inventory_loc_ttl
wls_install_domains_ttl
ords_homes_ttl
enabled
Data type: Boolean
When set to true, this enables facter caching for the wls_install module facts.
Beware that you need to have Facter version 4.1.0 or higher to enabled this. When you set this value to true, automatically TTL settings for most of the wls_install facts are set to a default value. For most installations, the default settings are fine.
When you set this value to true
, the facter setting force-dot-resolution
is enabled. You have to ensure that all of your facts keep on working with this setting.
product_version_ttl
Data type: Optional[String[1]]
The Time to Live for the wls_install_homes. product_version
part of the wls_install_homes
fact.
opatch_version_ttl
Data type: Optional[String[1]]
The Time to Live for the wls_install_homes. opatch_version
part of the wls_install_homes
fact.
installed_features_ttl
Data type: Optional[String[1]]
The Time to Live for the wls_install_homes. installed_features
part of the wls_install_homes
fact.
running_domains_ttl
Data type: Optional[String[1]]
The Time to Live for the wls_install_homes. running_domains
part of the wls_install_homes
fact.
installed_patches_ttl
Data type: Optional[String[1]]
The Time to Live for the wls_install_homes. installed_patches
part of the wls_install_homes
fact.
wls_install_inventory_loc_ttl
Data type: Optional[String[1]]
The Time to Live for the wls_install_inventory_loc
fact.
wls_install_domains_ttl
Data type: Optional[String[1]]
ords_homes_ttl
Data type: Optional[String[1]]
The Time to Live for the ords_homes
fact.
wls_install::ords
wls_install::ords
See the file "LICENSE" for the full license governing this code.
Parameters
The following parameters are available in the wls_install::ords
class:
version
source
file
ords_home
db_hostname
db_port
db_servicename
db_sid
db_username
migrate_apex_rest
plsql_gateway_add
rest_services_apex_add
rest_services_ords_add
schema_tablespace_default
schema_tablespace_temp
standalone_http_port
standalone_static_images
user_public_password
user_tablespace_default
user_tablespace_temp
sys_user
sys_password
logoutput
version
Data type: String[1]
The version that is installed in the used Oracle home. Puppet uses this value to decide on version specific actions.
source
Data type: String[1]
Source for the operation.
file
Data type: String[1]
The name of the ords install file.
ords_home
Data type: Stdlib::Absolutepath
The ords home path.
db_hostname
Data type: String[1]
The hostname of the machine where the database is running.
db_port
Data type: Integer
The port of the machine where the database is running.
db_servicename
Data type: String[1]
The name of the service where database is running.
db_sid
Data type: String[1]
The service id of the machine where the database is running.
db_username
Data type: String[1]
The name of the database user.
migrate_apex_rest
Data type: Boolean
Flag defining if APEX REST api should be migrated.
plsql_gateway_add
Data type: Boolean
Flag defining if plsql gateway should be added to weblogic.
rest_services_apex_add
Data type: Boolean
Flag defining if apex rest services should be added to weblogic.
rest_services_ords_add
Data type: Boolean
Flag defining if ords rest services should be added to weblogic.
schema_tablespace_default
Data type: String[1]
The default tablespace schema.
schema_tablespace_temp
Data type: String[1]
The temporary tablespace schema.
standalone_http_port
Data type: Integer
The standalone http port.
standalone_static_images
Data type: Boolean
The standalone static images.
user_public_password
Data type: String[1]
The public password of the user.
user_tablespace_default
Data type: String[1]
The default tablespace of the user.
user_tablespace_temp
Data type: String[1]
The temporary tablespace of the user.
sys_user
Data type: String[1]
The system user.
sys_password
Data type: String[1]
The system user password.
logoutput
Data type: Variant[Enum['on_failure'], Boolean]
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
Default value: 'on_failure'
wls_install::ords::software
wls_install::ords::software
See the file "LICENSE" for the full license governing this code.
Parameters
The following parameters are available in the wls_install::ords::software
class:
file
Data type: String[1]
The name of the ords install file.
ords_home
Data type: Stdlib::Absolutepath
The ords home path.
source
Data type: String[1]
Source for the operation.
version
Data type: String[1]
The version that is installed in the used Oracle home. Puppet uses this value to decide on version specific actions.
logoutput
Data type: Variant[Enum['on_failure'], Boolean]
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
Default value: 'on_failure'
wls_install::software
wls_install::software
This class allows you install the WebLogic software on your system. Here is an example on how you could use this:class{'wls_install::software': version => 1221, # 1036|1211|1212|1213|1221 filename => 'fmw_12.2.1.0.0_wls.jar', # jdk_home_dir => '/usr/java/jdk1.8.0_45', oracle_base_home_dir => "/opt/oracle", middleware_home_dir => "/opt/oracle/middleware12c", weblogic_home_dir => "/opt/oracle/middleware12c/wlserver", os_user => "oracle", os_group => "dba", download_dir => "/data/install", source => "/vagrant", # puppet:///modules/orawls/ | /mnt | logoutput => true,}
See the file "LICENSE" for the full license governing this code.
Parameters
The following parameters are available in the wls_install::software
class:
version
filename
oracle_base_home_dir
middleware_home_dir
weblogic_home_dir
wls_domains_dir
wls_apps_dir
fmw_infra
jdk_home_dir
os_user
os_group
download_dir
source
java_parameters
temp_directory
logoutput
oracle_inventory_dir
version
Data type: Wls_install::Versions
The version that is installed in the used Oracle home. Puppet uses this value to decide on version specific actions.
Default value: 1111
filename
Data type: String[1]
The source file to use.
Default value: undef
oracle_base_home_dir
Data type: Stdlib::Absolutepath
A directory to use as Oracle base directory.
Default value: undef
middleware_home_dir
Data type: Stdlib::Absolutepath
Middleware home directory.
Default value: undef
weblogic_home_dir
Data type: Optional[Stdlib::Absolutepath]
Directory to use as WebLogic home.
Default value: undef
wls_domains_dir
Data type: Optional[Stdlib::Absolutepath]
The root directory where all domain directories reside in.
Default value: undef
wls_apps_dir
Data type: Optional[Stdlib::Absolutepath]
The root directory where all aplication directories reside in.
Default value: undef
fmw_infra
Data type: Boolean
Determine if you want to install Fusion Middleware infra.
Default value: false
jdk_home_dir
Data type: Stdlib::Absolutepath
The homdirectory for the Java evelopment Kit.
Default value: undef
os_user
Data type: String[1]
The os user used to install and run WebLogic.
Default value: undef
os_group
Data type: String[1]
The os group used to install and run WebLogic.
Default value: undef
download_dir
Data type: Stdlib::Absolutepath
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
Default value: undef
source
Data type: String[1]
Source for the operation.
Default value: undef
java_parameters
Data type: Optional[String]
The (extra) parameters to pass when calling java.
Default value: ''
temp_directory
Data type: Stdlib::Absolutepath
Directory to use for temporary files.
Default value: '/tmp'
logoutput
Data type: Variant[ Boolean, Enum[ 'on_failure' ] ]
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
Default value: lookup({name => 'logoutput', default_value => 'on_failure'})
oracle_inventory_dir
Data type: Optional[Stdlib::Absolutepath]
Default value: undef
wls_install::support::files
wls_install::support::files
See the file "LICENSE" for the full license governing this code.
Parameters
The following parameters are available in the wls_install::support::files
class:
os_oracle_home
ora_inventory
os_domain_type
os_log_folder
os_download_folder
os_mdw_home
os_wl_home
ora_user
ora_group
os_domain
os_domain_path
node_mgr_path
node_mgr_port
node_mgr_address
wls_user
wls_password
wls_adminserver
jsse_enabled
custom_trust
trust_keystore_file
trust_keystore_passphrase
os_oracle_home
Data type: Stdlib::Absolutepath
A directory to be used as Oracle home directory for this software.
Default value: $wls_install::support::params::os_oracle_home
ora_inventory
Data type: Stdlib::Absolutepath
The Oracle inventory directory.
Default value: $wls_install::support::params::ora_inventory
os_domain_type
Data type: String[1]
A domain type to be used for this software.
Default value: $wls_install::support::params::os_domain_type
os_log_folder
Data type: Stdlib::Absolutepath
A logging directory to be used on this os.
Default value: $wls_install::support::params::os_log_folder
os_download_folder
Data type: Stdlib::Absolutepath
A download directory to be used on this os.
Default value: $wls_install::support::params::os_download_folder
os_mdw_home
Data type: Stdlib::Absolutepath
A middlware home directory to be used on this os.
Default value: $wls_install::support::params::os_mdw_home
os_wl_home
Data type: Stdlib::Absolutepath
A WebLogic home directory to be used on this os.
Default value: $wls_install::support::params::os_wl_home
ora_user
Data type: String[1]
The Oracle user.
Default value: $wls_install::support::params::ora_user
ora_group
Data type: String[1]
The Oracle user group.
Default value: $wls_install::support::params::ora_group
os_domain
Data type: String[1]
A domain to be used on this os.
Default value: $wls_install::support::params::os_domain
os_domain_path
Data type: Stdlib::Absolutepath
A domain path to be used on this os.
Default value: $wls_install::support::params::os_domain_path
node_mgr_path
Data type: Stdlib::Absolutepath
The nodemanager path.
Default value: $wls_install::support::params::node_mgr_path
node_mgr_port
Data type: Integer
The nodemanager port.
Default value: $wls_install::support::params::node_mgr_port
node_mgr_address
Data type: String[1]
The nodemanager address.
Default value: $wls_install::support::params::node_mgr_address
wls_user
Data type: String[1]
The WebLogic user.
Default value: $wls_install::support::params::wls_user
wls_password
Data type: Easy_type::Password
The WebLogic users password.
Default value: $wls_install::support::params::wls_password
wls_adminserver
Data type: String[1]
The WebLogic adminserver.
Default value: $wls_install::support::params::wls_adminserver
jsse_enabled
Data type: Boolean
Determine if you want to enable JSSE security.
Default value: $wls_install::support::params::jsse_enabled
custom_trust
Data type: Boolean
Determine if you want to use a custom trust or not.
Default value: false
trust_keystore_file
Data type: Optional[String[1]]
File specificiation of the trust keystore.
Default value: undef
trust_keystore_passphrase
Data type: Optional[Easy_type::Password]
Passphrase to use for the trust keystore.
Default value: undef
wls_install::support::params
wls_install::support::params
See the file "LICENSE" for the full license governing this code.
wls_install::urandomfix
wls_install::urandomfix
On Linux low entropy can cause certain operations to be very slow. Encryption operations need entropy to ensure randomness. Entropy is generated by the OS when you use the keyboard, the mouse or the disk.
If an encryption operation is missing entropy it will wait until enough is generated. Which can slow down your system.
To fix this, there are three options:
- use rngd service (this class)
- set java.security in JDK ( jre/lib/security )
- set -Djava.security.egd=file:/dev/./urandom param
To use the rng service, just add:
include wls_install::urandomfix
to your manifest.
See the file "LICENSE" for the full license governing this code.
Defined types
wls_install::cluster_node
wls_install::cluster_node
Here is an example on how to use it:
}
See the file "LICENSE" for the full license governing this code.
Parameters
The following parameters are available in the wls_install::cluster_node
defined type:
machine_name
listenaddress
ssl_listen_port
nodemanager_port
server_arguments
listen_port
domain_name
machine_name
Data type: String[1]
Name of the weblogic machine to use.
listenaddress
Data type: String[1]
The address to use for listening. Mat be a physical IP address or a DNS name.
ssl_listen_port
Data type: Integer
SSL listen port to use.
nodemanager_port
Data type: Integer
The IP port the nodemanager is listening on.
server_arguments
Data type: Array
Java argcuments to use when starting the managed server.
listen_port
Data type: Integer
domain_name
Data type: String[1]
wls_install::control
wls_install::control
It allows you to stop, start or restart a managed server. Here is an example on how you could use this:
wls_install::control{'startWLSAdminServer12c':
domain_name => "Wls12c",
server_type => 'admin', # admin|managed
target => 'Server', # Server|Cluster
server => 'AdminServer',
action => 'start',
weblogic_home_dir => "/opt/oracle/middleware12c/wlserver",
jdk_home_dir => "/usr/java/jdk1.7.0_45",
weblogic_user => "weblogic",
weblogic_password => "weblogic1",
adminserver_address => 'localhost',
adminserver_port => 7001,
nodemanager_port => 5556,
nodemanager_secure_listener => true,
os_user => "oracle",
os_group => "dba",
download_dir => "/data/install",
}
See the file "LICENSE" for the full license governing this code.
Parameters
The following parameters are available in the wls_install::control
defined type:
middleware_home_dir
weblogic_home_dir
jdk_home_dir
wls_domains_dir
domain_name
server_type
target
server
adminserver_address
adminserver_port
nodemanager_secure_listener
nodemanager_port
action
weblogic_user
weblogic_password
jsse_enabled
custom_trust
trust_keystore_file
trust_keystore_passphrase
os_user
os_group
download_dir
logoutput
middleware_home_dir
Data type: Stdlib::Absolutepath
Middleware home directory.
Default value: lookup({name => 'wls_middleware_home_dir'})
weblogic_home_dir
Data type: Stdlib::Absolutepath
Directory to use as WebLogic home.
Default value: lookup({name => 'wls_weblogic_home_dir'})
jdk_home_dir
Data type: Stdlib::Absolutepath
The homdirectory for the Java evelopment Kit.
Default value: lookup({name => 'wls_jdk_home_dir'})
wls_domains_dir
Data type: Optional[ Stdlib::Absolutepath ]
The root directory where all domain directories reside in.
Default value: lookup({name =>'wls_domains_dir', default_value => undef})
domain_name
Data type: String[1]
The domain name.
Default value: lookup({name => 'domain_name'})
server_type
Data type: Enum[ 'admin', 'managed', 'ohs_standalone' ]
Type of element you want to control: Valid values are:
- admin
- managed
- ohs_standalone
Default value: 'admin'
target
Data type: Enum[ 'Server', 'Cluster' ]
Type of target to use: Valid values are:
- Server
- Cluster
Default value: 'Server'
server
Data type: String[1]
Name of the server you want to control.
Default value: 'AdminServer'
adminserver_address
Data type: String[1]
The address of the admin server. May be a DNS name or a physical IP address.
Default value: lookup({name => 'domain_adminserver_address', default_value => 'localhost'})
adminserver_port
Data type: Integer
The IP port the admin server is listening on.
Default value: lookup({name => 'domain_adminserver_port', default_value => 7001})
nodemanager_secure_listener
Data type: Boolean
Use SSL for listening.
Default value: true
nodemanager_port
Data type: Integer
The IP port the nodemanager is listening on.
Default value: lookup({name => 'domain_nodemanager_port', default_value => 5556})
action
Data type: Enum[ 'start', 'running', 'stop', 'abort' ]
Action to perform. Valid values:
- start
- running
- stop
- abort
Default value: 'start'
weblogic_user
Data type: String[1]
The base WebLogic username to configure.
Default value: lookup({name => 'wls_weblogic_user', default_value => 'weblogic'})
weblogic_password
Data type: Easy_type::Password
The password of the base WebLogic user name.
Default value: lookup({name => 'domain_wls_password'})
jsse_enabled
Data type: Boolean
Determine if you want to enable JSSE security.
Default value: lookup({name => 'wls_jsse_enabled', default_value => false})
custom_trust
Data type: Boolean
Determine if you want to use a custom trust or not.
Default value: lookup({name => 'wls_custom_trust', default_value => false})
trust_keystore_file
Data type: Optional[String[1]]
File specificiation of the trust keystore.
Default value: lookup({name => 'wls_trust_keystore_file', default_value => undef})
trust_keystore_passphrase
Data type: Optional[Easy_type::Password]
Passphrase to use for the trust keystore.
Default value: lookup({name => 'wls_trust_keystore_passphrase', default_value => undef})
os_user
Data type: String[1]
The os user used to install and run WebLogic.
Default value: lookup({name => 'wls_os_user'})
os_group
Data type: String[1]
The os group used to install and run WebLogic.
Default value: lookup({name => 'wls_os_group'})
download_dir
Data type: Stdlib::Absolutepath
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
Default value: lookup({name => 'wls_download_dir'})
logoutput
Data type: Variant[ Boolean, Enum[ 'on_failure' ] ]
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
Default value: lookup({name => 'logoutput', default_value => 'on_failure'})
wls_install::copydomain
wls_install::copydomain
It is used in conjunction with wls_install::packdomain to build WebLogic clusters. Here is an example on how you could use this:
wls_install::copydomain{"Wls12c":
version => 1212,
weblogic_home_dir => "/opt/oracle/middleware12c/wlserver",
middleware_home_dir => "/opt/oracle/middleware12c",
jdk_home_dir => "/usr/java/jdk1.7.0_45",
wls_domains_dir => "/opt/oracle/domains",
wls_apps_dir => "/opt/oracle/applications",
domain_name => "Wls12c",
os_user => "oracle",
os_group => "dba",
download_dir => "/data/install",
log_dir => "/var/log/weblogic",
logoutput => true,
use_ssh => false,
domain_pack_dir => /mnt/fmw_share,
adminserver_address => "10.10.10.10",
adminserver_port => 7001,
weblogic_user => "weblogic",
weblogic_password => "weblogic1",
setinternalappdeploymentondemandenable => false,
setconfigbackupenabled => true,
setarchiveconfigurationcount => 10,
setconfigurationaudittype => 'logaudit',
}
See the file "LICENSE" for the full license governing this code.
Parameters
The following parameters are available in the wls_install::copydomain
defined type:
version
middleware_home_dir
weblogic_home_dir
jdk_home_dir
wls_domains_dir
wls_apps_dir
use_ssh
domain_pack_dir
domain_name
adminserver_address
adminserver_port
administration_port
administration_port_enabled
adminserver_ssl_port
user_config_file
user_key_file
weblogic_user
weblogic_password
os_user
os_group
download_dir
log_dir
server_start_mode
wls_domains_file
copy_script
puppet_os_user
jsse_enabled
custom_trust
trust_keystore_file
trust_keystore_passphrase
extra_arguments
logoutput
version
Data type: Wls_install::Versions
The version that is installed in the used Oracle home. Puppet uses this value to decide on version specific actions.
Default value: lookup({name => 'wls_version', default_value => 1111})
middleware_home_dir
Data type: Stdlib::Absolutepath
Middleware home directory.
Default value: lookup({name => 'wls_middleware_home_dir'})
weblogic_home_dir
Data type: Stdlib::Absolutepath
Directory to use as WebLogic home.
Default value: lookup({name => 'wls_weblogic_home_dir'})
jdk_home_dir
Data type: Stdlib::Absolutepath
The homdirectory for the Java evelopment Kit.
Default value: lookup({name => 'wls_jdk_home_dir'})
wls_domains_dir
Data type: Optional[Stdlib::Absolutepath]
The root directory where all domain directories reside in.
Default value: lookup({name => 'wls_domains_dir', default_value => undef})
wls_apps_dir
Data type: Optional[Stdlib::Absolutepath]
The root directory where all aplication directories reside in.
Default value: lookup({name => 'wls_apps_dir', default_value => undef})
use_ssh
Data type: Boolean
Boolean value specifying if you want to use ssh to copy the packed file. You can only use this when the ssh keys are already provided.
Default value: true
domain_pack_dir
Data type: Optional[Stdlib::Absolutepath]
Directory where to put the packed directory.
Default value: undef
domain_name
Data type: String[1]
The domain name.
Default value: lookup({name => 'domain_name'})
adminserver_address
Data type: String[1]
The address of the admin server. May be a DNS name or a physical IP address.
Default value: lookup({name => 'domain_adminserver_address'})
adminserver_port
Data type: Integer
The IP port the admin server is listening on.
Default value: lookup({name => 'domain_adminserver_port', default_value => 7001})
administration_port
Data type: Optional[Integer]
The common secure administration port for this WebLogic Server domain. (Requires you to enable the administration port.)
Default value: undef
administration_port_enabled
Data type: Boolean
Specifies whether the domain-wide administration port should be enabled for this WebLogic Server domain. Because the administration port uses SSL, enabling the administration port requires that SSL must be configured for all servers in the domain. The domain-wide administration port enables you to start a WebLogic Server instance in STANDBY state. It also allows you to separate administration traffic from application traffic in your domain. Because all servers in the domain must enable or disable the administration port at once, you configure the default administration port settings at the domain level. If you enable the administration port: The administration port accepts only connections that specify administrator credentials. Connections that specify administrator credentials can use only the administration port. The command that starts managed servers must specify a secure protocol and the administration port: -Dweblogic.management.server=https://admin_server:administration_port
Default value: false
adminserver_ssl_port
Data type: Optional[Integer]
SSL port to use for the Admin server.
Default value: undef
user_config_file
Data type: Optional[String[1]]
This parameter is not used (yet).
Default value: lookup({name => 'domain_user_config_file', default_value => undef})
user_key_file
Data type: Optional[String[1]]
This parameter is not used (yet).
Default value: lookup({name => 'domain_user_key_file', default_value => undef})
weblogic_user
Data type: String[1]
The base WebLogic username to configure.
Default value: lookup({name => 'wls_weblogic_user', default_value => 'weblogic'})
weblogic_password
Data type: Easy_type::Password
The password of the base WebLogic user name.
Default value: lookup({name => 'domain_wls_password', default_value => undef})
os_user
Data type: String[1]
The os user used to install and run WebLogic.
Default value: lookup({name => 'wls_os_user'})
os_group
Data type: String[1]
The os group used to install and run WebLogic.
Default value: lookup({name => 'wls_os_group'})
download_dir
Data type: Stdlib::Absolutepath
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
Default value: lookup({name => 'wls_download_dir'})
log_dir
Data type: Optional[Stdlib::Absolutepath]
Directory to use for logging.
Default value: lookup({name => 'wls_log_dir', default_value => undef})
server_start_mode
Data type: Enum['dev','prod']
Startmode to use. This parameter id directly passed to the unpack and start of the domain. Valid values are:
- dev
- prod
Default value: 'dev'
wls_domains_file
Data type: Optional[String[1]]
file containing the current domains available on the system.
Default value: undef
copy_script
Data type: Optional[String[1]]
The user provided copy script to use for copying the packed domain.
Default value: undef
puppet_os_user
Data type: String[1]
The Puppet OS user to use.
Default value: 'root'
jsse_enabled
Data type: Boolean
Determine if you want to enable JSSE security.
Default value: lookup({name => 'wls_jsse_enabled', default_value => false})
custom_trust
Data type: Boolean
Determine if you want to use a custom trust or not.
Default value: lookup({name => 'wls_custom_trust', default_value => false})
trust_keystore_file
Data type: Optional[String[1]]
File specificiation of the trust keystore.
Default value: lookup({name => 'wls_trust_keystore_file', default_value => undef})
trust_keystore_passphrase
Data type: Optional[Easy_type::Password]
Passphrase to use for the trust keystore.
Default value: lookup({name => 'wls_trust_keystore_passphrase', default_value => undef})
extra_arguments
Data type: Optional[String[1]]
Extra java arguments to use.
Default value: lookup({name => 'wls_install::copydomain::extra_arguments', default_value => undef})
logoutput
Data type: Variant[ Boolean, Enum[ 'on_failure' ] ]
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
Default value: lookup({name => 'logoutput', default_value => 'on_failure'})
wls_install::domain
wls_install::domain
It supports the following WebLogic versions:
- 1036
- 1111
- 1211
- 1212
- 1213
You can specify a domain template, thus specifying what kind of domain will be created. Using the template, you can create a Fusion Middleware enabled domain. The defined type supports the following templates:
- Standard
- Adf
- Osb
- osb_soa
- osb_soa_bpm
- soa
- soa_bpm
Here is an example on how you could use this:
orawls::domain { 'wlsDomain12c':
version => 1212
weblogic_home_dir => "/opt/oracle/middleware12c/wlserver",
middleware_home_dir => "/opt/oracle/middleware12c",
jdk_home_dir => "/usr/java/jdk1.7.0_45",
domain_template => "standard",
domain_name => "Wls12c",
development_mode => false,
adminserver_name => "AdminServer",
adminserver_address => "localhost",
adminserver_port => 7001,
nodemanager_secure_listener => true,
nodemanager_port => 5556,
java_arguments => { "ADM" => "...", "OSB" => "...", "SOA" => "...", "BAM" => "..."},
weblogic_user => "weblogic",
weblogic_password => "weblogic1",
os_user => "oracle",
os_group => "dba",
log_dir => "/data/logs",
download_dir => "/data/install",
}
Template you want to use for the domain. Valid values are: standard ohs_standalone adf_restricted osb osb_soa osb_soa_bpm soa soa_bpm bam adf oim oud wc wc_wcc_bpm
See the file "LICENSE" for the full license governing this code.
Parameters
The following parameters are available in the wls_install::domain
defined type:
version
weblogic_home_dir
middleware_home_dir
jdk_home_dir
jdk_major_version
wls_domains_dir
wls_apps_dir
domain_template
bam_enabled
b2b_enabled
ess_enabled
owsm_enabled
domain_name
development_mode
adminserver_name
adminserver_machine_name
adminserver_address
adminserver_port
adminserver_ssl_port
administration_port_enabled
administration_port
adminserver_listen_on_all_interfaces
java_arguments
nodemanager_address
nodemanager_port
nodemanager_secure_listener
weblogic_user
weblogic_password
nodemanager_username
nodemanager_password
domain_password
jsse_enabled
webtier_enabled
os_user
os_group
download_dir
log_dir
repository_database_url
rcu_database_url
rcu_honor_omf
rcu_soa_profile
rcu_tablespace
rcu_temp_tablespace
repository_prefix
repository_password
repository_sys_user
repository_sys_password
custom_trust
trust_keystore_file
trust_keystore_passphrase
custom_identity
custom_identity_keystore_filename
custom_identity_keystore_passphrase
custom_identity_alias
custom_identity_privatekey_passphrase
create_rcu
ohs_standalone_listen_address
ohs_standalone_listen_port
ohs_standalone_ssl_listen_port
wls_domains_file
puppet_os_user
logoutput
log_output
wls_apps_inside_domain
crossdomain_enabled
version
Data type: Wls_install::Versions
The version that is installed in the used Oracle home. Puppet uses this value to decide on version specific actions.
Default value: lookup({name => 'wls_version', default_value => 1111})
weblogic_home_dir
Data type: Stdlib::Absolutepath
Directory to use as WebLogic home.
Default value: lookup({name => 'wls_weblogic_home_dir'})
middleware_home_dir
Data type: Stdlib::Absolutepath
Middleware home directory.
Default value: lookup({name => 'wls_middleware_home_dir'})
jdk_home_dir
Data type: Stdlib::Absolutepath
The homdirectory for the Java evelopment Kit.
Default value: lookup({name => 'wls_jdk_home_dir'})
jdk_major_version
Data type: Variant[ Integer[7,7], Integer[8,8] ]
Major version of JDK to use.
Default value: lookup({name => 'wls_jdk_major_version', default_value => 7})
wls_domains_dir
Data type: Optional[Stdlib::Absolutepath]
The root directory where all domain directories reside in.
Default value: lookup({name => 'wls_domains_dir', default_value => undef})
wls_apps_dir
Data type: Optional[Stdlib::Absolutepath]
The root directory where all aplication directories reside in.
Default value: lookup({name => 'wls_apps_dir', default_value => undef})
domain_template
Data type: Enum[ 'standard', 'ohs_standalone', 'adf_restricted', 'osb', 'osb_soa', 'osb_soa_bpm', 'soa', 'soa_bpm', 'bam', 'adf', 'oim', 'oud', 'wc', 'wc_wcc_bpm', 'forms', 'bip' ]
Default value: lookup({name => 'domain_template', default_value => 'standard'})
bam_enabled
Data type: Boolean
Boolean to determine in BAM is enabled.
Default value: true
b2b_enabled
Data type: Boolean
Boolean to determine if b2b is eanbled.
Default value: false
ess_enabled
Data type: Boolean
Boolean to determine of ESS is enabled for the domain.
Default value: false
owsm_enabled
Data type: Boolean
Boolean to detrmine if owsm is enabled.
Default value: false
domain_name
Data type: String[1]
The domain name.
Default value: lookup({name => 'domain_name'})
development_mode
Data type: Boolean
Boolean to determine if you want to create a development domain.
Default value: true
adminserver_name
Data type: String[1]
The name of the Admin Server.
Default value: lookup({name => 'domain_adminserver', default_value => 'AdminServer'})
adminserver_machine_name
Data type: String[1]
machine name you want to run the adminserver on.
Default value: lookup({name => 'domain_adminserver_machine_name', default_value => 'LocalMachine'})
adminserver_address
Data type: String[1]
The address of the admin server. May be a DNS name or a physical IP address.
Default value: lookup({name => 'domain_adminserver_address', default_value => undef})
adminserver_port
Data type: Integer
The IP port the admin server is listening on.
Default value: lookup({name => 'domain_adminserver_port', default_value => 7001})
adminserver_ssl_port
Data type: Optional[Integer]
SSL port to use for the Admin server.
Default value: undef
administration_port_enabled
Data type: Boolean
Specifies whether the domain-wide administration port should be enabled for this WebLogic Server domain. Because the administration port uses SSL, enabling the administration port requires that SSL must be configured for all servers in the domain. The domain-wide administration port enables you to start a WebLogic Server instance in STANDBY state. It also allows you to separate administration traffic from application traffic in your domain. Because all servers in the domain must enable or disable the administration port at once, you configure the default administration port settings at the domain level. If you enable the administration port: The administration port accepts only connections that specify administrator credentials. Connections that specify administrator credentials can use only the administration port. The command that starts managed servers must specify a secure protocol and the administration port: -Dweblogic.management.server=https://admin_server:administration_port
Default value: false
administration_port
Data type: Optional[Integer]
The common secure administration port for this WebLogic Server domain. (Requires you to enable the administration port.)
Default value: undef
adminserver_listen_on_all_interfaces
Data type: Boolean
Boolean to determine if you want to let the adminserver listen on all interfaces.
Default value: false
java_arguments
Data type: Hash
Arguments to use when calling java.
Default value: lookup({name => 'domain_java_arguments', default_value => {}})
nodemanager_address
Data type: Optional[String[1]]
Address the nodemanager is running on. This may be a DNS name or a physical IP address.
Default value: undef
nodemanager_port
Data type: Integer
The IP port the nodemanager is listening on.
Default value: lookup({name => 'domain_nodemanager_port', default_value => 5556})
nodemanager_secure_listener
Data type: Boolean
Use SSL for listening.
Default value: true
weblogic_user
Data type: String[1]
The base WebLogic username to configure.
Default value: lookup({name => 'wls_weblogic_user', default_value => 'weblogic'})
weblogic_password
Data type: Easy_type::Password
The password of the base WebLogic user name.
Default value: lookup({name => 'domain_wls_password'})
nodemanager_username
Data type: Optional[String[1]]
Username to use for nodemananer.
Default value: undef
nodemanager_password
Data type: Optional[Easy_type::Password]
Password to use for nodemanager.
Default value: undef
domain_password
Data type: Optional[Easy_type::Password]
Password to use for the domain.
Default value: undef
jsse_enabled
Data type: Boolean
Determine if you want to enable JSSE security.
Default value: lookup({name => 'wls_jsse_enabled', default_value => false})
webtier_enabled
Data type: Boolean
Boolean to determine if you want to enable the WebTier.
Default value: false
os_user
Data type: String[1]
The os user used to install and run WebLogic.
Default value: lookup({name => 'wls_os_user'})
os_group
Data type: String[1]
The os group used to install and run WebLogic.
Default value: lookup({name => 'wls_os_group'})
download_dir
Data type: Stdlib::Absolutepath
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
Default value: lookup({name => 'wls_download_dir'})
log_dir
Data type: Optional[Stdlib::Absolutepath]
Directory to use for logging.
Default value: lookup({name => 'wls_log_dir', default_value => undef})
repository_database_url
Data type: Optional[String[1]]
The jdbc URL of the RCU repository.
Default value: lookup({name => 'repository_database_url', default_value => undef})
rcu_database_url
Data type: Optional[String[1]]
Database URL to create the RCU on.
Default value: undef
rcu_honor_omf
Data type: Optional[Boolean]
Boolean to determine if you want the RCU creation to honor OMF (Oracle Managed Files).
Default value: undef
rcu_soa_profile
Data type: Optional[ Enum[ 'SMALL', 'MED', 'LARGE' ] ]
Profile to use for creating the RCU for SOA.
Default value: undef
rcu_tablespace
Data type: Optional[String[1]]
The default tablespace to use for the RCU created accounts.
Default value: undef
rcu_temp_tablespace
Data type: Optional[String[1]]
The temporary tablespace to use for the RCU created accounts.
Default value: undef
repository_prefix
Data type: String[1]
Extra prefix to use for the RCU.
Default value: lookup({name => 'repository_prefix', default_value => 'DEV'})
repository_password
Data type: Optional[Easy_type::Password]
The password to use for accessing the RCU repository.
Default value: lookup({name => 'repository_password', default_value => undef})
repository_sys_user
Data type: String[1]
SYS username to use on the database where the RCU repository is created. Default is 'SYS' Default is 'SYS'
Default value: 'sys'
repository_sys_password
Data type: Optional[Easy_type::Password]
SYS password to use on the database where the RCU repository is created.
Default value: undef
custom_trust
Data type: Boolean
Determine if you want to use a custom trust or not.
Default value: lookup({name => 'wls_custom_trust', default_value => false})
trust_keystore_file
Data type: Optional[String[1]]
File specificiation of the trust keystore.
Default value: lookup({name => 'wls_trust_keystore_file', default_value => undef})
trust_keystore_passphrase
Data type: Optional[Easy_type::Password]
Passphrase to use for the trust keystore.
Default value: lookup({name => 'wls_trust_keystore_passphrase', default_value => undef})
custom_identity
Data type: Boolean
Determine if you want to use a custom identity store or not.
Default value: false
custom_identity_keystore_filename
Data type: Optional[String[1]]
file name of the keystore identity file.
Default value: undef
custom_identity_keystore_passphrase
Data type: Optional[Easy_type::Password]
Passphrase to use when opening the identity keystore.
Default value: undef
custom_identity_alias
Data type: Optional[String[1]]
Alias for custom identity.
Default value: undef
custom_identity_privatekey_passphrase
Data type: Optional[Easy_type::Password]
Private passphrase to use when opening the identity keystore.
Default value: undef
create_rcu
Data type: Boolean
Determine if you want to create a RCU for the current domain.
Default value: lookup({name => 'create_rcu', default_value => true})
ohs_standalone_listen_address
Data type: Optional[String[1]]
Listen address for OHS standlone server.
Default value: undef
ohs_standalone_listen_port
Data type: Optional[Integer]
Listen port for OHS standlone server.
Default value: undef
ohs_standalone_ssl_listen_port
Data type: Optional[Integer]
SSL Listen port for OHS standlone server.
Default value: undef
wls_domains_file
Data type: Optional[String[1]]
file containing the current domains available on the system.
Default value: undef
puppet_os_user
Data type: String[1]
The Puppet OS user to use.
Default value: 'root'
logoutput
Data type: Variant[ Boolean, Enum[ 'on_failure' ] ]
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
Default value: lookup({name => 'logoutput', default_value => 'on_failure'})
log_output
Data type: Optional[ Variant[ Boolean, Enum[ 'on_failure' ] ] ]
Default value: undef
wls_apps_inside_domain
Data type: Optional[Boolean]
Default value: false
crossdomain_enabled
Data type: Optional[Boolean]
Default value: true
wls_install::fmw
wls_install::fmw
This defined type allows you to install the Fusion Middleware add-on software. It supports:- OSB- SOA Suite- WebTier (HTTP Server)- Oracle Identity Management- Web Center + ContentHere is an example on how you could use this:puppetorawls::fmw{"osbPS6": middleware_home_dir => "/opt/oracle/middleware11gR1", weblogic_home_dir => "/opt/oracle/middleware11gR1/wlserver", jdk_home_dir => "/usr/java/jdk1.7.0_45", oracle_base_home_dir => "/opt/oracle", fmw_product => "osb", # adf|soa|osb|oim|wc|wcc|web fmw_file1 => "ofm_osb_generic_11.1.1.7.0_disk1_1of1.zip", os_user => "oracle", os_group => "dba", download_dir => "/data/install", source => "/vagrant",}
See the file "LICENSE" for the full license governing this code.
Parameters
The following parameters are available in the wls_install::fmw
defined type:
version
weblogic_home_dir
middleware_home_dir
oracle_base_home_dir
oracle_home_dir
jdk_home_dir
fmw_product
fmw_file1
fmw_file2
fmw_file3
fmw_file4
bpm
healthcare
os_user
os_group
download_dir
source
temp_directory
ohs_mode
oracle_inventory_dir
orainstpath_dir
logoutput
version
Data type: Wls_install::Versions
The version that is installed in the used Oracle home. Puppet uses this value to decide on version specific actions.
Default value: lookup({name => 'wls_version', default_value => 1111})
weblogic_home_dir
Data type: Stdlib::Absolutepath
Directory to use as WebLogic home.
Default value: lookup({name => 'wls_weblogic_home_dir'})
middleware_home_dir
Data type: Stdlib::Absolutepath
Middleware home directory.
Default value: lookup({name => 'wls_middleware_home_dir'})
oracle_base_home_dir
Data type: Optional[Stdlib::Absolutepath]
A directory to use as Oracle base directory.
Default value: lookup({name => 'wls_oracle_base_home_dir'})
oracle_home_dir
Data type: Optional[Stdlib::Absolutepath]
A directory to be used as Oracle home directory for this software.
Default value: undef
jdk_home_dir
Data type: Stdlib::Absolutepath
The homdirectory for the Java evelopment Kit.
Default value: lookup({name => 'wls_jdk_home_dir'})
fmw_product
Data type: Wls_install::Fmw_products
Type of Fusion Middleware Product you want to install. Valid values are:
- adf
- soa
- soaqs
- osb
- wcc
- wc
- oim
- oam
- web
- webgate
- oud
- mft
- b2b
- forms
Default value: undef
fmw_file1
Data type: Optional[String[1]]
First file of FMW distribution.
Default value: undef
fmw_file2
Data type: Optional[String[1]]
Second file of FMW distribution.
Default value: undef
fmw_file3
Data type: Optional[String[1]]
Third file of FMW distribution.
Default value: undef
fmw_file4
Data type: Optional[String[1]]
Fourth file of FMW distribution.
Default value: undef
bpm
Data type: Boolean
Boolean to determine if you want to enable BPM.
Default value: false
healthcare
Data type: Boolean
Boolean to determine if you want to enable healthcare.
Default value: false
os_user
Data type: String[1]
The os user used to install and run WebLogic.
Default value: lookup({name => 'wls_os_user'})
os_group
Data type: String[1]
The os group used to install and run WebLogic.
Default value: lookup({name => 'wls_os_group'})
download_dir
Data type: Stdlib::Absolutepath
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
Default value: lookup({name => 'wls_download_dir'})
source
Data type: String[1]
Source for the operation.
Default value: lookup({name => 'wls_source', default_value => undef})
temp_directory
Data type: Stdlib::Absolutepath
Directory to use for temporary files.
Default value: lookup({name => 'wls_temp_dir', default_value => '/tmp'})
ohs_mode
Data type: Enum[ 'colocated', 'collocated', 'standalone' ]
Type of OHS mode. Valid values are:
- colocated
- collocated
- standalone
Default value: lookup({name => 'ohs_mode', default_value => 'collocated'})
oracle_inventory_dir
Data type: Optional[Stdlib::Absolutepath]
The directory that contains the oracle inventory.
The default value is: /oracle_base/oraInventory
Default value: undef
orainstpath_dir
Data type: Optional[Stdlib::Absolutepath]
Path where to find the oraint. loc file.
Default value: lookup({name => 'orainstpath_dir', default_value => undef})
logoutput
Data type: Variant[ Boolean, Enum[ 'on_failure' ] ]
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
Default value: lookup({name => 'logoutput', default_value => 'on_failure'})
wls_install::fmwlogdir
wls_install::fmwlogdir
Here is an example on how you could use this:
wls_install::fmwlogdir { 'AdminServer':
middleware_home_dir => "/opt/oracle/middleware11gR1",
weblogic_user => "weblogic",
weblogic_password => "weblogic1",
os_user => "oracle",
os_group => "dba",
download_dir => "/data/install"
log_dir => "/var/log/weblogic"
adminserver_address => "localhost",
adminserver_port => 7001,
server => "AdminServer",
}
See the file "LICENSE" for the full license governing this code.
Parameters
The following parameters are available in the wls_install::fmwlogdir
defined type:
middleware_home_dir
adminserver_address
adminserver_port
weblogic_user
weblogic_password
user_config_file
user_key_file
userConfigFile
userKeyFile
os_user
os_group
download_dir
server
log_dir
logoutput
middleware_home_dir
Data type: Stdlib::Absolutepath
Middleware home directory.
Default value: lookup({name => 'wls_middleware_home_dir'})
adminserver_address
Data type: String[1]
The address of the admin server. May be a DNS name or a physical IP address.
Default value: lookup({name => 'domain_adminserver_address', default_value => 'localhost'})
adminserver_port
Data type: Integer
The IP port the admin server is listening on.
Default value: lookup({name => 'domain_adminserver_port', default_value => 7001})
weblogic_user
Data type: String[1]
The base WebLogic username to configure.
Default value: lookup({name => 'wls_weblogic_user', default_value => 'weblogic'})
weblogic_password
Data type: Optional[Easy_type::Password]
The password of the base WebLogic user name.
Default value: lookup({name => 'domain_wls_password', default_value => undef})
user_config_file
Data type: Optional[String[1]]
Default value: lookup({name => 'domain_user_config_file', default_value => undef})
user_key_file
Data type: Optional[String[1]]
Default value: lookup({name => 'domain_user_key_file', default_value => undef})
userConfigFile
userKeyFile
os_user
Data type: String[1]
The os user used to install and run WebLogic.
Default value: lookup({name => 'wls_os_user'})
os_group
Data type: String[1]
The os group used to install and run WebLogic.
Default value: lookup({name => 'wls_os_group'})
download_dir
Data type: Stdlib::Absolutepath
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
Default value: lookup({name => 'wls_download_dir'})
server
Data type: String[1]
Default value: 'AdminServer'
log_dir
Data type: Stdlib::Absolutepath
Directory to use for logging.
Default value: lookup({name => 'wls_log_dir', default_value => undef})
logoutput
Data type: Variant[ Boolean, Enum[ 'on_failure' ] ]
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
Default value: lookup({name => 'logoutput', default_value => 'on_failure'})
wls_install::increased_memory_bsu
wls_install::increased_memory_bsu
Patches the BSU utility to increase the amount of memory available for patches.
See the file "LICENSE" for the full license governing this code.
Parameters
The following parameters are available in the wls_install::increased_memory_bsu
defined type:
middleware_home_dir
Data type: Stdlib::Absolutepath
Middleware home directory.
Default value: lookup({name => 'wls_middleware_home_dir'})
jdk_home_dir
Data type: Stdlib::Absolutepath
The homdirectory for the Java evelopment Kit.
Default value: lookup({name => 'wls_jdk_home_dir'})
os_user
Data type: String[1]
The os user used to install and run WebLogic.
Default value: lookup({name => 'wls_os_user'})
os_group
Data type: Srting[1]
The os group used to install and run WebLogic.
Default value: lookup({name => 'wls_os_group'})
download_dir
Data type: Stdlib::Absolutepath
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
Default value: lookup({name => 'wls_download_dir'})
logoutput
Data type: Variant[ Boolean, Enum[ 'on_failure' ] ]
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
Default value: lookup({name => 'logoutput', default_value => 'on_failure'})
wls_install::managed_server
wls_install::managed_server
See the file "LICENSE" for the full license governing this code.
Parameters
The following parameters are available in the wls_install::managed_server
defined type:
domain
Data type: String[1]
Domain name.
machine
Data type: String[1]
Name of the weblogic machine to use.
listenaddress
Data type: String[1]
The address to use for listening. Mat be a physical IP address or a DNS name.
listenport
Data type: Integer
IP port to listen on.
ssllistenport
Data type: Integer
SSL listen port to use.
server_arguments
Data type: Array
Java arguments to use when runing the managed server.
wls_log_dir
Data type: Optional[Stdlib::Absolutepath]
The directory where all log files are places.
Default value: lookup({name => 'wls_log_dir', default_value => undef})
wls_install::nodemanager
wls_install::nodemanager
Here is an example on how you could use this:
wls_install::nodemanager{'nodemanager12c':
version => 1212, # 1036|1111|1211|1212
weblogic_home_dir => "/opt/oracle/middleware12c/wlserver",
jdk_home_dir => "/usr/java/jdk1.7.0_45",
nodemanager_port => 5556,
nodemanager_secure_listener => true,
domain_name => "Wls12c",
os_user => "oracle",
os_group => "dba",
log_dir => "/data/logs",
download_dir => "/data/install",
logoutput => true,
sleep => 20,
properties => {},
}
See the file "LICENSE" for the full license governing this code.
Parameters
The following parameters are available in the wls_install::nodemanager
defined type:
version
middleware_home_dir
weblogic_home_dir
nodemanager_port
nodemanager_address
nodemanager_secure_listener
jsse_enabled
custom_trust
trust_keystore_file
trust_keystore_passphrase
custom_identity
custom_identity_keystore_filename
custom_identity_keystore_passphrase
custom_identity_alias
custom_identity_privatekey_passphrase
extra_arguments
wls_domains_dir
domain_name
jdk_home_dir
os_user
os_group
download_dir
log_dir
log_file
sleep
properties
ohs_standalone
puppet_os_user
logoutput
version
Data type: Wls_install::Versions
The version that is installed in the used Oracle home. Puppet uses this value to decide on version specific actions.
Default value: lookup({name => 'wls_version', default_value => 1111})
middleware_home_dir
Data type: Stdlib::Absolutepath
Middleware home directory.
Default value: lookup({name => 'wls_middleware_home_dir'})
weblogic_home_dir
Data type: Stdlib::Absolutepath
Directory to use as WebLogic home.
Default value: lookup({name => 'wls_weblogic_home_dir'})
nodemanager_port
Data type: Integer
The IP port the nodemanager is listening on.
Default value: lookup({name => 'domain_nodemanager_port', default_value => 5556})
nodemanager_address
Data type: String[1]
Address the nodemanager is running on. This may be a DNS name or a physical IP address.
Default value: undef
nodemanager_secure_listener
Data type: Boolean
Use SSL for listening.
Default value: true
jsse_enabled
Data type: Boolean
Determine if you want to enable JSSE security.
Default value: lookup({name => 'wls_jsse_enabled', default_value => false})
custom_trust
Data type: Boolean
Determine if you want to use a custom trust or not.
Default value: lookup({name => 'wls_custom_trust', default_value => false})
trust_keystore_file
Data type: Optional[String[1]]
File specificiation of the trust keystore.
Default value: lookup({name => 'wls_trust_keystore_file', default_value => undef})
trust_keystore_passphrase
Data type: Optional[Easy_type::Password]
Passphrase to use for the trust keystore.
Default value: lookup({name => 'wls_trust_keystore_passphrase', default_value => undef})
custom_identity
Data type: Boolean
Determine if you want to use a custom identity store or not.
Default value: false
custom_identity_keystore_filename
Data type: Optional[String[1]]
file name of the keystore identity file.
Default value: undef
custom_identity_keystore_passphrase
Data type: Optional[Easy_type::Password]
Passphrase to use when opening the identity keystore.
Default value: undef
custom_identity_alias
Data type: Optional[String[1]]
Alias for custom identity.
Default value: undef
custom_identity_privatekey_passphrase
Data type: Optional[Easy_type::Password]
Private passphrase to use when opening the identity keystore.
Default value: undef
extra_arguments
Data type: String
Extra java arguments to use.
Default value: ''
wls_domains_dir
Data type: Optional[ Stdlib::Absolutepath ]
The root directory where all domain directories reside in.
Default value: lookup({name => 'wls_domains_dir', default_value => undef})
domain_name
Data type: Optional[ String[1]]
The domain name.
Default value: lookup({name => 'domain_name', default_value => undef})
jdk_home_dir
Data type: Stdlib::Absolutepath
The homdirectory for the Java evelopment Kit.
Default value: lookup({name => 'wls_jdk_home_dir'})
os_user
Data type: String[1]
The os user used to install and run WebLogic.
Default value: lookup({name => 'wls_os_user'})
os_group
Data type: String[1]
The os group used to install and run WebLogic.
Default value: lookup({name => 'wls_os_group'})
download_dir
Data type: Stdlib::Absolutepath
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
Default value: lookup({name => 'wls_download_dir'})
log_dir
Data type: Optional[ Stdlib::Absolutepath ]
Directory to use for logging.
Default value: lookup({name => 'wls_log_dir', default_value => undef})
log_file
Data type: String[1]
Log file to use.
Default value: 'nodemanager.log'
sleep
Data type: Integer
Maximum time to wait to check if nodemanger is running correctly. If time expires, the type will fail.
Default value: lookup({name => 'wls_nodemanager_sleep', default_value => 20})
properties
Data type: Hash
Properties to use.
Default value: {}
ohs_standalone
Data type: Boolean
Boolean to determine if you want to use OHS standalone mode.
Default value: false
puppet_os_user
Data type: String[1]
The Puppet OS user to use.
Default value: lookup({name => 'puppet_os_user', default_value => 'root'})
logoutput
Data type: Variant[ Boolean, Enum[ 'on_failure' ] ]
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
Default value: lookup({name => 'logoutput', default_value => 'on_failure'})
wls_install::opatchupgrade
wls_install::opatchupgrade
It will extract the ziop file you specify as source
and run the Opatch installer to ensure the correct version of opatch is installed.
See the file "LICENSE" for the full license governing this code.
Parameters
The following parameters are available in the wls_install::opatchupgrade
defined type:
opatch_version
oracle_home_dir
patch_file
source
os_user
os_group
jdk_home_dir
download_dir
temp_directory
logoutput
opatch_version
Data type: String[1]
The version of opatch you want ensure is installed on your system.
When there is a difference between the currently detected Opatch version and the version you specify here, Puppet will install the Opatch version that is in your zip file specified by the source
parameter.
If however this zip file contains a different version, this class will not idempotent.
oracle_home_dir
Data type: Stdlib::Absolutepath
A directory to be used as Oracle home directory for this software.
patch_file
Data type: String[1]
The zip file containing the required Opatch version.
source
Data type: String[1]
Source for the operation.
Default value: lookup({name => 'wls_source', default_value => undef})
os_user
Data type: String[1]
The os user used to install and run WebLogic.
Default value: lookup({name => 'wls_os_user', default_value => undef})
os_group
Data type: String[1]
The os group used to install and run WebLogic.
Default value: lookup({name => 'wls_os_group', default_value => undef})
jdk_home_dir
Data type: Stdlib::Absolutepath
The homdirectory for the Java evelopment Kit.
Default value: lookup({name => 'wls_jdk_home_dir'})
download_dir
Data type: Stdlib::Absolutepath
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
Default value: lookup({name => 'wls_download_dir', default_value => undef})
temp_directory
Data type: Stdlib::Absolutepath
Directory to use for temporary files.
Default value: '/tmp'
logoutput
Data type: Variant[ Boolean, Enum[ 'on_failure' ] ]
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
Default value: lookup({name => 'logoutput', default_value => 'on_failure'})
wls_install::ords::config
wls_install::ords::config
See the file "LICENSE" for the full license governing this code.
Parameters
The following parameters are available in the wls_install::ords::config
defined type:
db_hostname
db_port
db_servicename
db_sid
db_username
migrate_apex_rest
plsql_gateway_add
rest_services_apex_add
rest_services_ords_add
schema_tablespace_default
schema_tablespace_temp
standalone_http_port
standalone_static_images
user_public_password
user_tablespace_default
user_tablespace_temp
sys_user
sys_password
logoutput
db_hostname
Data type: String[1]
The hostname of the machine where the database is running.
db_port
Data type: Integer
The port of the machine where the database is running.
db_servicename
Data type: String[1]
The name of the service where database is running.
db_sid
Data type: String[1]
The service id of the machine where the database is running.
db_username
Data type: String[1]
The name of the database user.
migrate_apex_rest
Data type: Boolean
Flag defining if APEX REST api should be migrated.
plsql_gateway_add
Data type: Boolean
Flag defining if plsql gateway should be added to weblogic.
rest_services_apex_add
Data type: Boolean
Flag defining if apex rest services should be added to weblogic.
rest_services_ords_add
Data type: Boolean
Flag defining if ords rest services should be added to weblogic.
schema_tablespace_default
Data type: String[1]
The default tablespace schema.
schema_tablespace_temp
Data type: String[1]
The temporary tablespace schema.
standalone_http_port
Data type: Integer
The standalone http port.
standalone_static_images
Data type: Boolean
The standalone static images.
user_public_password
Data type: String[1]
The public password of the user.
user_tablespace_default
Data type: String[1]
The default tablespace of the user.
user_tablespace_temp
Data type: String[1]
The temporary tablespace of the user.
sys_user
Data type: String[1]
The system user.
sys_password
Data type: String[1]
The system user password.
logoutput
Data type: Variant[Enum['on_failure'], Boolean]
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
Default value: 'on_failure'
wls_install::ords::software_version
wls_install::ords::software_version
See the file "LICENSE" for the full license governing this code.
Parameters
The following parameters are available in the wls_install::ords::software_version
defined type:
file
Data type: String[1]
The name of the ords install file.
ords_home
Data type: Stdlib::Absolutepath
The ords home path.
source
Data type: String[1]
Source for the operation.
temp_dir
Data type: Stdlib::Absolutepath
The temporary directory path.
Default value: '/tmp'
logoutput
Data type: Variant[Enum['on_failure'], Boolean]
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
Default value: 'on_failure'
wls_install::packdomain
wls_install::packdomain
This defined type allows you pack the definition of your domain into a file. Using wls_install::copydomain, you can copy it to an other node and create a WebLogic cluster.Here is an example on how you could use this:puppetwls_install::packdomain{"Wls12c": weblogic_home_dir => "/opt/oracle/middleware12c/wlserver", middleware_home_dir => "/opt/oracle/middleware12c", jdk_home_dir => "/usr/java/jdk1.7.0_45", wls_domains_dir => "/opt/oracle/domains", domain_name => "Wls12c", os_user => "oracle", os_group => "dba", download_dir => "/data/install",}
See the file "LICENSE" for the full license governing this code.
Parameters
The following parameters are available in the wls_install::packdomain
defined type:
version
weblogic_home_dir
middleware_home_dir
jdk_home_dir
wls_domains_dir
domain_name
os_user
os_group
download_dir
logoutput
version
Data type: Wls_install::Versions
The version that is installed in the used Oracle home. Puppet uses this value to decide on version specific actions.
Default value: lookup({name => 'wls_version', default_value => 1111})
weblogic_home_dir
Data type: Stdlib::Absolutepath
Directory to use as WebLogic home.
Default value: lookup({name => 'wls_weblogic_home_dir'})
middleware_home_dir
Data type: Stdlib::Absolutepath
Middleware home directory.
Default value: lookup({name => 'wls_middleware_home_dir'})
jdk_home_dir
Data type: Stdlib::Absolutepath
The homdirectory for the Java evelopment Kit.
Default value: lookup({name => 'wls_jdk_home_dir'})
wls_domains_dir
Data type: Stdlib::Absolutepath
The root directory where all domain directories reside in.
Default value: lookup({name => 'wls_domains_dir', default_value => undef})
domain_name
Data type: String[1]
The domain name.
Default value: lookup({name => 'domain_name'})
os_user
Data type: String[1]
The os user used to install and run WebLogic.
Default value: lookup({name => 'wls_os_user'})
os_group
Data type: String[1]
The os group used to install and run WebLogic.
Default value: lookup({name => 'wls_os_group'})
download_dir
Data type: Stdlib::Absolutepath
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
Default value: lookup({name => 'wls_download_dir'})
logoutput
Data type: Variant[ Boolean, Enum[ 'on_failure' ] ]
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
Default value: lookup({name => 'logoutput', default_value => 'on_failure'})
wls_install::software_version
wls_install::software_version
You can use this to install multiple versions on your system.
Here is an example on how you could use this:
wls_install::software_version{'1221':
version => 1221, # 1036|1211|1212|1213|1221
filename => 'fmw_12.2.1.0.0_wls.jar', #
jdk_home_dir => '/usr/java/jdk1.8.0_45',
oracle_base_home_dir => "/opt/oracle",
middleware_home_dir => "/opt/oracle/middleware12c",
weblogic_home_dir => "/opt/oracle/middleware12c/wlserver",
os_user => "oracle",
os_group => "dba",
download_dir => "/data/install",
source => "/vagrant", # puppet:///modules/orawls/ | /mnt |
logoutput => true,
}
See the file "LICENSE" for the full license governing this code.
Parameters
The following parameters are available in the wls_install::software_version
defined type:
version
filename
oracle_base_home_dir
middleware_home_dir
weblogic_home_dir
wls_domains_dir
wls_apps_dir
fmw_infra
jdk_home_dir
os_user
os_group
download_dir
source
java_parameters
temp_directory
logoutput
cleanup
oracle_inventory_dir
version
Data type: Wls_install::Versions
The version that is installed in the used Oracle home. Puppet uses this value to decide on version specific actions.
Default value: 1111
filename
Data type: String[1]
The source file to use.
Default value: undef
oracle_base_home_dir
Data type: Stdlib::Absolutepath
History
4.12.9
- [fmwcluster] Make logoutput configurable
4.12.8
- [fmwcluster] Fix for OSB cluster
4.12.7
- [fmwcluster] New implementation for 12.2.14 and higher
- [docs] Fix wrong references to ora_install
4.12.6
- [wls_install_domain] Fix reading of xml files for resources
4.12.5
- [wls_install_domain] Fix reading of plan deployment file
4.12.4
- [wls_install_domains] Guard agains empty name in config.xml
4.12.3
- [rcu] use specified sysdba on check
4.12.2
- [rcu] use specified sysdba on check
4.12.1
- [domain] Fix typo
4.12.0
- [rcu,domain] Make connecting as sysdba configurable
4.11.2
- [rcu] Fix missing space between command parts
4.11.1
- [rcu] Fix extra space between password and sysdba
4.11.0
- [rcu] Infer non-sysdba account when specified account is not sys
4.10.4
- [wls_install_homes] Use default location if oraInst.loc does not exists
- [domain] Fix missing space in server arguments
4.10.3
- [copydomain] Fix Using custom trust for enrolling domain
4.10.2
- [nodemanagerautostart] Add bash to ExecStart & ExecStop in unit file
4.10.1
- [fmw] Fix detection of installed FMW product
4.10.0
- [docs] Regenerated docs
- [nodemanagerautostart] Add support for environment file for system unit
4.9.1
- [fmw] Typo; changed 12219 to 122119
4.9.0
- [fmw] Add support for forms and reports 12.2.1.19
4.8.3
- [wls_physical_patches] Fix filter_map issue on jruby
4.8.2
- [nodemanager] Removed stdlib::merge dependency
4.8.1
- [nodemanager] Fix deprecated merge call
4.8.0
- [core] Add support for Puppet 8
4.7.3
- [nodemanagerautostart] Fix systemd autostart
4.7.2
- [software_version] Fix undefined reference.
4.7.1
- [software_vesrion] Remove unzip package
4.7.0
- [core] Add support for EL9
- [software_version] Ensure unzip is installed in time
4.6.1
- [nodemanager] Fix on initial run with java_update_window set
4.6.0
- [wls_java_home] Add support to manage java home in extra files
4.5.1
- [nodemanagerautostart] Fix typo
4.5.0
- [quality] Use strict linting
- [docs]Update format of documentation
- [nodemanager,domain,copydomain] Add support for scheduled java update
4.4.1
- [wls_java_home] Added config_bootstrap.xml to list of files
4.4.0
- [copydomain] Add support for switching java_home
4.3.1
- [release] Fix content of package
- [wls_java_home] Add short description of the type
4.3.0
- [nodemanager] Restart nodemanager after java_home change
- [domain] Add support for switching java_home
- [wls_java_home] Initial implementation
4.2.4
- [copydomain] create intermediate log dirs with correct mode
4.2.3
- [nodemanager] create intermediate log dirs with correct mode
- [domain] Create intermediate log dirs with correct mode
4.2.2
- [domain] Create log directories with correct owner and mode
4.2.1
- [software_version] Fix when umask is set to 077
4.2.0
- [release] Add support for AlmaLinux and Rocky
4.1.1
- [wls_install_homes] Fix load error
4.1.0
- [core] Use cleanup type instead of exec for cleaning up
- [functions/wls_patches_missing] Add support for sub_patches
- [functions/wls_physical_patches] Add support for sub_patches
4.0.2
- [fact_caching] Handle puppet versions older than V5
4.0.1
- [clear_caches] Remove bsu type from caching logic
- [docs] Update software versions
4.0.0
- [function/running_domains] Initial implementation
- [release] remove all deprecated functionality
- [core] Implement fact caching
3.11.5
- [copydomain] Remove standard created nodemanager.properties
3.11.4
-[copydomain] Add support for non-standard admin ports
3.11.3
- [nodemanager] Fix for using standard trust with custom identity
- [domain] Fix for using standard trust with custom identity
3.11.2
- [ords_homes] Fix detection of current homes
3.11.1
- [domain] Fix domain creation when administration_port_enabled false
3.11.0
- [domain] Add support for enabling administration port
3.10.1
[release] Change syntac of dependency fiddyspence-sleep [docs] Fix description of the module [doc] Updated docs and REFERENCE.md
3.10.0
- [wls_install_homes] Add running domains info to fact
- [functions/physical_patches] initial implementation
- [functions/patches_missing] initial implementation
3.9.0
- [release] Add puppet 7 support to the metadata
- [core] orawls_oracle_exists moved to the new namespace
- [ords_homes] Fix error when home does not exist
3.8.0
- [core] Add easy_type::debug_evaluation to all classes
- [software_version] Fix redeployment error
- [facts] Add support for removed homes in wls_install_homes fact
3.7.5
- [domain] Cleanup all files only needed during installation
- [software_version] Cleanup all files only needed during installation
- [rcu] Cleanup all files only needed during installation
- [fmw] Cleanup all files only needed during installation
- [software_version] cleanup fetched software and temporary created files
3.7.4
- [domain] Remove invalid nodemanager.properties after domain extensions are run (#38)
3.7.3
- [domain] Fix unrecognised variable $path error (#37)
- [core] Fix types in epp templates (#36)
- [core] Convert erb templates to epp
3.7.2
- [domain] Fix silent failure when somethin goes wrong with domain creation
3.7.1
- [domain] Make repository_password optional again
3.7.0
- [core] Add support for WebLogic 14
3.6.2
- [utils::webtier] Fix usage sensitive data type for passwords
- [utils::oimconfig] Fix usage sensitive data type for passwords
- [utils::fmw_clusterjrf] Fix usage sensitive data type for passwords
- [utils::fmw_cluster] Fix usage sensitive data type for passwords
3.6.1
- [domain] Fix sentive passwords for RCU
3.6.0
- [nodemanager] Fix idempotency on WebLogic 12.2.1.4
- [core] Add support for sensitive type for passwords
- [core] Make sure no usernames and passwords are echoed during a run
3.5.0
- [core] Add support for WebLogic 12.2.1.4
- [rcu] tabpespace and temp_tablespace options per component
- [rcu] Fix ordering of tablespace options
- [release] Add support for RHEL8 and remove support for RHEL5
- [domain] Add support for rcu_tablepspace and rcu_temp tablespace
- [fmw] Add missing BI silent template (#25)
3.4.2
- [core] Fix archive dependency
3.4.1
- [facts] Make facts resilient to empty domain.xml
- [release] Add trial license to README
- [core] Fix usage of root group on AIX
- [release] Cleanup some of the suported OS-es and version
- [docs] Update documentation
- [domain] add the ablity to create a BI publisher domain
3.4.0
- [core] Add AIX support
- [fmw] add bi_platform support for version 12213
- [functions] Change /web/ to /ohs/ after multiple tests
- [fmw] Update ora_inventory to auto add oraInventory
- [fmwjrf] Add middleware_home_dir + update logoutput not non
- [domain] Add apps inside domain dir parameter
3.3.2
- [metadata] Allow Archive version 4
- [domain] Add support for app_dir inside domain_dir
3.3.1
- [ords] Fix fact no /etc/ords_homes file and older versions
3.3.0
- [opatchupgrade] Initial version
3.2.2
- [ords::software_version] Fix fetch from remote url
- [ords] Add source header
3.2.1
- [ords] Add function ords_installed
3.2.0
- [ords] Add initial support for installing ORDS
3.1.4
- [fmw] Fix FMW detection
- [fmw] Use extracted data type for fmq_product and function for making fmw idempotent
- [fmw_installed] Add function to verify specific if specific fusion product is installed
- [core] extraxt type Fmw_products
- [facts] Add installed features to oracle home fact
3.1.3
- [facts] Fix error when machine of server is undefined
- [docs] Fix documentation
3.1.2
- [domain] Fix syntax error
3.1.1
- [nodemanagerautostart] Fix support for multidomain in later WLS versions
- [core] Add ‘managed by puppet’ notices to templated files
- [copydomain] Add support for mutiple domains
- [domain] Add support for mutiple domains
3.1.0
- [core] Make sure no usernames and passwords are echoed during a run
- [domain] Add support for Forms domain and RCU
- [fmw] handle install type for non soa and osb middleware types
3.0.6
- facts] Fix error when deployment is not targetted
- [core] Add puppet 6 unit tests
- [docs] Added type information and defaul values to docs
- [software_version] Add support for installing multiple homes with same version
- [core] update archive module
3.0.5
- [facts] Remove an other debugger statement
3.0.4
- [facts] Remove debugger
3.0.3
- [facts] return empty hash when directory named in wls_domains.dat doesn’t exist
- [facts] Make sure rexml/document is available
- [test] Update tested Puppet versions
- [docs] First full doc setup
3.0.2
- [copydomain] Fix access to packed domain when using archive
- [quality] Add bundle check
- [development] Fix loading of wrong rspec-puppet gem.
3.0.1
- [nodemanager] Make implementation for 12.2.1.3. idempotent
- [fmw] Update the templates for 12.2.1.3
- [nodemanagerautostart] Add support for 12.2.1.3
- [nodemanager] Add support for 12.2.1.3
- [fmw] Add support for 12.2.1.3
- [domain] Add support for 12.2.1.3
- [release] Update metadata and README
3.0.0
- [facts] Fix FMW domain parsing
- [wls_adminserver] less output on regular run
- [domain] Don’t use deprecated property
- [core] Less standard output
- [fmw] Fix data form fmw class
- [functions] Fix when check returns a nil
- [packdomain] Add specs and make all variables camel case
- [managed_server] Fix default from wls_log_path
- [fmwlogdir] use camel case variables
- [domain] Use camel case variables
- [fmw] add correct prefix to module yaml data
- [functions] Move all functions to wls_install namespace
- [wls_adminserver] Only show wlst output when debugging
- [release] Clean old files
- [release] Add stdlib requirement
3.0.0-alpha.1
- [release] First Puppet 4 and 5 alpha release
2.1.12
- [release] prepare for publishing on forge
2.1.11
- [nodemanager] Idempotentie problem solved.
- [nodemanager] Fix lint errors
- [nodemanager] Fix for multiple nodemanagers on 1 system
- [nodemanager, nodemanagerautostart] Better systemd integration
- [copydomain] Use correct domains file
- [facts] Remove java_version & java_versions facts
- [copydomain] Fix require when using non standard copy
- [nodemanagerautostart] Fix execute bit on systemd service files
- [core] refactored to not use yaml_setting anymore.
- [domain] Filter out unsupported JVM options
- [facts] Add facts for java version numbers
- [nodemanagerautostart] Change unit from simple to notify when using RHEL 7 >
- [core] Use puppet 4 or higher on testing
- [functions] Fix lookup of variables on higher puppet versions
- [copydomain] Added basic support for own copyscript
- [core] Remove old non-used code
2.1.10
- [core] Make 'on_failure' for all log_output parameters
- [domain] Fix templating when non default machine name is used
- [domain] Make default log_output on_failure
- [packdomain] Fix issue with nodemaanager start on non admin-server node
2.1.9
- [nodemanagerautostart] Add parameter systemd_script_location
- [wls_adminserver] Fix reporting changes on refresh
- [wls_adminserver] Fix refreshonly behaviour
2.1.8
- [nodemanagerautostart] Add support for 12.2.1.2
- [domain] Fix creation of wrong nodemanager.properties
- [nodemanagerautostart] Remove keystore passphrase from start command
- [core] Updated to support WebLogic and Fusion 12.2.1.2
2.1.7
- [fmwcluster] Remove server foledrs of removed servers
- [rcu] Remove the pwd file after use. Closes #3
- [fmwcluster] Add missing SOA deployments. Closes #4
- [rcu] make default for rcu_soa_profile undef
2.1.6
- [domain, rcu] Add suppoort for rcu_honor_omf and rcu_soa_profile parameters
2.1.5
- [core] Fix lookuing up of undefined variables
- Fix nodemanager issue on version 12.2.1.1
2.1.4
- Add support for WebLogic and Fusion 12.2.1.1
2.1.3
- [domain] fix old routie call in jrf template
- [software_version] Added support for multiple software trees
- [core] Add geppetto project file
- Security fixes
2.1.2
- [bsu] extract increaed_memory setting for BSU patches
- [software] Fix quoting issue
2.1.1
- [cluster_node] Make ports user configurable
2.1.0
- Added support for WebLogic 12.2.1
2.0.0
- Changed name to wls_install
1.0.39
- Works & Tested on puppet 4.2.1
- Oracle Forms & Reports 11.1.1.7 or 11.1.2 support
- Wls_server new attributes frontendhost, frontendhttpport and frontendhttpsport
1.0.38
- wls_server new attributes auto_restart & autokillwfail for automatic restart when the server crashes, or automatically kill when the server hangs
- wls_jms_queue, wls_jms_topic new attribute messagelogging
- wls_domain new attributes setinternalappdeploymentondemandenable, setconfigbackupenabled, setarchiveconfigurationcount, setconfigurationaudittype
- Dynamictargetting for wls_cluster, wls_datasource, wls_mail_session
- wls_datasource new attribute shrinkfrequencyseconds
1.0.37
- xa properties fix for wls_datasource
- custom weblogic home directory for WebLogic 10.3 and BSU patch
- target attribute used in wls types are now idempotent
1.0.36
- support for FMW installation which has 3 install files like oim/oam 11.1.2.3
- Webtier configuration for OAM
- wls_server_channel added keystore attributes
- wls_jms_queue ForwardDelay bug plus new attribute templatename
- wls_datasource new attributes row prefetch and initsql
- wls_workmanager new attribute fairshare
- wls_coherence_template new attribute classpath
- wls_deployment bug when version is none
1.0.35
- custom wls resource types now also supports t3s with customtrust done by wls_settings
- adminserver_ssl_port parameter on the domain.pp manifest
- wls_settings don't show the password in the output
- new resource type wls_jdbc_persistence_store
- new resource type wls_jms_template
- wls_deployment planpath fixes
- wls_datasource fixes
- removed default value -1 on forward delay on wls_jms_queue
- wls_server, new attribute listenportenabled
- wls_jms_connection_factory, xa fix plus new attributes localjndiname, defaultdeliverymode, defaultredeliverydelay
- wls_workmanager_constraint, Add the ability to manage fairshare class.
1.0.34
- Copydomain FMW apps_dir fix
- FTP Resource adapter plus resource adapter fixes
- New type wls_coherence_server
- Moved 12c nodemanager properties from domain.pp to nodemanager.pp so custom trust will also work
- Added urandom fixes and use notify when there is rngd configuration refresh
1.0.33
- added ESS (enterprise schedular) to OSB domain + FMW cluster option
- RCU prefix compare check fix ( Uppercase )
- SOA FMW cluster fixes for latest 12.1.3 soa patch
- SOA FMW cluster fix for soa with bam
- Java tmp dir option for 12c FMW software install
- wls_server, new attribute WeblogicPluginEnabled
- Optional DefaultUserNameMapperAttributeType fix in wls_identity_asserter
- Added bash shell to su -c commands like opatch, bsu, wls_adminserver, rcu types
1.0.32
- new wls_singleton_service type
- wls_jms_bridge_destination fix for username and password
- fiddyspence/sleep fix so it works with hiera and string value as input
- added log file to tmp dir + level for the weblogic 10.3 or 11g installation output
- Multiple targets for wls_jms_module type
- new wls_deployment attributes for stagingmode, remote and upload
- able to provide the sys username for the FMW domain RCU action
- derby flag on false in setDomainEnv when it is an OSB or SOA domain
1.0.31
- wls_jms_queue, new attribute forwarddelay
- wls_foreign_server_object, bug when removing object plus also removing dependencies
- wls_cluster, new attribute clusteraddress
- nodemanager.properties was overwritten in case of weblogic 12c and a domain extension
- nodemanager with 12c didn't start when log_dir was empty
1.0.30
- download dir dependency cycle error between weblogic and domain manifest.
- bsu unzip -o option instead of -n so the new readme is also added to the cache_dir
- wls_server, new attributes log_redirect_stderr_to_server, log_redirect_stdout_to_server, restart_max, log_http_file_count, log_http_number_of_files_limited, bea_home
- wls_jmsserver, new attributes bytes_maximum, allows_persistent_downgrade
- wls_datasource, new attributes secondstotrustidlepoolconnection, testfrequency, connectioncreationretryfrequency
- wls_server_channnel, new attributes publicport, max_message_size
1.0.29
- calculated_listen_port attribute for wls_dynamic_cluster
- mincapacity, statementcachesize, testconnectionsonreserve for wls_datasource
- wls_managedserver type fix when target is cluster, doesn't use ps -ef but uses wlst to check the cluster status
- new wls_messaging_bridge wls type
- new wls_jms_bridge_destination wls type
- wls_setting added a 'default' entry in wls_settings.yaml even when default is not used
1.0.28
- new wls_identity_asserter type for customising default identy asserter
- xaproperties attributes in wls_datasource
- better error handling for wls_authentication_provider ordering
- option to skip the OPSS security store migration from file to the database in fmwcluster.pp
- Custom type for oracle weblogic/domain directory structure instead of using a structure manifest
- logintimeout attribute for wls_server
- added some extra autorequire on wls resource types
1.0.27
- bug fixes in auto require and post classpath parameter bug when running in debug mode
- wls_multi_datasource resource type added
1.0.26
- auto require based on the wls resource parameters, no need to use require on the all wls resource types
- wls_adminserver type used plain as a default in nmconnect
1.0.25
- Auto require on wls resource types
- urandom fix for rngd service on RedHat Family version 7
- Secure replication parameter for wls_cluster
- ignore ldap providers for wls_user & wls_group
- Support for nodemanagers without security ( plain, with nodemanager_secure_listener = false) on control.pp, nodemanager.pp & domain.pp
1.0.24
- Wls_setting resource type check for required attributes
- Timeout parameter bug on all wls resource types ( the default 120 was always used)
- Nodemanager.pp exec sleep command replaced by fiddyspence/sleep resource type, will check every 2 seconds with netstat
1.0.23
- Solaris 11 fixes for nodemanager, wls_adminserver & wls_managedserver resource types
- wls_server resource type changes like: check for Adminserver creation/deletion, new properties tunnelingenabled, log_http_format_type, log_http_format, default_file_store, log_datasource_filename
- wls_domain resource type properties: platform-m-bean-server-enabled, platform-m-bean-server-used, show-archived-real-path-enabled
- wls_jms_connection_factory resource type properties: client-id-policy, subscription-sharing-policy, messages-maximum, reconnect-policy, load-balancing-enabled, server-affinity-enabled, attach-jmsx-user-id
- changed oraInst.loc permissions to 0755
1.0.22
- fix for copydomain when the standard domains location is used
- enable storage on wls_coherence_cluster
- AdminServer option to listen on all interfaces, adminserver_listen_on_all_interfaces = true on domain.pp
1.0.21
- puppet custom type for 12.1.2, 12.1.3 RCU, checks first if it already exists
- refactor all domains py scripts to standard one with an FMW extension (optional)
- fmw temp directory bug fix
1.0.20
- unset DISPLAY on install/configurations actions to avoid X timeout
- exclude the standard puppet attributes from the wls_setting yaml files
- Print the WLST scripts of all the wls types when puppet runs in debug mode
- Added new attributes log_http_filename & log_datasource_filename to the wls_server type
- SOA Cluster 12.1.3 fix for activating soa-infra application
- control the startup delay for the nodemanager with the sleep parameter
- option to assign the jrfcluster to a opss database
1.0.19
- changed property and removed propertyvalues of wls_mail_session, now there is no change detected when there is a different sorting
- changed users of wls_group, no change when there is a different sorting
- removed extrapropertiesvalues of wls_datasource, you can use now extraproperties with key=value,key1=value
- removed extrapropertiesvalues of wls_foreign_server, you can use now extraproperties with key=value,key1=value
- New Order parameter on the wls_authentication_provider type so you can change the order
- Timout parameter for all the wls types, can be used to override the default timeout (120s) on every wls resource
- MaxMessageSize parameter for wls_server resource type
1.0.18
- small fix for the server_template type with the arguments parameter
- Frontend parameters for wls_cluster
- Option to skip RCU with a domain creation ( weblogic > 12.1.2)
- new WebLogic type wls_mail_session
- new parameter default file store with wls_server
1.0.17
- utils.py fix for multiple domains
- Refactor for rubocop warnings
1.0.16
- Gridlink support for the Datasource type
- Extra properties can now be removed in a update of the Datasource
- Refactor domain py scripts and use a utils.py script for common functions
1.0.15
- RCU 12.1.3 support for MFT
- BSU fix for hard mdw path in patch policy
- OPatch, check the outcome of the action else fail
- SOA Cluster also works for FMW version 11.1.1.6
- wls_server type new attributes two_way_ssl, client_certificate_enforced
- wls_authentication_provider type now works for DefaultIdentityAsserter
1.0.14
- Change log Tab for puppetlabs forge
1.0.13
- Support for multiple jrf clusters
- New WLS 12c types like wls_server_template, wls_coherence_cluster, wls_dynamic_cluster
1.0.12
- SOA 12.1.3 Cluster support
- 12.1.3 FMW fixes
- BSU policy patch
- OAM & OIM cluster support
- 11g option to associate WebTier with a domain
1.0.11
- OSB 12.1.3 Cluster support
- FMW domains update for datasources based on servicetable
- Target & targettype on all wls types expects an array
- Same for servers parameter on wls_domain type
- Same for users parameter on wls_group type
- Same virtualhostnames parameter on wls_virtual_host
- Same for jndinames, extraproperties, extrapropertiesvalues parameters on wls_datasource & wls_foreign_server
1.0.10
- fixed WebLogic 12.1.2 & 12.1.3 standard domain bug.
1.0.9
- WebLogic 12.1.3 (infra) support
- Support for 12.1.3 SOA,OSB,B2B,MFT installation
- 12.1.3 Standard, ADF, SOA, OSB domain (no cluster)
- wls_adminserver type fix when using no custom trust
1.0.8
- wls_server pass server arguments as an array, as it makes it easier to use references in YAML
- Added log file options to wls_server
1.0.7
- wls_adminserver,wls_managedserver type to start,stop and refresh a managed server ( or subscribe to changes and do an autorestart )
- BSU
- Opatch
- Resource adapter
- Small nodemanager fix
1.0.6
- Readme with links
- wls types title cleanup
- Multiple resource adapter entries fix
- wls_domain fix
- bsu & opatch also works on < puppet 3.2
- hiera vars without an undef default
1.0.5
- wls_domain type to modify JTA,Security,Log & JPA
- Oracle Unified Directory install, domain, instances creation
- OUD control
1.0.4
- wls_deployment type/provider
- Post_classpath param on wls_setting
- WebTier for 12.1.2 and 11.1.1.7
- OIM & OAM 11.1.2.1 & 11.1.2.2 support with OHS OAM Webgate
1.0.3
- WLST Domain daemin for fast WLS types execution
- BSU & OPatch absent option and better output when it fails
1.0.2
- Custom Identity and Custom Trust
1.0.1
- Multi domain support with Puppet WLS types and providers
Dependencies
- fiddyspence-sleep (>=1.2.0 < 2.0.0)
- puppetlabs-stdlib (>= 4.13.0 < 10.0.0)
- puppet-archive (>= 3.0.0 < 8.0.0)
- enterprisemodules-easy_type (>= 2.37.0 < 3.0.0)
Enterprise Modules License d.d. January 2018 This license (“License”) governs the terms and conditions under which wls_install module (“the Software”) is licensed by Enterprise Modules B.V, a limited liability company in the Netherlands, registered in the Dutch Chamber of Commerce: 63689537 (“Licensor”), to the user of the Software (“Licensee”). Article 1. Grant of license 1.1 Licensor hereby grants to Licensee the right to use the Software for its internal business purposes. 1.2 The license granted in the previous paragraph is limited to the use on VirtualBox Virtual machines. For further use a commercial license must be directly obtained from Licensor. Article 2. License limitations 2.1 All right, title and interest to the Software, the accompanying documentation and all modifications and extensions thereto rest and remain with Licensor. Licensee only has the rights and permissions explicitly granted by this License or granted in writing otherwise. Licensee shall not use, copy, modify, distribute or publish the Software in any other manner. Nothing in this License is intended to, and shall not be construed to, transfer to Licensee any rights in intellectual property developed by Licensor. 2.2 In particular, Licensee shall not: a) provide copies of the Software to third parties, including to entities controlling, controlled by or under common control with Licensee; b) sublicense the Software or otherwise make available the Software to such third parties, including by rental, Software-as-a-Service models or otherwise; c) remove indications of Licensor as copyright holder of the Software or to remove or render illegible any part thereof. 2.3 The Software comprises third-party open source software. The respective third-party rights holders grant Licensee the rights indicated in the applicable open source licenses. These licenses can be found in the documentation. The License does not apply to this open source software, and nothing in this License shall be construed as a limitation of any right granted under an open source license. Article 3. Trademark 3.1 This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Software. Article 4. Limitation of Liability 4.1 Licensor provides the Software on an "AS IS" basis, and expressly disclaims all conditions, representations or warranties, express or implied, including without limitation any implied warranties of merchantability, fitness for a particular purpose, and non-infringement of third party rights regarding the Software. Licensor is solely responsible for determining the appropriateness of using the Software and assume any risks associated arising out of or in connection with the Software and this License. 4.2 Licensor shall not be liable for any damages, including consequential, special, punitive and/or incidental damages or fines imposed by regulatory bodies, arising out of or in connection with the Software and this License. 4.3 Licensee shall release, defend, indemnify and hold harmless Licensor from and against any and all claims, damages and liability arising in connection with the Software, including from claims, damages or liability from customers of Licensee. Article 5. Miscellaneous 5.1 Licensor reserves the right to change any or all parts of this License without prior notice. 5.2 The law of the Netherlands governs this License and the terms and conditions therein. 5.3 Any disputes arising between Licensor and Licensee in connection with the License will be settled by the competent courts in the Netherlands for the principal place of business of the Licensor.