Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 6f693ace8c
Fetching contributors…

Cannot retrieve contributors at this time

39 lines (27 sloc) 1.134 kb
class sun_java6 {
exec {
#"/bin/echo \"sun-java6-plugin shared/accepted-sun-dlj-v1-1 boolean true\" | /usr/bin/debconf-set-selections":
#alias => "debconf-set-selections-sun-java6-plugin";
"/bin/echo \"sun-java6-bin shared/accepted-sun-dlj-v1-1 boolean true\" | /usr/bin/debconf-set-selections":
alias => "debconf-set-selections-sun-java6-bin";
"/bin/echo \"sun-java6-jre shared/accepted-sun-dlj-v1-1 boolean true\" | /usr/bin/debconf-set-selections":
alias => "debconf-set-selections-sun-java6-jre";
}
package {
#"sun-java6-plugin":
# require => [
# Exec["debconf-set-selections-sun-java6-plugin"],
# Package["sun-java6-bin"],
# Package["sun-java6-jre"] ],
# ensure => "installed";
"sun-java6-bin":
require => Exec["debconf-set-selections-sun-java6-bin"],
ensure => "installed";
"sun-java6-jre":
require => Exec["debconf-set-selections-sun-java6-jre"],
ensure => "installed";
}
}
class java {
include sun_java6
}
Jump to Line
Something went wrong with that request. Please try again.