puppet/modules/java/manifests/package_debian.pp @ 31fe71aff817
Add "classes" to .hgignore.
author |
Steve Losh <steve@stevelosh.com> |
date |
Wed, 28 Sep 2011 20:40:26 -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"],
}
}