Fix puppet-lint errors

puppet-lint finally released a new major version that enforces the
not-that-new-anymore puppet style guide. This patch updates the
parameter lists to avoid the "optional parameter listed before required
parameter" lint warnings that are causing the lint jobs to fail.

Change-Id: I3cd3275958e5bdccb353e2a351da5aa9cfca0481
This commit is contained in:
Colleen Murphy 2017-04-01 17:35:57 +02:00
parent b739c0ecae
commit 45b2dd0a50
3 changed files with 4 additions and 4 deletions

View File

@ -17,11 +17,11 @@
# Logstash web frontend glue class.
#
class openstackci::logstash (
$discover_nodes = ['localhost'],
$statsd_host,
$subunit2sql_db_host,
$subunit2sql_db_pass,
$log_processor_config,
$discover_nodes = ['localhost'],
) {
class { '::logstash::web':

View File

@ -17,14 +17,14 @@
# Logstash indexer worker glue class.
#
class openstackci::logstash_worker (
$elasticsearch_nodes = [],
$log_processor_config,
$indexer_conf_template,
$elasticsearch_nodes = [],
$es_heap_size = '1g',
$es_version = '1.7.3',
# Increase the indexer max heap size to twice the default.
# Default is 25% of memory or 1g whichever is less.
$indexer_java_args = '-Xmx2g',
$indexer_conf_template,
$log_processor_workers = ['A', 'B', 'C', 'D',],
$es_gw_recover_after_nodes = '5',
$es_gw_recover_after_time = '5m',

View File

@ -18,9 +18,9 @@
class openstackci::nodepool (
$mysql_root_password,
$mysql_password,
$oscc_file_contents,
$git_source_repo = 'https://git.openstack.org/openstack-infra/nodepool',
$revision = 'master',
$oscc_file_contents,
$environment = {},
$nodepool_ssh_private_key = '',
$nodepool_ssh_public_key = '',