{"action":"opened","number":2,"pull_request":{"url":"https://api.github.com/repos/chef-brigade/cookbook-skeleton/pulls/2","id":40599465,"html_url":"https://github.com/chef-brigade/cookbook-skeleton/pull/2","diff_url":"https://github.com/chef-brigade/cookbook-skeleton/pull/2.diff","patch_url":"https://github.com/chef-brigade/cookbook-skeleton/pull/2.patch","issue_url":"https://api.github.com/repos/chef-brigade/cookbook-skeleton/issues/2","number":2,"state":"open","locked":false,"title":"Add basic Chef artifact examples","user":{"login":"zuazo","id":1878434,"avatar_url":"https://avatars.githubusercontent.com/u/1878434?v=3","gravatar_id":"","url":"https://api.github.com/users/zuazo","html_url":"https://github.com/zuazo","followers_url":"https://api.github.com/users/zuazo/followers","following_url":"https://api.github.com/users/zuazo/following{/other_user}","gists_url":"https://api.github.com/users/zuazo/gists{/gist_id}","starred_url":"https://api.github.com/users/zuazo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zuazo/subscriptions","organizations_url":"https://api.github.com/users/zuazo/orgs","repos_url":"https://api.github.com/users/zuazo/repos","events_url":"https://api.github.com/users/zuazo/events{/privacy}","received_events_url":"https://api.github.com/users/zuazo/received_events","type":"User","site_admin":false},"body":"Here some examples of cookbook artifacts used by Chef Client:\r\n\r\n- [`attributes/default.rb`](https://github.com/zuazo-forks/cookbook-skeleton/blob/basic-chef-objs/attributes/default.rb)\r\n - Includes a [Derived Attribute](https://coderanger.net/derived-attributes/) example.\r\n- [`definitions/`](https://github.com/zuazo-forks/cookbook-skeleton/blob/basic-chef-objs/definitions/)\r\n- [`libraries/`](https://github.com/zuazo-forks/cookbook-skeleton/blob/basic-chef-objs/libraries/)\r\n - Includes a helper library example.\r\n- [`providers/default.rb`](https://github.com/zuazo-forks/cookbook-skeleton/blob/basic-chef-objs/providers/default.rb)\r\n- [`recipes/default.rb`](https://github.com/zuazo-forks/cookbook-skeleton/blob/basic-chef-objs/recipes/default.rb)\r\n - Uses `_` prefix for internal recipes.\r\n- [`resources/default.rb`](https://github.com/zuazo-forks/cookbook-skeleton/blob/basic-chef-objs/resources/default.rb)\r\n- [`files/default/`](https://github.com/zuazo-forks/cookbook-skeleton/blob/basic-chef-objs/files/default/)\r\n- [`templates/default/`](https://github.com/zuazo-forks/cookbook-skeleton/blob/basic-chef-objs/templates/default/)\r\n- [`metadata.rb`](https://github.com/zuazo-forks/cookbook-skeleton/blob/basic-chef-objs/metadata.rb)\r\n - Use `source_url` and `issues_url` only if they exist.\r\n - Use pessimistic version constraint for dependencies.\r\n - Includes documentation about recipes, providers and attributes.\r\n\r\nSome comments:\r\n- This PR includes only files that are used by chef-client during the Chef Run.\r\n- This example does not cover HWRP library cookbooks that have no attributes/recipes.\r\n- The cookbook does nothing useful.\r\n- It includes license headers in all files.\r\n- There are no RuboCop offenses (`0.32.1`).\r\n\r\nI know this is very opinionated. Feel completely free to criticize :smile:","created_at":"2015-07-22T19:00:52Z","updated_at":"2015-07-22T19:00:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/chef-brigade/cookbook-skeleton/pulls/2/commits","review_comments_url":"https://api.github.com/repos/chef-brigade/cookbook-skeleton/pulls/2/comments","review_comment_url":"https://api.github.com/repos/chef-brigade/cookbook-skeleton/pulls/comments{/number}","comments_url":"https://api.github.com/repos/chef-brigade/cookbook-skeleton/issues/2/comments","statuses_url":"https://api.github.com/repos/chef-brigade/cookbook-skeleton/statuses/cdf7101136f9be32b26e6af732c7955bd7a4ca76","head":{"label":"zuazo-forks:basic-chef-objs","ref":"basic-chef-objs","sha":"cdf7101136f9be32b26e6af732c7955bd7a4ca76","user":{"login":"zuazo-forks","id":12834649,"avatar_url":"https://avatars.githubusercontent.com/u/12834649?v=3","gravatar_id":"","url":"https://api.github.com/users/zuazo-forks","html_url":"https://github.com/zuazo-forks","followers_url":"https://api.github.com/users/zuazo-forks/followers","following_url":"https://api.github.com/users/zuazo-forks/following{/other_user}","gists_url":"https://api.github.com/users/zuazo-forks/gists{/gist_id}","starred_url":"https://api.github.com/users/zuazo-forks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zuazo-forks/subscriptions","organizations_url":"https://api.github.com/users/zuazo-forks/orgs","repos_url":"https://api.github.com/users/zuazo-forks/repos","events_url":"https://api.github.com/users/zuazo-forks/events{/privacy}","received_events_url":"https://api.github.com/users/zuazo-forks/received_events","type":"Organization","site_admin":false},"repo":{"id":39465297,"name":"cookbook-skeleton","full_name":"zuazo-forks/cookbook-skeleton","owner":{"login":"zuazo-forks","id":12834649,"avatar_url":"https://avatars.githubusercontent.com/u/12834649?v=3","gravatar_id":"","url":"https://api.github.com/users/zuazo-forks","html_url":"https://github.com/zuazo-forks","followers_url":"https://api.github.com/users/zuazo-forks/followers","following_url":"https://api.github.com/users/zuazo-forks/following{/other_user}","gists_url":"https://api.github.com/users/zuazo-forks/gists{/gist_id}","starred_url":"https://api.github.com/users/zuazo-forks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zuazo-forks/subscriptions","organizations_url":"https://api.github.com/users/zuazo-forks/orgs","repos_url":"https://api.github.com/users/zuazo-forks/repos","events_url":"https://api.github.com/users/zuazo-forks/events{/privacy}","received_events_url":"https://api.github.com/users/zuazo-forks/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/zuazo-forks/cookbook-skeleton","description":"","fork":true,"url":"https://api.github.com/repos/zuazo-forks/cookbook-skeleton","forks_url":"https://api.github.com/repos/zuazo-forks/cookbook-skeleton/forks","keys_url":"https://api.github.com/repos/zuazo-forks/cookbook-skeleton/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zuazo-forks/cookbook-skeleton/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zuazo-forks/cookbook-skeleton/teams","hooks_url":"https://api.github.com/repos/zuazo-forks/cookbook-skeleton/hooks","issue_events_url":"https://api.github.com/repos/zuazo-forks/cookbook-skeleton/issues/events{/number}","events_url":"https://api.github.com/repos/zuazo-forks/cookbook-skeleton/events","assignees_url":"https://api.github.com/repos/zuazo-forks/cookbook-skeleton/assignees{/user}","branches_url":"https://api.github.com/repos/zuazo-forks/cookbook-skeleton/branches{/branch}","tags_url":"https://api.github.com/repos/zuazo-forks/cookbook-skeleton/tags","blobs_url":"https://api.github.com/repos/zuazo-forks/cookbook-skeleton/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zuazo-forks/cookbook-skeleton/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zuazo-forks/cookbook-skeleton/git/refs{/sha}","trees_url":"https://api.github.com/repos/zuazo-forks/cookbook-skeleton/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zuazo-forks/cookbook-skeleton/statuses/{sha}","languages_url":"https://api.github.com/repos/zuazo-forks/cookbook-skeleton/languages","stargazers_url":"https://api.github.com/repos/zuazo-forks/cookbook-skeleton/stargazers","contributors_url":"https://api.github.com/repos/zuazo-forks/cookbook-skeleton/contributors","subscribers_url":"https://api.github.com/repos/zuazo-forks/cookbook-skeleton/subscribers","subscription_url":"https://api.github.com/repos/zuazo-forks/cookbook-skeleton/subscription","commits_url":"https://api.github.com/repos/zuazo-forks/cookbook-skeleton/commits{/sha}","git_commits_url":"https://api.github.com/repos/zuazo-forks/cookbook-skeleton/git/commits{/sha}","comments_url":"https://api.github.com/repos/zuazo-forks/cookbook-skeleton/comments{/number}","issue_comment_url":"https://api.github.com/repos/zuazo-forks/cookbook-skeleton/issues/comments{/number}","contents_url":"https://api.github.com/repos/zuazo-forks/cookbook-skeleton/contents/{+path}","compare_url":"https://api.github.com/repos/zuazo-forks/cookbook-skeleton/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zuazo-forks/cookbook-skeleton/merges","archive_url":"https://api.github.com/repos/zuazo-forks/cookbook-skeleton/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zuazo-forks/cookbook-skeleton/downloads","issues_url":"https://api.github.com/repos/zuazo-forks/cookbook-skeleton/issues{/number}","pulls_url":"https://api.github.com/repos/zuazo-forks/cookbook-skeleton/pulls{/number}","milestones_url":"https://api.github.com/repos/zuazo-forks/cookbook-skeleton/milestones{/number}","notifications_url":"https://api.github.com/repos/zuazo-forks/cookbook-skeleton/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zuazo-forks/cookbook-skeleton/labels{/name}","releases_url":"https://api.github.com/repos/zuazo-forks/cookbook-skeleton/releases{/id}","created_at":"2015-07-21T19:24:31Z","updated_at":"2015-07-16T03:05:57Z","pushed_at":"2015-07-22T18:56:35Z","git_url":"git://github.com/zuazo-forks/cookbook-skeleton.git","ssh_url":"git@github.com:zuazo-forks/cookbook-skeleton.git","clone_url":"https://github.com/zuazo-forks/cookbook-skeleton.git","svn_url":"https://github.com/zuazo-forks/cookbook-skeleton","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":null,"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":"chef-brigade:master","ref":"master","sha":"8f201a908136fa19ebac9181c319d410946618ed","user":{"login":"chef-brigade","id":12356028,"avatar_url":"https://avatars.githubusercontent.com/u/12356028?v=3","gravatar_id":"","url":"https://api.github.com/users/chef-brigade","html_url":"https://github.com/chef-brigade","followers_url":"https://api.github.com/users/chef-brigade/followers","following_url":"https://api.github.com/users/chef-brigade/following{/other_user}","gists_url":"https://api.github.com/users/chef-brigade/gists{/gist_id}","starred_url":"https://api.github.com/users/chef-brigade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chef-brigade/subscriptions","organizations_url":"https://api.github.com/users/chef-brigade/orgs","repos_url":"https://api.github.com/users/chef-brigade/repos","events_url":"https://api.github.com/users/chef-brigade/events{/privacy}","received_events_url":"https://api.github.com/users/chef-brigade/received_events","type":"Organization","site_admin":false},"repo":{"id":39172269,"name":"cookbook-skeleton","full_name":"chef-brigade/cookbook-skeleton","owner":{"login":"chef-brigade","id":12356028,"avatar_url":"https://avatars.githubusercontent.com/u/12356028?v=3","gravatar_id":"","url":"https://api.github.com/users/chef-brigade","html_url":"https://github.com/chef-brigade","followers_url":"https://api.github.com/users/chef-brigade/followers","following_url":"https://api.github.com/users/chef-brigade/following{/other_user}","gists_url":"https://api.github.com/users/chef-brigade/gists{/gist_id}","starred_url":"https://api.github.com/users/chef-brigade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chef-brigade/subscriptions","organizations_url":"https://api.github.com/users/chef-brigade/orgs","repos_url":"https://api.github.com/users/chef-brigade/repos","events_url":"https://api.github.com/users/chef-brigade/events{/privacy}","received_events_url":"https://api.github.com/users/chef-brigade/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/chef-brigade/cookbook-skeleton","description":"","fork":false,"url":"https://api.github.com/repos/chef-brigade/cookbook-skeleton","forks_url":"https://api.github.com/repos/chef-brigade/cookbook-skeleton/forks","keys_url":"https://api.github.com/repos/chef-brigade/cookbook-skeleton/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chef-brigade/cookbook-skeleton/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chef-brigade/cookbook-skeleton/teams","hooks_url":"https://api.github.com/repos/chef-brigade/cookbook-skeleton/hooks","issue_events_url":"https://api.github.com/repos/chef-brigade/cookbook-skeleton/issues/events{/number}","events_url":"https://api.github.com/repos/chef-brigade/cookbook-skeleton/events","assignees_url":"https://api.github.com/repos/chef-brigade/cookbook-skeleton/assignees{/user}","branches_url":"https://api.github.com/repos/chef-brigade/cookbook-skeleton/branches{/branch}","tags_url":"https://api.github.com/repos/chef-brigade/cookbook-skeleton/tags","blobs_url":"https://api.github.com/repos/chef-brigade/cookbook-skeleton/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chef-brigade/cookbook-skeleton/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chef-brigade/cookbook-skeleton/git/refs{/sha}","trees_url":"https://api.github.com/repos/chef-brigade/cookbook-skeleton/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chef-brigade/cookbook-skeleton/statuses/{sha}","languages_url":"https://api.github.com/repos/chef-brigade/cookbook-skeleton/languages","stargazers_url":"https://api.github.com/repos/chef-brigade/cookbook-skeleton/stargazers","contributors_url":"https://api.github.com/repos/chef-brigade/cookbook-skeleton/contributors","subscribers_url":"https://api.github.com/repos/chef-brigade/cookbook-skeleton/subscribers","subscription_url":"https://api.github.com/repos/chef-brigade/cookbook-skeleton/subscription","commits_url":"https://api.github.com/repos/chef-brigade/cookbook-skeleton/commits{/sha}","git_commits_url":"https://api.github.com/repos/chef-brigade/cookbook-skeleton/git/commits{/sha}","comments_url":"https://api.github.com/repos/chef-brigade/cookbook-skeleton/comments{/number}","issue_comment_url":"https://api.github.com/repos/chef-brigade/cookbook-skeleton/issues/comments{/number}","contents_url":"https://api.github.com/repos/chef-brigade/cookbook-skeleton/contents/{+path}","compare_url":"https://api.github.com/repos/chef-brigade/cookbook-skeleton/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chef-brigade/cookbook-skeleton/merges","archive_url":"https://api.github.com/repos/chef-brigade/cookbook-skeleton/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chef-brigade/cookbook-skeleton/downloads","issues_url":"https://api.github.com/repos/chef-brigade/cookbook-skeleton/issues{/number}","pulls_url":"https://api.github.com/repos/chef-brigade/cookbook-skeleton/pulls{/number}","milestones_url":"https://api.github.com/repos/chef-brigade/cookbook-skeleton/milestones{/number}","notifications_url":"https://api.github.com/repos/chef-brigade/cookbook-skeleton/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chef-brigade/cookbook-skeleton/labels{/name}","releases_url":"https://api.github.com/repos/chef-brigade/cookbook-skeleton/releases{/id}","created_at":"2015-07-16T02:33:10Z","updated_at":"2015-07-16T03:05:57Z","pushed_at":"2015-07-22T19:00:52Z","git_url":"git://github.com/chef-brigade/cookbook-skeleton.git","ssh_url":"git@github.com:chef-brigade/cookbook-skeleton.git","clone_url":"https://github.com/chef-brigade/cookbook-skeleton.git","svn_url":"https://github.com/chef-brigade/cookbook-skeleton","homepage":null,"size":0,"stargazers_count":1,"watchers_count":1,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/chef-brigade/cookbook-skeleton/pulls/2"},"html":{"href":"https://github.com/chef-brigade/cookbook-skeleton/pull/2"},"issue":{"href":"https://api.github.com/repos/chef-brigade/cookbook-skeleton/issues/2"},"comments":{"href":"https://api.github.com/repos/chef-brigade/cookbook-skeleton/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/chef-brigade/cookbook-skeleton/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/chef-brigade/cookbook-skeleton/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/chef-brigade/cookbook-skeleton/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/chef-brigade/cookbook-skeleton/statuses/cdf7101136f9be32b26e6af732c7955bd7a4ca76"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":429,"deletions":8,"changed_files":12}}