Fix puppet-lint error

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

Change-Id: I7fb22744f91a1c710ba8bf0332d2c4f8995d2ad7
This commit is contained in:
Colleen Murphy 2017-04-01 16:02:36 +02:00
parent 0f8fc12999
commit 1b457604ab
1 changed files with 3 additions and 3 deletions

View File

@ -1,9 +1,9 @@
# Install and maintain Gerrit Code Review.
# params:
# mysql_host:
# The mysql host to which gerrit should connect.
# mysql_password:
# The password with which gerrit connects to mysql.
# mysql_host:
# The mysql host to which gerrit should connect.
# vhost_name:
# used in the Apache virtual host, eg., review.example.com
# redirect_to_canonicalweburl:
@ -172,8 +172,8 @@
# TODO: make more gerrit options configurable here
#
class gerrit(
$mysql_host = 'localhost',
$mysql_password,
$mysql_host = 'localhost',
$war = '',
$email_private_key = '',
$token_private_key = '',