Validate status of cron resource
This makes sure that the supported value is used for the parameters which determine the ensure property of a cron resource type. Change-Id: I1abe90a8f060804c6cc1660158360dfeac4495ad
This commit is contained in:
parent
80da0affca
commit
91215fcb46
@ -54,14 +54,14 @@
|
||||
# Defaults to $::keystone::params::user
|
||||
#
|
||||
class keystone::cron::fernet_rotate (
|
||||
$ensure = present,
|
||||
$minute = 1,
|
||||
$hour = 0,
|
||||
$monthday = '*',
|
||||
$month = '*',
|
||||
$weekday = '*',
|
||||
$maxdelay = 0,
|
||||
$user = $::keystone::params::user,
|
||||
Enum['present', 'absent'] $ensure = present,
|
||||
$minute = 1,
|
||||
$hour = 0,
|
||||
$monthday = '*',
|
||||
$month = '*',
|
||||
$weekday = '*',
|
||||
$maxdelay = 0,
|
||||
$user = $::keystone::params::user,
|
||||
) inherits keystone::params {
|
||||
|
||||
include keystone::deps
|
||||
|
@ -61,16 +61,16 @@
|
||||
# Defaults to $::keystone::params::user
|
||||
#
|
||||
class keystone::cron::trust_flush (
|
||||
$ensure = present,
|
||||
$minute = 1,
|
||||
$hour = '*',
|
||||
$monthday = '*',
|
||||
$month = '*',
|
||||
$weekday = '*',
|
||||
Integer $maxdelay = 0,
|
||||
Integer $age = 0,
|
||||
$destination = '/var/log/keystone/keystone-trustflush.log',
|
||||
$user = $::keystone::params::user,
|
||||
Enum['present', 'absent'] $ensure = present,
|
||||
$minute = 1,
|
||||
$hour = '*',
|
||||
$monthday = '*',
|
||||
$month = '*',
|
||||
$weekday = '*',
|
||||
Integer $maxdelay = 0,
|
||||
Integer $age = 0,
|
||||
$destination = '/var/log/keystone/keystone-trustflush.log',
|
||||
$user = $::keystone::params::user,
|
||||
) inherits keystone::params {
|
||||
|
||||
include keystone::deps
|
||||
|
Loading…
Reference in New Issue
Block a user