-
-
Notifications
You must be signed in to change notification settings - Fork 479
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
elasticsearch::script doesn't work #1079
Comments
Since file scripts are deprecated (elastic/elasticsearch#24552 & elastic/elasticsearch#24555) this aproach is not going to work anymore. API it's the only way. |
I'm thinking about rewrite this define using a type and provider (and default provider 'puppet/provider/elastic_rest') to call the Elasticsearch API Some clue? |
@icalvete As you've spotted, file-based scripts have now been deprecated, and replaced by Stored scripts Adding an The API is very simple - GET, POST and DELETE. |
Bug description
I have this into my manifest
After repuppet, I have the script on many locations on one of my 4 nodes
But I can't list those scripts ussing...
GET _cluster/state/metadata?pretty&filter_path=**.stored_scripts
I have tried to restart the node but scripts doesn't be loaded.
I'm doing something wrong?
The text was updated successfully, but these errors were encountered: