aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Magorsch <arzano@gentoo.org>2020-02-16 18:54:06 +0100
committerMax Magorsch <arzano@gentoo.org>2020-02-16 19:30:33 +0100
commit2b12dd102b0abc038851b38d5f8780fc2e51563d (patch)
tree4e025afda5b3b4972f02d683db1d0ebd43a732ea /lib/tasks/kkuleomi.rake
parentRemove piwik from p.g.o (diff)
parentDon't install a crontab in the containers (diff)
downloadpackages-5-2b12dd102b0abc038851b38d5f8780fc2e51563d.tar.gz
packages-5-2b12dd102b0abc038851b38d5f8780fc2e51563d.tar.bz2
packages-5-2b12dd102b0abc038851b38d5f8780fc2e51563d.zip
Merge branch 'dev/main'v9.0.1
Signed-off-by: Max Magorsch <arzano@gentoo.org>
Diffstat (limited to 'lib/tasks/kkuleomi.rake')
-rw-r--r--lib/tasks/kkuleomi.rake4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/tasks/kkuleomi.rake b/lib/tasks/kkuleomi.rake
index 9362b7a..45d9283 100644
--- a/lib/tasks/kkuleomi.rake
+++ b/lib/tasks/kkuleomi.rake
@@ -2,6 +2,10 @@ namespace :kkuleomi do
namespace :index do
desc '(Re-)Initializes the ElasticSearch index'
task init: :environment do
+ Kkuleomi::Store.create_index false
+ end
+
+ task recreate: :environment do
Kkuleomi::Store.create_index true
end
end