Version information
released Mar 29th 2017
This version is compatible with:
- ,
Start using this module
Add this module to your Puppetfile:
mod 'thanandorn-dropwizard', '0.1.2'
Learn more about managing modules with a PuppetfileDocumentation
thanandorn/dropwizard — version 0.1.2 Mar 29th 2017
puppet-dropwizard
Table of Contents
- Overview
- Limitations - OS compatibility, etc.
- Setup - The basics of getting started with dropwizard
- 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
Dependencies
- puppetlabs-stdlib (>= 4.2.0 <5.0.0)
- puppetlabs-java (>= 1.4.0 <2.0.0)
The MIT License (MIT) Copyright (c) 2015 Tron Thongsringklee Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.