Forge Home

karaf

Install and configure karaf

12,547 downloads

4,712 latest version

2.6 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 1.1.6 (latest)
  • 1.1.5
  • 1.1.4
  • 1.1.3
  • 1.1.2
  • 1.1.1
  • 1.1.0
  • 1.0.2
  • 1.0.1
  • 1.0.0
  • 0.1.3
  • 0.1.2
  • 0.1.1
  • 0.1.0
released Sep 14th 2017
This version is compatible with:

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'remyma-karaf', '0.1.3'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add remyma-karaf
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install remyma-karaf --version 0.1.3

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download
Tags: java, karaf, osgi

Documentation

remyma/karaf — version 0.1.3 Sep 14th 2017

Karaf

Table of Contents

  1. Description
  2. Setup
  3. Usage - Configuration options and additional functionality

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'
       }