diff --git a/manifests/agent.pp b/manifests/agent.pp index f8d6c6c..489b0cb 100644 --- a/manifests/agent.pp +++ b/manifests/agent.pp @@ -23,7 +23,7 @@ # String. Path to agent config template. # Default: 'logstash/agent.conf.erb' class logstash::agent ( - $conf_template = 'logstash/agent.conf.erb' + $conf_template = 'logstash/agent.conf.erb', ) { warning('This class is deprecated and logstash::indexer should be used instead') class { '::logstash::indexer': diff --git a/manifests/curator.pp b/manifests/curator.pp index 9c4db54..a2252d7 100644 --- a/manifests/curator.pp +++ b/manifests/curator.pp @@ -15,10 +15,10 @@ # ELK curator # class logstash::curator ( - $keep_for_days = '14', - $pin_for_old_es = false, $cron_hour = '2', $cron_minute = '0', + $keep_for_days = '14', + $pin_for_old_es = false, ) { if ($pin_for_old_es) { diff --git a/manifests/indexer.pp b/manifests/indexer.pp index 205e8ab..89e087a 100644 --- a/manifests/indexer.pp +++ b/manifests/indexer.pp @@ -22,7 +22,7 @@ # String. Path to indexer config template. # Default: 'logstash/indexer.conf.erb' class logstash::indexer ( - $conf_template = 'logstash/indexer.conf.erb' + $conf_template = 'logstash/indexer.conf.erb', ) { include ::logstash diff --git a/manifests/web.pp b/manifests/web.pp index 9b8b704..8ecb1b7 100644 --- a/manifests/web.pp +++ b/manifests/web.pp @@ -40,11 +40,11 @@ # Default: false # class logstash::web ( - $vhost_name = $::fqdn, - $serveradmin = "webmaster@${::fqdn}", - $frontend = 'internal', - $discover_nodes = ['localhost:9200'], - $proxy_elasticsearch = false + $discover_nodes = ['localhost:9200'], + $frontend = 'internal', + $proxy_elasticsearch = false, + $serveradmin = "webmaster@${::fqdn}", + $vhost_name = $::fqdn, ) { include ::httpd httpd_mod { 'rewrite':