Order of the classes 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: I7bd6abf2bc6b10da52fb4dad0c238b7b59cec54b
This commit is contained in:
parent
183dc2e05b
commit
0c7f9c5e48
@ -16,12 +16,12 @@
|
|||||||
#
|
#
|
||||||
class kibana (
|
class kibana (
|
||||||
$discover_nodes = ['localhost:9200'],
|
$discover_nodes = ['localhost:9200'],
|
||||||
$version = 'ruby',
|
|
||||||
$js_vhost_name = $::fqdn,
|
|
||||||
$js_vhost_aliases = [],
|
|
||||||
$js_vhost_template = 'kibana/dual-elasticsearch.vhost.erb',
|
|
||||||
$js_elasticsearch_prefix = '/',
|
$js_elasticsearch_prefix = '/',
|
||||||
$js_elasticsearch_url = 'http://localhost:9200',
|
$js_elasticsearch_url = 'http://localhost:9200',
|
||||||
|
$js_vhost_aliases = [],
|
||||||
|
$js_vhost_name = $::fqdn,
|
||||||
|
$js_vhost_template = 'kibana/dual-elasticsearch.vhost.erb',
|
||||||
|
$version = 'ruby',
|
||||||
) {
|
) {
|
||||||
|
|
||||||
group { 'kibana':
|
group { 'kibana':
|
||||||
|
@ -15,14 +15,14 @@
|
|||||||
# Class to install kibana frontend to logstash.
|
# Class to install kibana frontend to logstash.
|
||||||
#
|
#
|
||||||
class kibana::js (
|
class kibana::js (
|
||||||
$vhost_template = 'kibana/dual-elasticsearch.vhost.erb',
|
|
||||||
$vhost_aliases = [],
|
|
||||||
$vhost_name = $::fqdn,
|
|
||||||
$vhost_proxy_timeout = '120',
|
|
||||||
$vhost_proxy_connect_timeout = '15',
|
|
||||||
$elasticsearch_url = 'http://localhost:9200',
|
$elasticsearch_url = 'http://localhost:9200',
|
||||||
$elasticsearch_prefix = '/', # Must contain trailing /
|
$elasticsearch_prefix = '/', # Must contain trailing /
|
||||||
$git_revision = 'v3.1.2',
|
$git_revision = 'v3.1.2',
|
||||||
|
$vhost_aliases = [],
|
||||||
|
$vhost_name = $::fqdn,
|
||||||
|
$vhost_proxy_connect_timeout = '15',
|
||||||
|
$vhost_proxy_timeout = '120',
|
||||||
|
$vhost_template = 'kibana/dual-elasticsearch.vhost.erb',
|
||||||
) {
|
) {
|
||||||
|
|
||||||
$base_path = "/opt/kibana/${git_revision}"
|
$base_path = "/opt/kibana/${git_revision}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user