Merge "Switch from a cron to curator"

This commit is contained in:
Jenkins 2015-11-16 21:30:50 +00:00 committed by Gerrit Code Review
commit af13b1960e

View File

@ -41,6 +41,7 @@ class openstack_project::elasticsearch_node (
}
cron { 'delete_old_es_indices':
ensure => 'absent',
user => 'root',
hour => '2',
minute => '0',
@ -48,4 +49,8 @@ class openstack_project::elasticsearch_node (
environment => 'PATH=/usr/bin:/bin:/usr/sbin:/sbin',
}
class { 'logstash::curator':
keep_for_days => '10',
}
}