Version information
This version is compatible with:
- Puppet Enterprise 3.x
- Puppet 2.7.x
- , , , ,
Start using this module
Add this module to your Puppetfile:
mod 'aco-jpackage6', '1.0.0'
Learn more about managing modules with a PuppetfileDocumentation
#jpackage6
####Table of Contents
##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!
###1.0.0
First forge release
Copyright 2014 Antoine Cotten Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.