Ensure manifests fit the 140-character limit

Change-Id: I850ce8c7c149775f0254be9dd8e60e387b766c4f
(cherry picked from commit 98d683a8f2)
This commit is contained in:
Simon Pasquier 2016-03-10 12:12:15 +01:00
parent a4d961a0fa
commit 6a35a0b4eb
1 changed files with 1 additions and 1 deletions

View File

@ -17,5 +17,5 @@ $elasticsearch_kibana = hiera('elasticsearch_kibana')
# Check that JVM size doesn't exceed the physical RAM size
$jvmsize_mb = ($elasticsearch_kibana['jvm_heap_size'] + 0.0) * 1024
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 }).")
}