The current scripts used for some admin operations on elasticsearch are using cumin directly. Now that we have spicerack as a nice abstraction on top of those, we should use it. The current scripts are available at https://github.com/gehel/estools/ (yes I know, those should not be on github, but in the WMF repos).
Steps:
- migrate supporting functions into a new elasticsearch module inside spicerack
- reimplement the top level scripts as spicerack cookbooks