Forge Home

dropwizard

Dropwizard Puppet Module

10,876 downloads

6,436 latest version

4.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

  • 0.1.2 (latest)
  • 0.1.1
  • 0.0.2
  • 0.0.1 (deleted)
released Mar 29th 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 'thanandorn-dropwizard', '0.1.2'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add thanandorn-dropwizard
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install thanandorn-dropwizard --version 0.1.2

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

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