Forge Home

jpackage6

Puppet module for JPackage YUM repository

12,528 downloads

12,528 latest version

3.1 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

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

Download

Documentation

aco/jpackage6 — version 1.0.0 Jul 22nd 2014

#jpackage6

####Table of Contents

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

##Overview

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)

##Setup

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
}

##Usage

####Class: jpackage6

Primary class and entry point of the module.

Parameters within jpackage6:

#####gpgcheck

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

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

#####enable_devel

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

#####enable_nonfree

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

##Credits

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

Features request and contributions are always welcome!