Skip to content
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

How to specify path.data and path.logs? #202

Closed
cynosureabu opened this issue Mar 25, 2014 · 2 comments
Closed

How to specify path.data and path.logs? #202

cynosureabu opened this issue Mar 25, 2014 · 2 comments

Comments

@cynosureabu
Copy link

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

@cynosureabu
Copy link
Author

I worked around this issue, by adding a "dir" in the config file. After that, the data/logs locations are changed correctly.

@martinb3
Copy link
Contributor

martinb3 commented Jul 6, 2015

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!

@martinb3 martinb3 closed this as completed Jul 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants