Skip to content

Commit 678a29b

Browse files
committed
aggiunto java-9 (openjdk)
1 parent 3e5f353 commit 678a29b

2 files changed

Lines changed: 14 additions & 3 deletions

File tree

manifests/init.pp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,16 @@
88
#
99
# @param java_version [String] the java version.
1010
# Possible values at this time are
11-
# <tt>6</tt> and <tt>7</tt>.
11+
# <tt>6</tt>, <tt>7</tt>, <tt>8</tt> and <tt>9</tt>.
1212
#
1313
# @param java_default_version [Optional[String]] the java default version.
1414
# Possible values at this time are
15-
# <tt>6</tt> and <tt>7</tt>.
15+
# <tt>6</tt>, <tt>7</tt>, <tt>8</tt> and <tt>9</tt>.
1616
# If different than +undef+ it will be used to configure
1717
# the alternative system.
1818
#
1919
# @example Declaring in manifest
20-
# java {6: }
20+
# java {'8': }
2121
#
2222
# @author Dario Sestero
2323
define java (

manifests/java_9.pp

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# This class installs Java-9.
2+
#
3+
# @example Declaring in manifest
4+
# include java::java_9
5+
# @example Hiera data for using java_9
6+
# classes:
7+
# - java::java_9
8+
class java::java_9 {
9+
10+
java {'9': }
11+
}

0 commit comments

Comments
 (0)