Closed cyberhuman closed 9 years ago
Hi,
can you check what the directory names are for all the plugins? My best guess is that the module_dir names are incorrect causing the re-installs. The check is done by validating the module_dir value if it exists. I hope at some point i can use the list option, i need to check when that was added to the plugin manager.
Hi electrical, I checked the directory names and they start with "analysis-". Prepending this to module_dir fixed the problem. Thanks! On a side note: maybe the module_dir parameter should be documented better? After reading the docs I originally thought that it specifies the directory where to install the plugin, not where to look for it.
Ah sorry about that. I hope i can re-factor this soon so it will be much easier to use.
recent version have the --list option so i will be adding that as a check to validate if a plugin is installed or not. Hope to have it for the next release.
Just a quick update on this. I've done some digging and filed #343 with some idea's to solve this permanently in a good way.
Solved with #343
Hi,
I have added several plugins to my ES configuration in puppet, and after the initial installation it hangs for 60 seconds for each already installed plugin. From the output I can see that the module tries to install already installed plugins six times before actually giving up. I also have noticed that the only plugins with this behaviour are 'elasticsearch-analysis-' ones (four plugins in total, which adds up to four wasted minutes!). Marvel and kopf are handled just fine.
Here is the debug output from puppet agent:
And here is my puppet config:
Best regards, Raman