Skip to content

Commit cab71ef

Browse files
remove java 1.8 support
1 parent 7d61784 commit cab71ef

File tree

6 files changed

+6
-8
lines changed

6 files changed

+6
-8
lines changed

manifests/init.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
# JVM Settings
88
$javahome = undef,
9-
Enum['openjdk-11', 'oracle-jdk-1.8', 'custom'] $jvm_type = 'openjdk-11',
9+
Enum['openjdk-11', 'custom'] $jvm_type = 'openjdk-11',
1010
$jvm_xms = '256m',
1111
$jvm_xmx = '1024m',
1212
$jvm_permgen = '256m',

spec/acceptance/1_default_parameters_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
cleanup => true,
2424
} ->
2525
class { 'confluence':
26-
version => '5.5.6',
27-
jvm_type => 'oracle-jdk-1.8',
26+
version => '8.5.12',
27+
jvm_type => 'openjdk-11',
2828
download_url => fact('download_url'),
2929
javahome => $jh,
3030
}

spec/acceptance/2_default_parameters_upgrade_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
} ->
2525
class { 'confluence':
2626
version => '5.7',
27-
jvm_type => 'oracle-jdk-1.8',
27+
jvm_type => 'openjdk-11',
2828
download_url => fact('download_url'),
2929
javahome => $jh,
3030
}

spec/acceptance/3_custom_parameters_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
} ->
2525
class { 'confluence':
2626
version => '5.7',
27-
jvm_type => 'oracle-jdk-1.8',
27+
jvm_type => 'openjdk-11',
2828
download_url => fact('download_url'),
2929
javahome => $jh,
3030
tomcat_port => '8091',

spec/classes/confluence_config_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@
257257
{
258258
version: '7.12.0',
259259
javahome: '/opt/java',
260-
jvm_type: 'oracle-jdk-1.8'
260+
jvm_type: 'openjdk-11'
261261
}
262262
end
263263

templates/setenv.sh.erb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,6 @@ CATALINA_OPTS="-Xlog:gc+age=debug:file=$LOGBASEABS/logs/gc-`date +%F_%H-%M-%S`.l
9090
<%- end -%>
9191
<%- if scope.lookupvar('confluence::jvm_type') == 'openjdk-11' -%>
9292
CATALINA_OPTS="-XX:+ExplicitGCInvokesConcurrent -XX:+PrintGCDateStamps ${CATALINA_OPTS}"
93-
<%- elsif scope.lookupvar('confluence::jvm_type') == 'oracle-jdk-1.8' -%>
94-
CATALINA_OPTS="-XX:-PrintGCDetails -XX:+PrintGCDateStamps -XX:-PrintTenuringDistribution ${CATALINA_OPTS}"
9593
<%- end -%>
9694
CATALINA_OPTS="-Xloggc:$LOGBASEABS/logs/gc-`date +%F_%H-%M-%S`.log -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=5 -XX:GCLogFileSize=2M ${CATALINA_OPTS}"
9795
CATALINA_OPTS="-XX:G1ReservePercent=20 ${CATALINA_OPTS}"

0 commit comments

Comments
 (0)