dropwizard

Dropwizard Puppet Module

Thanandorn Thongsringklee

thanandorn

9,815 downloads

5,529 latest version

4.6 quality score

Version information

  • 0.1.2 (latest)
  • 0.1.1
  • 0.0.2
  • 0.0.1
released Mar 29th 2017
This version is compatible with:
  • RedHat
    ,
    CentOS

Start using this module

Documentation

thanandorn/dropwizard — version 0.1.2 Mar 29th 2017

puppet-dropwizard

Build Status Puppet Forge

Table of Contents

  1. Overview
  2. Limitations - OS compatibility, etc.
  3. Setup - The basics of getting started with dropwizard
  4. Usage - Configuration options and additional functionality

Overview

Puppet module for installing, configuring and managing Dropwizard application.

Limitations

Supported Systems

  • CentOS 7 (systemd)

Supported Config Type

  • YAML

Setup

Module Installation

To install the module run:

 $ puppet module install thanandorn-dropwizard

Or install via librarian-puppet. Add below to Pupppetfile

mod 'thanandorn-dropwizard'

Usage

By default, the module will install Java from default values of puppetlabs-java

  include ::dropwizard

To create Dropwizard config files and services

  class { '::dropwizard':
    instances    => {
      'demoapp'  => {
        config_hash => {
          "server"  => {
            'type'           => 'simple',
            'appContextPath' => '/app',
            'connector'      => {
              'type' => 'http',
              'port' => '8080'
            }
          }
        }
      }
    }

To create Dropwizard config files and services from hiera

---
classes:
  - dropwizard

java::package: 'jdk'
java::version: '1.8.0_51'

dropwizard::instances:
  demoapp:
    config_hash:
      server:
        type: 'simple'
        appContextPath: '/app'
        connector:
          type: 'http'
          port: 8080