Fix puppet lint 140 characters
Change-Id: Ic53b0fb6e011b19d3bf3c58fdd6d1bd3f78691a9
This commit is contained in:
parent
d3bea6b796
commit
c229b758a6
|
@ -34,7 +34,11 @@ class lma_logging_analytics::curator (
|
|||
$regex = join($prefixes, '|')
|
||||
cron { 'es-curator':
|
||||
ensure => present,
|
||||
command => "/usr/local/bin/curator --host ${host} --port ${port} --debug delete indices --regex '^(${regex})-.*$' --time-unit days --older-than ${real_retention_period} --timestring \"\\%Y.\\%m.\\%d\"",
|
||||
command => join([
|
||||
"/usr/local/bin/curator --host ${host} --port ${port} ",
|
||||
"--debug delete indices --regex '^(${regex})-.*$' --time-unit days ",
|
||||
"--older-than ${real_retention_period} ",
|
||||
"--timestring \"\\%Y.\\%m.\\%d\""], ''),
|
||||
minute => '0',
|
||||
hour => '2',
|
||||
month => '*',
|
||||
|
|
Loading…
Reference in New Issue