Closed cynosureabu closed 9 years ago
I worked around this issue, by adding a "dir" in the config file. After that, the data/logs locations are changed correctly.
Hello! It sounds like you were able to get this working. In the meantime, we've re-written the cookbook using libraries that expose resources and providers, so you shouldn't see this problem on the newer version. Hope this helps!
I could not find a sample code for specifying the data path and logs path. In my .json "elasticsearch": { "version": "1.0.1", "user": "targeting", "cluster_name": "elasticsearch_targeting", "download_url": "https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-1.0.1.tar.gz", "filename": "elasticsearch-1.0.1.tar.giz", "path:": { "data": "/home/targeting/elasticsearch/data", "logs": "/home/targeting/elasticsearch/logs" } }
But when I check file /usr/local/etc/elasticsearch/elasticsearch.yml
It still points to path.conf: /usr/local/etc/elasticsearch path.data: /usr/local/var/data/elasticsearch path.logs: /usr/local/var/log/elasticsearch
Any idea? Thanks, Chen