nodepool: Enable periodic cleanup of dib logs

Enable the flag that clears out old logs after several days of
inactivity, so that we clean up deleted images

Change-Id: Ibfd36f250b290eae52a894c5854dc5c0b4633e99
Depends-On: Iee55717bc5fbf88d739a4124f62f76d193cf3b75
This commit is contained in:
Ian Wienand 2016-02-04 10:03:44 +11:00
parent 0b04e070dd
commit 46f64817ed

View File

@ -27,6 +27,7 @@ class openstackci::nodepool (
$vhost_name = $::fqdn,
$statsd_host = '',
$image_log_document_root = '/var/log/nodepool/image',
$image_log_periodic_cleanup = true,
$enable_image_log_via_http = true,
$project_config_repo = '',
$logging_conf_template = 'nodepool/nodepool.logging.conf.erb',
@ -49,6 +50,7 @@ class openstackci::nodepool (
vhost_name => $vhost_name,
statsd_host => $statsd_host,
image_log_document_root => $image_log_document_root,
image_log_periodic_cleanup => $image_log_periodic_cleanup,
enable_image_log_via_http => $enable_image_log_via_http,
environment => $environment,
scripts_dir => $::project_config::nodepool_scripts_dir,