{"action":"created","comment":{"url":"https://api.github.com/repos/elastic/cookbook-elasticsearch/pulls/comments/27719501","id":27719501,"diff_hunk":"@@ -8,3 +8,4 @@\n include_recipe 'curl'\n \n elasticsearch_user 'elasticsearch'\n+elasticsearch_install 'elasticsearch'","path":"recipes/default.rb","position":4,"original_position":4,"commit_id":"10080a41f71e1662b4a4d9410bebbf4600b97a28","original_commit_id":"10080a41f71e1662b4a4d9410bebbf4600b97a28","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},"body":"I'm not very familiar with the LWRP based DSL (shame on me I know :), can we document somewhere how to use the `elasticsearch_install` method? Ie. why do we need to pass `elasticsearch` as a parameter here? Can the user provide eg. a specific `version:` here?","created_at":"2015-04-03T07:59:56Z","updated_at":"2015-04-03T07:59:56Z","html_url":"https://github.com/elastic/cookbook-elasticsearch/pull/309#discussion_r27719501","pull_request_url":"https://api.github.com/repos/elastic/cookbook-elasticsearch/pulls/309","_links":{"self":{"href":"https://api.github.com/repos/elastic/cookbook-elasticsearch/pulls/comments/27719501"},"html":{"href":"https://github.com/elastic/cookbook-elasticsearch/pull/309#discussion_r27719501"},"pull_request":{"href":"https://api.github.com/repos/elastic/cookbook-elasticsearch/pulls/309"}}},"pull_request":{"url":"https://api.github.com/repos/elastic/cookbook-elasticsearch/pulls/309","id":32441994,"html_url":"https://github.com/elastic/cookbook-elasticsearch/pull/309","diff_url":"https://github.com/elastic/cookbook-elasticsearch/pull/309.diff","patch_url":"https://github.com/elastic/cookbook-elasticsearch/pull/309.patch","issue_url":"https://api.github.com/repos/elastic/cookbook-elasticsearch/issues/309","number":309,"state":"open","locked":false,"title":"First pass at install resource and two providers","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},"body":"- This commit adds an install resource and two providers, one for installing from source and one for installing a package\r\n- Introduces chefspec and test-kitchen tests for both source and package installs on all supported distros\r\n- No configuration/instance stuff yet. I've split it into three resources -- user, install, configure. We still need a configure resource and provider.\r\n\r\n/CC @karmi ","created_at":"2015-04-01T17:39:48Z","updated_at":"2015-04-03T07:59:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"68c5e53b134241aad63a955e08ec31f7f532f0f7","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/elastic/cookbook-elasticsearch/pulls/309/commits","review_comments_url":"https://api.github.com/repos/elastic/cookbook-elasticsearch/pulls/309/comments","review_comment_url":"https://api.github.com/repos/elastic/cookbook-elasticsearch/pulls/comments{/number}","comments_url":"https://api.github.com/repos/elastic/cookbook-elasticsearch/issues/309/comments","statuses_url":"https://api.github.com/repos/elastic/cookbook-elasticsearch/statuses/10080a41f71e1662b4a4d9410bebbf4600b97a28","head":{"label":"martinb3:next_martinb3","ref":"next_martinb3","sha":"10080a41f71e1662b4a4d9410bebbf4600b97a28","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},"repo":{"id":23315693,"name":"cookbook-elasticsearch","full_name":"martinb3/cookbook-elasticsearch","owner":{"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},"private":false,"html_url":"https://github.com/martinb3/cookbook-elasticsearch","description":"Chef cookbook for Elasticsearch","fork":true,"url":"https://api.github.com/repos/martinb3/cookbook-elasticsearch","forks_url":"https://api.github.com/repos/martinb3/cookbook-elasticsearch/forks","keys_url":"https://api.github.com/repos/martinb3/cookbook-elasticsearch/keys{/key_id}","collaborators_url":"https://api.github.com/repos/martinb3/cookbook-elasticsearch/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/martinb3/cookbook-elasticsearch/teams","hooks_url":"https://api.github.com/repos/martinb3/cookbook-elasticsearch/hooks","issue_events_url":"https://api.github.com/repos/martinb3/cookbook-elasticsearch/issues/events{/number}","events_url":"https://api.github.com/repos/martinb3/cookbook-elasticsearch/events","assignees_url":"https://api.github.com/repos/martinb3/cookbook-elasticsearch/assignees{/user}","branches_url":"https://api.github.com/repos/martinb3/cookbook-elasticsearch/branches{/branch}","tags_url":"https://api.github.com/repos/martinb3/cookbook-elasticsearch/tags","blobs_url":"https://api.github.com/repos/martinb3/cookbook-elasticsearch/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/martinb3/cookbook-elasticsearch/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/martinb3/cookbook-elasticsearch/git/refs{/sha}","trees_url":"https://api.github.com/repos/martinb3/cookbook-elasticsearch/git/trees{/sha}","statuses_url":"https://api.github.com/repos/martinb3/cookbook-elasticsearch/statuses/{sha}","languages_url":"https://api.github.com/repos/martinb3/cookbook-elasticsearch/languages","stargazers_url":"https://api.github.com/repos/martinb3/cookbook-elasticsearch/stargazers","contributors_url":"https://api.github.com/repos/martinb3/cookbook-elasticsearch/contributors","subscribers_url":"https://api.github.com/repos/martinb3/cookbook-elasticsearch/subscribers","subscription_url":"https://api.github.com/repos/martinb3/cookbook-elasticsearch/subscription","commits_url":"https://api.github.com/repos/martinb3/cookbook-elasticsearch/commits{/sha}","git_commits_url":"https://api.github.com/repos/martinb3/cookbook-elasticsearch/git/commits{/sha}","comments_url":"https://api.github.com/repos/martinb3/cookbook-elasticsearch/comments{/number}","issue_comment_url":"https://api.github.com/repos/martinb3/cookbook-elasticsearch/issues/comments{/number}","contents_url":"https://api.github.com/repos/martinb3/cookbook-elasticsearch/contents/{+path}","compare_url":"https://api.github.com/repos/martinb3/cookbook-elasticsearch/compare/{base}...{head}","merges_url":"https://api.github.com/repos/martinb3/cookbook-elasticsearch/merges","archive_url":"https://api.github.com/repos/martinb3/cookbook-elasticsearch/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/martinb3/cookbook-elasticsearch/downloads","issues_url":"https://api.github.com/repos/martinb3/cookbook-elasticsearch/issues{/number}","pulls_url":"https://api.github.com/repos/martinb3/cookbook-elasticsearch/pulls{/number}","milestones_url":"https://api.github.com/repos/martinb3/cookbook-elasticsearch/milestones{/number}","notifications_url":"https://api.github.com/repos/martinb3/cookbook-elasticsearch/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/martinb3/cookbook-elasticsearch/labels{/name}","releases_url":"https://api.github.com/repos/martinb3/cookbook-elasticsearch/releases{/id}","created_at":"2014-08-25T14:03:54Z","updated_at":"2014-08-25T14:51:59Z","pushed_at":"2015-04-02T17:47:23Z","git_url":"git://github.com/martinb3/cookbook-elasticsearch.git","ssh_url":"git@github.com:martinb3/cookbook-elasticsearch.git","clone_url":"https://github.com/martinb3/cookbook-elasticsearch.git","svn_url":"https://github.com/martinb3/cookbook-elasticsearch","homepage":"http://www.elasticsearch.org/tutorials/deploying-elasticsearch-with-chef-solo/","size":596,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"elastic:next","ref":"next","sha":"1440a9fed71dcf71806ce7eb2dfb2cef1fdf98c5","user":{"login":"elastic","id":6764390,"avatar_url":"https://avatars.githubusercontent.com/u/6764390?v=3","gravatar_id":"","url":"https://api.github.com/users/elastic","html_url":"https://github.com/elastic","followers_url":"https://api.github.com/users/elastic/followers","following_url":"https://api.github.com/users/elastic/following{/other_user}","gists_url":"https://api.github.com/users/elastic/gists{/gist_id}","starred_url":"https://api.github.com/users/elastic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elastic/subscriptions","organizations_url":"https://api.github.com/users/elastic/orgs","repos_url":"https://api.github.com/users/elastic/repos","events_url":"https://api.github.com/users/elastic/events{/privacy}","received_events_url":"https://api.github.com/users/elastic/received_events","type":"Organization","site_admin":false},"repo":{"id":2959446,"name":"cookbook-elasticsearch","full_name":"elastic/cookbook-elasticsearch","owner":{"login":"elastic","id":6764390,"avatar_url":"https://avatars.githubusercontent.com/u/6764390?v=3","gravatar_id":"","url":"https://api.github.com/users/elastic","html_url":"https://github.com/elastic","followers_url":"https://api.github.com/users/elastic/followers","following_url":"https://api.github.com/users/elastic/following{/other_user}","gists_url":"https://api.github.com/users/elastic/gists{/gist_id}","starred_url":"https://api.github.com/users/elastic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elastic/subscriptions","organizations_url":"https://api.github.com/users/elastic/orgs","repos_url":"https://api.github.com/users/elastic/repos","events_url":"https://api.github.com/users/elastic/events{/privacy}","received_events_url":"https://api.github.com/users/elastic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/elastic/cookbook-elasticsearch","description":"Chef cookbook for Elasticsearch","fork":false,"url":"https://api.github.com/repos/elastic/cookbook-elasticsearch","forks_url":"https://api.github.com/repos/elastic/cookbook-elasticsearch/forks","keys_url":"https://api.github.com/repos/elastic/cookbook-elasticsearch/keys{/key_id}","collaborators_url":"https://api.github.com/repos/elastic/cookbook-elasticsearch/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/elastic/cookbook-elasticsearch/teams","hooks_url":"https://api.github.com/repos/elastic/cookbook-elasticsearch/hooks","issue_events_url":"https://api.github.com/repos/elastic/cookbook-elasticsearch/issues/events{/number}","events_url":"https://api.github.com/repos/elastic/cookbook-elasticsearch/events","assignees_url":"https://api.github.com/repos/elastic/cookbook-elasticsearch/assignees{/user}","branches_url":"https://api.github.com/repos/elastic/cookbook-elasticsearch/branches{/branch}","tags_url":"https://api.github.com/repos/elastic/cookbook-elasticsearch/tags","blobs_url":"https://api.github.com/repos/elastic/cookbook-elasticsearch/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/elastic/cookbook-elasticsearch/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/elastic/cookbook-elasticsearch/git/refs{/sha}","trees_url":"https://api.github.com/repos/elastic/cookbook-elasticsearch/git/trees{/sha}","statuses_url":"https://api.github.com/repos/elastic/cookbook-elasticsearch/statuses/{sha}","languages_url":"https://api.github.com/repos/elastic/cookbook-elasticsearch/languages","stargazers_url":"https://api.github.com/repos/elastic/cookbook-elasticsearch/stargazers","contributors_url":"https://api.github.com/repos/elastic/cookbook-elasticsearch/contributors","subscribers_url":"https://api.github.com/repos/elastic/cookbook-elasticsearch/subscribers","subscription_url":"https://api.github.com/repos/elastic/cookbook-elasticsearch/subscription","commits_url":"https://api.github.com/repos/elastic/cookbook-elasticsearch/commits{/sha}","git_commits_url":"https://api.github.com/repos/elastic/cookbook-elasticsearch/git/commits{/sha}","comments_url":"https://api.github.com/repos/elastic/cookbook-elasticsearch/comments{/number}","issue_comment_url":"https://api.github.com/repos/elastic/cookbook-elasticsearch/issues/comments{/number}","contents_url":"https://api.github.com/repos/elastic/cookbook-elasticsearch/contents/{+path}","compare_url":"https://api.github.com/repos/elastic/cookbook-elasticsearch/compare/{base}...{head}","merges_url":"https://api.github.com/repos/elastic/cookbook-elasticsearch/merges","archive_url":"https://api.github.com/repos/elastic/cookbook-elasticsearch/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/elastic/cookbook-elasticsearch/downloads","issues_url":"https://api.github.com/repos/elastic/cookbook-elasticsearch/issues{/number}","pulls_url":"https://api.github.com/repos/elastic/cookbook-elasticsearch/pulls{/number}","milestones_url":"https://api.github.com/repos/elastic/cookbook-elasticsearch/milestones{/number}","notifications_url":"https://api.github.com/repos/elastic/cookbook-elasticsearch/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/elastic/cookbook-elasticsearch/labels{/name}","releases_url":"https://api.github.com/repos/elastic/cookbook-elasticsearch/releases{/id}","created_at":"2011-12-11T18:36:45Z","updated_at":"2015-04-01T10:23:49Z","pushed_at":"2015-04-02T17:47:23Z","git_url":"git://github.com/elastic/cookbook-elasticsearch.git","ssh_url":"git@github.com:elastic/cookbook-elasticsearch.git","clone_url":"https://github.com/elastic/cookbook-elasticsearch.git","svn_url":"https://github.com/elastic/cookbook-elasticsearch","homepage":"http://www.elasticsearch.org/tutorials/deploying-elasticsearch-with-chef-solo/","size":2396,"stargazers_count":536,"watchers_count":536,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":377,"mirror_url":null,"open_issues_count":75,"forks":377,"open_issues":75,"watchers":536,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/elastic/cookbook-elasticsearch/pulls/309"},"html":{"href":"https://github.com/elastic/cookbook-elasticsearch/pull/309"},"issue":{"href":"https://api.github.com/repos/elastic/cookbook-elasticsearch/issues/309"},"comments":{"href":"https://api.github.com/repos/elastic/cookbook-elasticsearch/issues/309/comments"},"review_comments":{"href":"https://api.github.com/repos/elastic/cookbook-elasticsearch/pulls/309/comments"},"review_comment":{"href":"https://api.github.com/repos/elastic/cookbook-elasticsearch/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/elastic/cookbook-elasticsearch/pulls/309/commits"},"statuses":{"href":"https://api.github.com/repos/elastic/cookbook-elasticsearch/statuses/10080a41f71e1662b4a4d9410bebbf4600b97a28"}}}}