chef-logstash icon indicating copy to clipboard operation
chef-logstash copied to clipboard

Logstash user creation not respecting default ['user_opts']['homedir']

Open davidski opened this issue 9 years ago • 1 comments

Running under the current master on Opscode bento centos-6.5, my logstash user is being created with a non-existent home directory setting of /home/logstash. Tracing through the code, it looks like the deep_fetch function adopted from chef-sugar has diverged a bit from Seth's version at https://github.com/sethvargo/chef-sugar/blob/master/lib/chef/sugar/node.rb#L73.

I'm not skilled enough at ruby to fully reproduce this issue, but suspect there's a problem with the Logstash version of deep_fetch not working correctly on hashed attributes. Would appreciate a confirmation if that's correct or if I'm barking up the wrong tree here. :)

David

davidski avatar Jun 09 '15 02:06 davidski