JBoss AS 7.x Puppet module
Puppet Shell Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
files/init.d
manifests
spec
templates
tests
.project
Modulefile
README.textile
metadata.json

README.textile

JBoss AS Puppet Module

soluvas/puppet-jbossas Project on GitHub

Installation

1. Clone from git: git://github.com/soluvas/puppet-jbossas.git
2. Make a symlink in /etc/puppet/modules/jbossas/home/ceefour/git/puppet-jbossas

Dependencies

  • Package['curl']
  • JRE runtime

Usage

Typical production settings:


  package {
    curl:                   ensure => present;
    daemon:                 ensure => present;
    openjdk-7-jre-headless: ensure => present;
  }
  class { jbossas:
    bind_address => '127.0.0.1',
  }
  Package['openjdk-7-jre-headless'] -> Class['jbossas']

Typical development settings:


class { jbossas: }

Available parameters and their default values:

You can use your own mirror, can be HTTP, FTP, filesystem, or anything supported by curl:

class { jbossas:
	mirror_url => 'file:///home/ceefour/Public/'
}

Recommended configuration for Soluvas & Bippo:

class { jbossas:
	http_port => 9080,
	https_port => 9443
}

Virtual Server

Example:

jbossas::virtual_server { satukancinta:
	default_web_module => 'satukancinta-web',
	aliases => ['satukancinta.dev', 'www.satukancinta.dev'],
	ensure => present
}

Note that you still need to have WEB-INF/jboss-web.xml in your webapp containing:

<jboss-web>
	<virtual-host>satukancinta</virtual-host>
</jboss-web>

See: Virtual Hosts with JBoss AS 7