Forge Home

jetty

Jetty configuration module

11,811 downloads

10,430 latest version

1.8 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.0.8 (latest)
  • 0.0.7
  • 0.0.6
  • 0.0.5
  • 0.0.4
  • 0.0.3
  • 0.0.2
released Feb 27th 2014

Start using this module

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

Add this module to your Puppetfile:

mod 'gsick-jetty', '0.0.3'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add gsick-jetty
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install gsick-jetty --version 0.0.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

Documentation

gsick/jetty — version 0.0.3 Feb 27th 2014

puppet-jetty

Puppet module for installing Jetty

Dependencies

This module requires Puppet >= 3.0.0 due to each function, need parser = future in puppet.conf. See http://docs.puppetlabs.com/references/latest/function.html#each

Usage

In your hieradata file...

Basic usage:

---
jetty::version: 9.1.2.v20140210

With more options:

---
jetty::version: 9.1.2.v20140210
jetty::java_properties:
    JAVA_HOME: /etc/alternatives/jre
    JAVA: /etc/alternatives/jre/bin/java
    JAVA_OPTIONS: "\"-server -XX:MaxPermSize=256m -Xms256m -Xmx2048m\""
jetty::jetty_properties:
    JETTY_HOME: /opt/jetty
    JETTY_USER: jetty 
    JETTY_PORT: 8080
    JETTY_HOST: 0.0.0.0
    JETTY_LOGS: /var/log/jetty
jetty::create_work_dir: true
jetty::remove_demo_base: true

More usage:

class {'jetty::deploy':
  source => /tmp/myapp.war,
  war => app.war,
}

License

MIT