Forge Home


Puppet module for JPackage YUM repository


12,264 latest version

3.1 quality score

Version information

  • 1.0.0 (latest)
released Jul 22nd 2014
This version is compatible with:
  • Puppet Enterprise 3.x
  • Puppet 2.7.x
  • , , , ,

Start using this module

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

Add this module to your Puppetfile:

mod 'aco-jpackage6', '1.0.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add aco-jpackage6
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install aco-jpackage6 --version 1.0.0

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.



aco/jpackage6 — version 1.0.0 Jul 22nd 2014


####Table of Contents

  1. Overview
  2. Module Description
  3. Setup
  4. Usage
  5. Credits


The jpackage6 module installs the JPackage 6.0 YUM repository and its dependencies on all RHEL variants including Fedora.

##Module description

JPackage is a project which goal is to provide a set of Java software on Linux platforms. Its repositories can be used to get access to Java related packages not available in the official repositories of most Linux distributions. This module only focuses on systems which use the YUM package manager, ie. RHEL variants.

The following repositories will be enabled by default:

  • jpackage-generic-free
  • jpackage-distro-free (depending on the distribution)

One can also enable these extra repositories:

  • jpackage-generic-devel
  • jpackage-distro-devel (depending on the distribution)
  • jpackage-generic-nonfree
  • jpackage-distro-nonfree (depending on the distribution)


jpackage6 will affect the following parts of your system:

  • JPackage 6 YUM repositories
  • JPackage 6 GPG key

Including the main class is enough to get started. It will install the JPackage 6 free repositories as described above.

include ::jpackage6

####A couple of examples

Also enable the 'devel' and 'non-free' repositories

class { '::jpackage6':
  enable_devel   => 1,
  enable_nonfree => 1

Disable the GPG signature check

class { '::jpackage6':gpgcheck => 0


####Class: jpackage6

Primary class and entry point of the module.

Parameters within jpackage6:


Switch to perform or not GPG signature checks on repository packages. Defaults to '1'

Note: some packages in the JPackage repositories are unfortunately unsigned, set to '0' if you run any kind of unattended package installation on the system.


Enable 'free' repositories (both generic and distro-specific if relevant). Defaults to '1'


Enable 'devel' repositories (both generic and distro-specific if relevant). Defaults to '0'


Enable 'non-free' repositories (both generic and distro-specific if relevant). Defaults to '0'


The rpm_gpg_key defined type was reused from the 'epel' module by Michael Stahnke (stahnma).

Features request and contributions are always welcome!