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: I6dbfc2fd3769b174e493bd0392a652eca160f2bd
This commit is contained in:
parent
59bc52871b
commit
eaac86d3f4
@ -2,8 +2,6 @@
|
||||
|
||||
class jeepyb::fetch_remotes(
|
||||
$ensure = present,
|
||||
$user = 'gerrit2',
|
||||
$minute = '*/30',
|
||||
$logfile = '/var/log/jeepyb_gerritfetchremotes.log',
|
||||
$log_options = [
|
||||
'compress',
|
||||
@ -13,6 +11,8 @@ class jeepyb::fetch_remotes(
|
||||
'notifempty',
|
||||
'copytruncate',
|
||||
],
|
||||
$minute = '*/30',
|
||||
$user = 'gerrit2',
|
||||
) {
|
||||
validate_array($log_options)
|
||||
|
||||
|
@ -1,8 +1,6 @@
|
||||
# == Class: jeepyb::manage_projects
|
||||
|
||||
class jeepyb::manage_projects(
|
||||
$timeout = 900, # 15 minutes
|
||||
$logfile = '/var/log/manage_projects.log',
|
||||
$log_options = [
|
||||
'compress',
|
||||
'missingok',
|
||||
@ -11,6 +9,8 @@ class jeepyb::manage_projects(
|
||||
'notifempty',
|
||||
'copytruncate',
|
||||
],
|
||||
$logfile = '/var/log/manage_projects.log',
|
||||
$timeout = 900, # 15 minutes
|
||||
) {
|
||||
validate_array($log_options)
|
||||
|
||||
|
@ -1,16 +1,16 @@
|
||||
# == Class: jeepyb::openstackwatch
|
||||
|
||||
class jeepyb::openstackwatch(
|
||||
$swift_username,
|
||||
$swift_password,
|
||||
$swift_auth_url,
|
||||
$swift_password,
|
||||
$swift_username,
|
||||
$json_url,
|
||||
$auth_version = '1.0',
|
||||
$projects = [],
|
||||
$mode = 'multiple',
|
||||
$container = 'rss',
|
||||
$minute = '18',
|
||||
$hour = '*',
|
||||
$minute = '18',
|
||||
$mode = 'multiple',
|
||||
$projects = [],
|
||||
) {
|
||||
include ::jeepyb
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user