validate maxdelay for cron job
The parameter descriptions says the value should be a positive integer (or 0). Validate the given value to reject invalid values such as strings or even negative values. Change-Id: I9c60cfe63697632fc816eec3aa2824578f0d3573
This commit is contained in:
parent
8780840907
commit
f233ad9240
@ -60,7 +60,7 @@ class keystone::cron::fernet_rotate (
|
||||
$monthday = '*',
|
||||
$month = '*',
|
||||
$weekday = '*',
|
||||
$maxdelay = 0,
|
||||
Integer[0] $maxdelay = 0,
|
||||
$user = $::keystone::params::user,
|
||||
) inherits keystone::params {
|
||||
|
||||
|
@ -67,8 +67,8 @@ class keystone::cron::trust_flush (
|
||||
$monthday = '*',
|
||||
$month = '*',
|
||||
$weekday = '*',
|
||||
Integer $maxdelay = 0,
|
||||
Integer $age = 0,
|
||||
Integer[0] $maxdelay = 0,
|
||||
Integer[0] $age = 0,
|
||||
$destination = '/var/log/keystone/keystone-trustflush.log',
|
||||
$user = $::keystone::params::user,
|
||||
) inherits keystone::params {
|
||||
|
Loading…
Reference in New Issue
Block a user