{"action":"created","issue":{"url":"https://api.github.com/repos/elasticsearch/cookbook-elasticsearch/issues/268","labels_url":"https://api.github.com/repos/elasticsearch/cookbook-elasticsearch/issues/268/labels{/name}","comments_url":"https://api.github.com/repos/elasticsearch/cookbook-elasticsearch/issues/268/comments","events_url":"https://api.github.com/repos/elasticsearch/cookbook-elasticsearch/issues/268/events","html_url":"https://github.com/elasticsearch/cookbook-elasticsearch/pull/268","id":53205010,"number":268,"title":"Introduce user provider and resource","user":{"login":"martinb3","id":103033,"avatar_url":"https://avatars.githubusercontent.com/u/103033?v=3","gravatar_id":"","url":"https://api.github.com/users/martinb3","html_url":"https://github.com/martinb3","followers_url":"https://api.github.com/users/martinb3/followers","following_url":"https://api.github.com/users/martinb3/following{/other_user}","gists_url":"https://api.github.com/users/martinb3/gists{/gist_id}","starred_url":"https://api.github.com/users/martinb3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martinb3/subscriptions","organizations_url":"https://api.github.com/users/martinb3/orgs","repos_url":"https://api.github.com/users/martinb3/repos","events_url":"https://api.github.com/users/martinb3/events{/privacy}","received_events_url":"https://api.github.com/users/martinb3/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/elasticsearch/cookbook-elasticsearch/labels/next","name":"next","color":"E9ECEE"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2014-12-31T21:47:35Z","updated_at":"2015-01-05T09:10:27Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/elasticsearch/cookbook-elasticsearch/pulls/268","html_url":"https://github.com/elasticsearch/cookbook-elasticsearch/pull/268","diff_url":"https://github.com/elasticsearch/cookbook-elasticsearch/pull/268.diff","patch_url":"https://github.com/elasticsearch/cookbook-elasticsearch/pull/268.patch"},"body":"- Fixes #269, adds an `elasticsearch_user` resource with provider that creates a user, group, and removes the automatic homedir\r\n\r\n- Pins chef to 11.16.4 since chef 12 and many libraries like poise aren't compatible yet\r\n\r\n- Adds an `elasticsearch_test` kitchenCI suite that tests edge cases, so the default test suite can test the expected way people use the cookbook\r\n\r\n- Tweak rubocop rules to avoid style complaints about methods that are too complex (controversial rule) and compact class styles (also controversial at the moment)\r\n\r\n- Updated `README.md` with an example of how to use the `elasticsearch_user` resource"},"comment":{"url":"https://api.github.com/repos/elasticsearch/cookbook-elasticsearch/issues/comments/68683115","html_url":"https://github.com/elasticsearch/cookbook-elasticsearch/pull/268#issuecomment-68683115","issue_url":"https://api.github.com/repos/elasticsearch/cookbook-elasticsearch/issues/268","id":68683115,"user":{"login":"karmi","id":4790,"avatar_url":"https://avatars.githubusercontent.com/u/4790?v=3","gravatar_id":"","url":"https://api.github.com/users/karmi","html_url":"https://github.com/karmi","followers_url":"https://api.github.com/users/karmi/followers","following_url":"https://api.github.com/users/karmi/following{/other_user}","gists_url":"https://api.github.com/users/karmi/gists{/gist_id}","starred_url":"https://api.github.com/users/karmi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karmi/subscriptions","organizations_url":"https://api.github.com/users/karmi/orgs","repos_url":"https://api.github.com/users/karmi/repos","events_url":"https://api.github.com/users/karmi/events{/privacy}","received_events_url":"https://api.github.com/users/karmi/received_events","type":"User","site_admin":false},"created_at":"2015-01-05T09:10:27Z","updated_at":"2015-01-05T09:10:27Z","body":"It seems like some Rspec-based gems are not depending properly on the `rspec` gem, because this happens:\r\n\r\n```\r\n$ bundle exec rake -T\r\nrake aborted!\r\nLoadError: cannot load such file -- rspec/core/rake_task\r\n/Users/karmi/Playground/ElasticSearch/Varia/cookbook-elasticsearch-new/Rakefile:49:in `<top (required)>'\r\n```\r\n\r\nAs soon as I add `rspec` to the `group :unit` in the Gemfile, it works."}}