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: I36851bcdbef1157fbc339834a1cc8dc8344397ce
This commit is contained in:
parent
e51b3a583a
commit
e615e916d1
@ -18,16 +18,16 @@
|
||||
#
|
||||
class elastic_recheck::bot (
|
||||
$gerrit_host,
|
||||
$recheck_bot_nick,
|
||||
$recheck_bot_passwd,
|
||||
$daemon_args = undef,
|
||||
$elastic_search_url = 'http://logstash.openstack.org:80/elasticsearch',
|
||||
$gerrit_ssh_host_key = undef,
|
||||
$logstash_url = 'http://logstash.openstack.org',
|
||||
$recheck_gerrit_user = 'elasticrecheck',
|
||||
$recheck_ssh_private_key = undef,
|
||||
$recheck_ssh_public_key = undef,
|
||||
$recheck_bot_passwd,
|
||||
$recheck_bot_nick,
|
||||
$elastic_search_url = 'http://logstash.openstack.org:80/elasticsearch',
|
||||
$logstash_url = 'http://logstash.openstack.org',
|
||||
$subunit2sql_db_uri = 'mysql+pymysql://query:query@logstash.openstack.org/subunit2sql',
|
||||
$daemon_args = undef,
|
||||
) {
|
||||
include ::elastic_recheck
|
||||
|
||||
|
@ -18,9 +18,9 @@
|
||||
#
|
||||
|
||||
class elastic_recheck::cron (
|
||||
$uncat_cmd_options = undef,
|
||||
$graph_all_cmd_options = undef,
|
||||
$graph_gate_cmd_options = undef,
|
||||
$uncat_cmd_options = undef,
|
||||
) {
|
||||
$er_state_path = '/var/lib/elastic-recheck'
|
||||
$graph_all_cmd = "elastic-recheck-graph /opt/elastic-recheck/queries -o all-new.json ${graph_all_cmd_options} && mv all-new.json all.json"
|
||||
|
Loading…
x
Reference in New Issue
Block a user