puppet/modules/java/manifests/package_debian.pp @ 93801c389112
Formatting.
author |
Steve Losh <steve@stevelosh.com> |
date |
Tue, 04 Oct 2011 19:08:15 -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"],
}
}