Ensure manifests fit the 140-character limit
Change-Id: I850ce8c7c149775f0254be9dd8e60e387b766c4f
(cherry picked from commit 98d683a8f2
)
This commit is contained in:
parent
a4d961a0fa
commit
6a35a0b4eb
|
@ -17,5 +17,5 @@ $elasticsearch_kibana = hiera('elasticsearch_kibana')
|
||||||
# Check that JVM size doesn't exceed the physical RAM size
|
# Check that JVM size doesn't exceed the physical RAM size
|
||||||
$jvmsize_mb = ($elasticsearch_kibana['jvm_heap_size'] + 0.0) * 1024
|
$jvmsize_mb = ($elasticsearch_kibana['jvm_heap_size'] + 0.0) * 1024
|
||||||
if $jvmsize_mb >= $::memorysize_mb {
|
if $jvmsize_mb >= $::memorysize_mb {
|
||||||
fail("The configured JVM size (${ $elasticsearch_kibana['jvm_heap_size'] } GB) is greater than the total amount of RAM of the system (${ ::memorysize }).")
|
fail("The configured JVM size (${ $elasticsearch_kibana['jvm_heap_size'] } GB) is greater than the system RAM (${ ::memorysize }).")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue