Forge Home

wls_profile

pdk
Easy customisable profile classes for WebLogic and Fusion nodes for Linux, Solaris & AIX

Enterprise Modules

enterprisemodules

17,666 downloads

1,121 latest version

4.8 quality score

Version information

  • 0.12.0 (latest)
  • 0.11.1
  • 0.11.0
  • 0.10.3
  • 0.10.2
  • 0.10.1
  • 0.10.0
  • 0.9.0
  • 0.8.1
  • 0.8.0
  • 0.7.0
  • 0.6.1
  • 0.6.0
  • 0.5.1
  • 0.5.0
  • 0.4.0
  • 0.3.3
  • 0.3.2
  • 0.3.1
  • 0.3.0
  • 0.2.1
  • 0.2.0
  • 0.1.4
  • 0.1.3
  • 0.1.2
  • 0.1.1
  • 0.1.0
released Jun 29th 2021
This version is compatible with:
  • Puppet Enterprise 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, 2017.1.x, 2016.5.x, 2016.4.x
  • Puppet >= 4.7.0 < 8.0.0
  • AIX
    ,
    CentOS
    ,
    OracleLinux
    ,
    RedHat
Plans:
  • apply_patches

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this declaration to your Puppetfile:

mod 'enterprisemodules-wls_profile', '0.12.0'
Learn more about managing modules with a Puppetfile

Add this module to a Bolt project:

bolt module add enterprisemodules-wls_profile
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install enterprisemodules-wls_profile --version 0.12.0

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

Documentation

enterprisemodules/wls_profile — version 0.12.0 Jun 29th 2021

Enterprise Modules

Table of Contents

  1. Overview
  2. License
  3. Description - What the module does and why it is useful
  4. Setup
  1. Usage - Configuration options and additional functionality
  2. Reference - An under-the-hood peek at what the module is doing and how
  3. Limitations - OS compatibility, etc.

Overview

The wls_profile module allows an easy path from first simple installation to a fully customized Enterprise setup. It is part of our family of Puppet modules to install, manage and secure WebLogic and Fusion Middleware with Puppet. Besides the wls_profile module, this family also contains:

  • wls_config For configuring an Oracle WebLogic and other Fusion products
  • wls_install For installing an Oracle WebLogic and other Fusion products

License

Most of the Enterprise Modules modules are commercial modules. This one is NOT. It is an Open Source module. You are free to use it any way you like. It, however, is based on our commercial Puppet WebLogic modules.

Description

This module has a couple of convenient classes to help you setup your WebLogic environment:

All of these classes contain some steps. All of these stapes have default implementations, but you can add extra Puppet code to the catalog and remove or override the default implementation. This can all be done by adding values to your hiera files.

Check here to see the full documentation for this module.

Setup

Requirements

The wls_profile module requires:

  • Puppet module enterprisemodules-easy_type installed.
  • Puppet module enterprisemodules-wls_install installed.
  • Puppet module enterprisemodules-wls_config 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

This module uses some other public Puppet forge modules. Check the metadata to ensure you have all dependencies installed.

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

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_profile module

To install these modules, you can use a Puppetfile

mod 'enterprisemodules/wls_profile'               ,'0.1.0'

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_profile

Usage

To get started, include the wls_profile::admin_server class in your role, make sure you have a module called software that has a folder files and that directory contains the next files:

  • fmw_12.2.1.3.0_wls.jar WebLogic software
  • jdk-8u152-linux-x64.tar.gz Java JDK software
  • jce_policy-8.zip Java Encryption Policy

Run Puppet and you have a Server with WebLogic installed, a domain called MYDOMAIN and a cluster called main. Check the documentation for all the settings you can manage. Here is a list of the most basic stuff you'd probably want to change:

wls_profile::domain_name:         MYDOMAIN                      # The domain name
wls_profile::cluster_name:        main                          # Cluster name
wls_profile::weblogic_password:   Welcome01                     # Weblogic password
wls_profile::source:              puppet:///modules/software    # Location where the files are fetched from
wls_profile::weblogic::ssh_setup::public_key:                     AAAAB3N.....M43olbQ==
wls_profile::weblogic::ssh_setup::private_key: |
  -----BEGIN RSA PRIVATE KEY-----
  MIIJKQIBAAKCAgEA5zOPmOVSF3MFXaEoLlbZICXuG0q2uT5kW1BwRzDbzVdiJtuA
  ...
  PsLoml7g3jpGkRb3xgW1N4N4Xt+Vkzp6qAB5aqvCZO3EoHfeOS5DE9O+XbSW
  -----END RSA PRIVATE KEY-----

Reference

Here you can find some more information regarding this puppet module:

Here are related blog posts:

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.