]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/logstash/templates/default/expire.erb
Use archive.ubuntu.com if we don't know the country
[chef.git] / cookbooks / logstash / templates / default / expire.erb
index fcfd85af53a3252678e3bbd03f8199ec9c2aadb8..582351933d1b0a76bf4692bf16c02c6e3c534dc7 100644 (file)
@@ -2,6 +2,6 @@
 
 # DO NOT EDIT - This file is being maintained by Chef
 
-D=$(date --date="4 days ago" +"%Y.%m.%d")
+D=$(date --date="3 days ago" +"%Y.%m.%d")
 
-curl -XDELETE "http://localhost:9200/logstash-${D}"
+curl -s -XDELETE "http://localhost:9200/logstash-${D}"