You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @jro -- it's because the user provider automatically creates a user home dir whether you want one or not. We should probably use a different resource and provider, or figure out a better workaround.
For me I tried setting $HOME to be the parent directory /somedir/elasticsearch which contained the installed version and all the /etc /data /logs dirs as well. Then on each chef run it would dutifully delete that homedir and recreate all that.
Howdy -- I'm removing the delete feature to solve this issue @jro. We can re-explore it later, but I don't want you to be too long without a released version that works. Thanks for the bug report! We'll be releasing a new version in the next day or so.
Why is the elasticsearch user's homedir being deleted? It caused me some confusion and seems a bit counterintuitive.
https://github.com/elastic/cookbook-elasticsearch/blob/master/libraries/provider_user.rb#L28-L33
The text was updated successfully, but these errors were encountered: