jpackage6

Puppet module for JPackage YUM repository

Antoine Cotten

aco

11,379 downloads

11,379 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
  • RedHat
    ,
    CentOS
    ,
    OracleLinux
    ,
    Scientific
    ,
    Fedora

Start using this module

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!