- Overview
- Limitations - OS compatibility, etc.
- Setup - The basics of getting started with dropwizard
- Usage - Configuration options and additional functionality
Puppet module for installing, configuring and managing Dropwizard application.
Supported Systems
- CentOS 7 (systemd)
Supported Config Type
- YAML
To install the module run:
$ puppet module install thanandorn-dropwizard
Or install via librarian-puppet
. Add below to Pupppetfile
mod 'thanandorn-dropwizard'
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