Order of the class parameters is refactored

Order and intendation of those parameters are changed
to follow Puppet Style Guide recommendation [0].
Moreover, it will allow to an user to find much faster
a variable in a list of variables.

[0]. https://docs.puppetlabs.com/guides/style_guide.html

Change-Id: Ie516f4a5aafc724d8f290c6d12f5ee2f6fe99a94
This commit is contained in:
Andrey Nikitin 2016-03-21 11:39:53 +03:00
parent a3745ab6ee
commit d1429d37d2
1 changed files with 4 additions and 4 deletions

View File

@ -15,11 +15,11 @@
# Class to install elasticsearch.
#
class elasticsearch (
$version = '0.20.5',
$checksum = undef,
$url = 'https://download.elasticsearch.org/elasticsearch/elasticsearch',
$heap_size = '16g',
$es_template_config = {},
$checksum = undef,
$heap_size = '16g',
$url = 'https://download.elasticsearch.org/elasticsearch/elasticsearch',
$version = '0.20.5',
) inherits elasticsearch::params {
# Ensure: java runtime and curl
# Curl is handy for talking to the ES API on localhost. Allows for