Skip to content
This repository has been archived by the owner on Dec 27, 2022. It is now read-only.

gpasswd: user 'kibana' does not exist #129

Closed
philsturgeon opened this issue Jun 25, 2013 · 2 comments
Closed

gpasswd: user 'kibana' does not exist #129

philsturgeon opened this issue Jun 25, 2013 · 2 comments

Comments

@philsturgeon
Copy link
Contributor

Using 0.6.1 exactly as is I get the following error when I include the kibana recipe:

https://gist.github.com/philsturgeon/5859679

If I move the user definitions to above the rbenv includes it seems to work fine. E.g:

kibana_base = node['logstash']['kibana']['basedir']
kibana_home = node['logstash']['kibana']['home']
kibana_log_dir = node['logstash']['kibana']['log_dir']
kibana_pid_dir = node['logstash']['kibana']['pid_dir']

user "kibana" do
  supports :manage_home => true
  home "/home/kibana"
  shell "/bin/bash"
end

node.override[:rbenv][:group_users] = [ "kibana" ]

include_recipe "rbenv::default"
include_recipe "rbenv::ruby_build"

I'm not going to PR this one as its pretty vague and I've obviously just hacked this to make it work, but I wanted to let you know.

@philsturgeon
Copy link
Contributor Author

This was Ubuntu 12.10

@lusis
Copy link
Owner

lusis commented Jul 10, 2013

closing as we've removed kibana.

@lusis lusis closed this as completed Jul 10, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants