Skip to content

Commit

Permalink
Elasticsearch: Ensure that jvm.options are disabled for ES 7
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Friedrich committed Aug 16, 2019
1 parent cd9f409 commit 8602047
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .puppet/modules/profiles/manifests/elastic/elasticsearch.pp
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,19 @@
class { 'elasticsearch':
oss => true,
version => $elasticsearch_revision,
# Commented out options is a workaround for https://github.com/elastic/puppet-elasticsearch/issues/1032
jvm_options => [
'-Xms256m',
'-Xmx256m'
'-Xmx256m',
'#PrintGCDetails',
'#PrintGCDateStamps',
'#PrintTenuringDistribution',
'#PrintGCApplicationStoppedTime',
"#Xloggc",
'#UseGCLogFileRotation',
"#NumberOfGCLogFiles",
"#GCLogFileSize",
"#XX:UseConcMarkSweepGC",
],
}
->
Expand Down

0 comments on commit 8602047

Please sign in to comment.