Ensure manifests fit the 140-character limit

Change-Id: I850ce8c7c149775f0254be9dd8e60e387b766c4f
This commit is contained in:
Simon Pasquier 2016-03-10 12:12:15 +01:00
parent 21bd7f964a
commit 98d683a8f2
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 }).")
}