Resource Type: wls_deployment

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

Overview

This resource allows you to manage a cluster in an WebLogic domain.

Here is an example on how you should use this:

# 'jersey-bundle' will use default as wls_setting identifier
wls_deployment{'jersey-bundle':
  ensure            => 'present',
  deploymenttype    => 'Library',
  stagingmode       => 'nostage',
  remote            => "1",
  upload            => "1",
  target            => ['AdminServer', 'WebCluster'],
  targettype        => ['Server', 'Cluster'],
  versionidentifier => '1.18@1.18.0.0',
}

In this example you are managing a deployment in the default domain. When you want to manage a deployment in a specific domain, you can use:

wls_deployment{'my_domain/webapp':
  ensure            => 'present',
  deploymenttype    => 'AppDeployment',
  stagingmode       => 'nostage',
  remote            => "1",
  upload            => "1",
  target            => ['WebCluster'],
  targettype        => ['Cluster'],
  versionidentifier => '1.1@1.1.0.0',
  require           => Wls_deployment['jersey-bundle']
}

Check the [WebLogic documentation](docs.oracle.com/middleware/1212/wls/INTRO/deploying.htm#INTRO201) for more information about application deployment.

Properties

  • ensure (defaults to: present)

    The basic property that the resource should be in.

    Supported values:
    • present
    • absent

Parameters

  • provider

    The specific backend to use for this ‘wls_deployment` resource. You will seldom need to specify this — Puppet will usually discover the appropriate provider for your platform.