
Fix new lint errors detected when full of the voxpupili lint plugins are enabled. Change-Id: I9705ad334d05a2041f0f9c4b885fc3fd44342720 Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
39 lines
1.2 KiB
Puppet
39 lines
1.2 KiB
Puppet
# == Class designate::producer_task::zone_purge
|
|
#
|
|
# Configure zone_purge producer task in designate-producer
|
|
#
|
|
# == Parameters
|
|
#
|
|
# [*interval*]
|
|
# (optional) Run interval in seconds.
|
|
# Defaults to $facts['os_service_default']
|
|
#
|
|
# [*per_page*]
|
|
# (optional) Default amount of results returned per page.
|
|
# Defaults to $facts['os_service_default']
|
|
#
|
|
# [*time_threshold*]
|
|
# (optional) How old deleted zones should be (deleted_at) to be purged, in
|
|
# seconds.
|
|
# Defaults to $facts['os_service_default']
|
|
#
|
|
# [*batch_size*]
|
|
# (optional) How many zones to receive NOTIFY on each run.
|
|
# Defaults to $facts['os_service_default']
|
|
#
|
|
class designate::producer_task::zone_purge (
|
|
$interval = $facts['os_service_default'],
|
|
$per_page = $facts['os_service_default'],
|
|
$time_threshold = $facts['os_service_default'],
|
|
$batch_size = $facts['os_service_default'],
|
|
) {
|
|
include designate::deps
|
|
|
|
designate_config {
|
|
'producer_task:zone_purge/interval': value => $interval;
|
|
'producer_task:zone_purge/per_page': value => $per_page;
|
|
'producer_task:zone_purge/time_threshold': value => $time_threshold;
|
|
'producer_task:zone_purge/batch_size': value => $batch_size;
|
|
}
|
|
}
|