Skip to content

Defined type jboss::deploy

Krzysztof Suszyński edited this page Oct 19, 2015 · 2 revisions

The jboss::deploy defined type

This defined type can be used to deploy and undeploy standard Java artifacts to JBoss server

jboss::deploy { 'foobar-app':
  ensure      => 'present',
  servergroup => 'foobar-group',
  path        => '/usr/src/foobar-app-1.0.0.war',
}

Parameters for jboss::datasource:

This type uses JBoss module standard metaparameters

path parameter

A path to standard Java archive for ex.: war or ear file.

ensure parameter

Standard ensure parameter. Can be either present or absent.

jndi parameter

This is the namevar. The JNDI name of deployed archive.

redeploy parameter

This parameter can be used to force redeployment of already deployed archive. By default it is equals for false

servergroups parameter

In domain mode, you need to pass here actual server group name on which you wish to deploy the archive.