Skip to content
This repository has been archived by the owner on Nov 1, 2023. It is now read-only.

Allowing the java executable path to be specified. #13

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
$console = $activemq::params::console,
$package_type = $activemq::params::package_type,
$architecture_flag = $activemq::params::architecture_flag,
$java_exec = $activemq::params::java_exec,
$activemqxml_source = undef,
) inherits activemq::params {

Expand Down
1 change: 1 addition & 0 deletions manifests/package/tarball.pp
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
$system_user = $activemq::system_user,
$manage_user = $activemq::manage_user,
$manage_group = $activemq::manage_group,
$java_exec = $activemq::java_exec,
) {

# wget from https://github.com/maestrodev/puppet-wget
Expand Down
1 change: 1 addition & 0 deletions manifests/params.pp
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
$package_type = 'tarball',
$manage_user = true,
$manage_group = true,
$java_exec = 'java',
) {

# path flag for the activemq init script template
Expand Down
2 changes: 1 addition & 1 deletion templates/wrapper.conf.erb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ set.default.ACTIVEMQ_DATA=%ACTIVEMQ_BASE%/data
wrapper.working.dir=.

# Java Application
wrapper.java.command=java
wrapper.java.command=<%= @java_exec %>

# Java Main class. This class must implement the WrapperListener interface
# or guarantee that the WrapperManager class is initialized. Helper
Expand Down