puppet/modules/java/manifests/package_debian.pp @ 9275d33bd224
More.
author |
Steve Losh <steve@stevelosh.com> |
date |
Wed, 05 Oct 2011 21:50:06 -0400 |
parents |
c3e170bda976 |
children |
(none) |
# Class: java::package_debian
#
# Implementation class of the Java package
# for debian based systems.
#
# This class is not meant to be used by the end user
# of the module. It is an implementation class
# of the composite Class[java]
#
# Parameters:
#
# Actions:
#
# Requires:
#
# Sample Usage:
#
class java::package_debian(
$version,
$distribution
) {
file { "/var/local/sun-java6.preseed":
content => template("${module_name}/sun-java6.preseed"),
}
package { 'java':
ensure => $version,
name => $distribution,
responsefile => "/var/local/sun-java6.preseed",
require => File["/var/local/sun-java6.preseed"],
}
}