{"action":"created","issue":{"url":"https://api.github.com/repos/lusis/chef-kibana/issues/122","repository_url":"https://api.github.com/repos/lusis/chef-kibana","labels_url":"https://api.github.com/repos/lusis/chef-kibana/issues/122/labels{/name}","comments_url":"https://api.github.com/repos/lusis/chef-kibana/issues/122/comments","events_url":"https://api.github.com/repos/lusis/chef-kibana/issues/122/events","html_url":"https://github.com/lusis/chef-kibana/issues/122","id":168836420,"number":122,"title":"Error executing action `create` on resource 'kibana_web[kibana]'","user":{"login":"imewish","id":11400953,"avatar_url":"https://avatars.githubusercontent.com/u/11400953?v=3","gravatar_id":"","url":"https://api.github.com/users/imewish","html_url":"https://github.com/imewish","followers_url":"https://api.github.com/users/imewish/followers","following_url":"https://api.github.com/users/imewish/following{/other_user}","gists_url":"https://api.github.com/users/imewish/gists{/gist_id}","starred_url":"https://api.github.com/users/imewish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/imewish/subscriptions","organizations_url":"https://api.github.com/users/imewish/orgs","repos_url":"https://api.github.com/users/imewish/repos","events_url":"https://api.github.com/users/imewish/events{/privacy}","received_events_url":"https://api.github.com/users/imewish/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/lusis/chef-kibana/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-02T09:15:31Z","updated_at":"2016-08-02T09:22:10Z","closed_at":null,"body":"Getting the following error when runs wth test kitchen.\r\n\r\n```\r\n* kibana_web[kibana] action create\r\n           \r\n           ================================================================================\r\n           Error executing action `create` on resource 'kibana_web[kibana]'\r\n           ================================================================================\r\n           \r\n           NoMethodError\r\n           -------------\r\n           undefined method `[]' for nil:NilClass\r\n           \r\n           Cookbook Trace:\r\n           ---------------\r\n           /tmp/kitchen/cache/cookbooks/nginx/recipes/ohai_plugin.rb:27:in `from_file'\r\n           /tmp/kitchen/cache/cookbooks/nginx/recipes/default.rb:21:in `from_file'\r\n           /tmp/kitchen/cache/cookbooks/kibana_lwrp/libraries/web.rb:69:in `block (2 levels) in <class:KibanaWeb>'\r\n           /tmp/kitchen/cache/cookbooks/kibana_lwrp/libraries/web.rb:37:in `block in <class:KibanaWeb>'\r\n           /tmp/kitchen/cache/cookbooks/compat_resource/files/lib/chef_compat/monkeypatches/chef/runner.rb:41:in `run_action'\r\n           \r\n           Resource Declaration:\r\n           ---------------------\r\n           # In /tmp/kitchen/cache/cookbooks/kibana_lwrp/recipes/install.rb\r\n           \r\n            90: kibana_web 'kibana' do\r\n            91:   type lazy { node['kibana']['webserver'] }\r\n            92:   docroot docroot\r\n            93:   es_server node['kibana']['es_server']\r\n            94:   kibana_port node['kibana']['java_webserver_port']\r\n            95:   template 'kibana-nginx_file.conf.erb'\r\n            96:   not_if { node['kibana']['webserver'] == '' }\r\n            97: end\r\n           \r\n           Compiled Resource:\r\n           ------------------\r\n           # Declared in /tmp/kitchen/cache/cookbooks/kibana_lwrp/recipes/install.rb:90:in `from_file'\r\n           \r\n           kibana_web(\"kibana\") do\r\n             action [:create]\r\n             retries 0\r\n             retry_delay 2\r\n             default_guard_interpreter :default\r\n             declared_type :kibana_web\r\n             cookbook_name \"kibana_lwrp\"\r\n             recipe_name \"install\"\r\n             type #<ChefCompat::CopiedFromChef::Chef::DelayedEvaluator:0x000000068758b0@/tmp/kitchen/cache/cookbooks/kibana_lwrp/recipes/install.rb:91>\r\n             docroot \"/opt/kibana/current/kibana\"\r\n             es_server \"127.0.0.1\"\r\n             kibana_port 5601\r\n             template \"kibana-nginx_file.conf.erb\"\r\n             template_cookbook \"kibana_lwrp\"\r\n             server_name \"kibana.localhost\"\r\n             server_aliases [\"kibana\"]\r\n             listen_address \"0.0.0.0\"\r\n             listen_port \"80\"\r\n             es_port \"9200\"\r\n             es_scheme \"http://\"\r\n             version \"4.2.1-linux-x64\"\r\n             not_if { #code block }\r\n           end\r\n           \r\n           Platform:\r\n           ---------\r\n           x86_64-linux\r\n           \r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/lusis/chef-kibana/issues/comments/236850877","html_url":"https://github.com/lusis/chef-kibana/issues/122#issuecomment-236850877","issue_url":"https://api.github.com/repos/lusis/chef-kibana/issues/122","id":236850877,"user":{"login":"imewish","id":11400953,"avatar_url":"https://avatars.githubusercontent.com/u/11400953?v=3","gravatar_id":"","url":"https://api.github.com/users/imewish","html_url":"https://github.com/imewish","followers_url":"https://api.github.com/users/imewish/followers","following_url":"https://api.github.com/users/imewish/following{/other_user}","gists_url":"https://api.github.com/users/imewish/gists{/gist_id}","starred_url":"https://api.github.com/users/imewish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/imewish/subscriptions","organizations_url":"https://api.github.com/users/imewish/orgs","repos_url":"https://api.github.com/users/imewish/repos","events_url":"https://api.github.com/users/imewish/events{/privacy}","received_events_url":"https://api.github.com/users/imewish/received_events","type":"User","site_admin":false},"created_at":"2016-08-02T09:22:10Z","updated_at":"2016-08-02T09:22:10Z","body":"How can i avoid it for now? @martinb3 "}}
{"actor":{"display_login":"imewish"}}