Version information
released Jan 16th 2017
This version is compatible with:
Start using this module
Add this module to your Puppetfile:
mod 'remyma-karaf', '0.1.1'
Learn more about managing modules with a PuppetfileDocumentation
remyma/karaf — version 0.1.1 Jan 16th 2017
Karaf
Table of Contents
Description
This module sets up Karaf instances.
This module has been tested on Karaf 4.0.8.
Setup
The module manages the following
- Download or copy and extract karaf zip file
- Configure karaf
- Install karaf as a service
Setup requirements
- puppetlabs-java for Java installation
Beginning with karaf
Declare the top-level karaf
class (managing repositories) and set up an instance:
class { 'karaf':
}
Usage
- Installation, make sure service is running and will be started at boot time :
class { 'karaf':
}
- You can specify repos to be added on karaf startup, as well as features to start during karaf boot
class { 'karaf':
karaf_startup_feature_repos => ['mvn:org.apache.camel.karaf/apache-camel/2.18.1/xml/features'],
karaf_startup_feature_boots => ['jndi', 'jms', 'camel', 'camel-swagger', 'camel-jms']
}
- You can override karaf default logging configuration file:
class { 'karaf':
file_karaf_logging => 'puppet:///modules/karaf_is/karaf/etc/org.ops4j.pax.logging.cfg'
}
- If you need to update your maven settings (for instance if karaf needs to retrieve maven dependencies from nexus), you can override maven settings:
class { 'karaf':
file_maven_settings => 'puppet:///modules/karaf_is/maven/settings.xml'
}
Dependencies
- puppetlabs-stdlib (>= 1.0.0)
- puppetlabs-java (>= 1.6.0)