Remove unused cron
Change-Id: Ife90f2210f3cdc1621e55251957a986a6d198941
This commit is contained in:
parent
4ddf563c88
commit
78cde77666
@ -58,12 +58,4 @@ class openstack_project::elasticsearch_node (
|
||||
environment => 'PATH=/usr/bin:/bin:/usr/sbin:/sbin',
|
||||
}
|
||||
|
||||
cron { 'optimize_old_es_indices':
|
||||
ensure => absent,
|
||||
user => 'root',
|
||||
hour => '13',
|
||||
minute => '0',
|
||||
command => 'curl -sS -XPOST "http://localhost:9200/logstash-`date -d yesterday +\%Y.\%m.\%d`/_optimize?max_num_segments=2" > /dev/null',
|
||||
environment => 'PATH=/usr/bin:/bin:/usr/sbin:/sbin',
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user