-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cronjob should have escape signs for % #66
Comments
i see that this is fixed in the master branch but there is no tag attached to this change. We generaly only use tagged checkouts of modules since this is the only way to ensure unwanted code changes. Is it possible to release a 2.0.2 for this? |
+1 I was scratching my head until I read this. |
I believe this is the same as #56. I'll be honest - I'm not quite sure which is correct. :) |
It think the timestring should be '%Y.%m.%d' to make sure that the escape character appears in cron. I have set this up in hiera and applied for tomorrow mornings jobs and will report back. |
Just confirm, this is my working hiera for the timestring: timestring: "\%Y.\%m.\%d" The cron jobs ran without issues this morning. I was supposed to have double backslashes to turn off the escape character in the previous comment but didn't notice that github had escaped it out :P |
OS: Ubuntu 14.04
The curator jobs are created by the puppet module are like this.
/usr/local/bin/curator --master-only --host <removed> --port 9200 --logfile /var/log/curator.log --loglevel INFO --logformat default delete indices --prefix '<removed>' --time-unit days --older-than 5 --timestring '%Y.%m.%d'
The cronjob is not working. The
%
should be escaped like this:--timestring '\%Y.\%m.\%d'
more info:
elastic/curator#151 (comment)
The text was updated successfully, but these errors were encountered: