{"action":"closed","number":61,"pull_request":{"url":"https://api.github.com/repos/bmhatfield/chef-ulimit/pulls/61","id":142267821,"html_url":"https://github.com/bmhatfield/chef-ulimit/pull/61","diff_url":"https://github.com/bmhatfield/chef-ulimit/pull/61.diff","patch_url":"https://github.com/bmhatfield/chef-ulimit/pull/61.patch","issue_url":"https://api.github.com/repos/bmhatfield/chef-ulimit/issues/61","number":61,"state":"closed","locked":false,"title":"Fix undefined method action for Chef::Provider::UlimitRule:Class","user":{"login":"foxdalas","id":131937,"avatar_url":"https://avatars3.githubusercontent.com/u/131937?v=4","gravatar_id":"","url":"https://api.github.com/users/foxdalas","html_url":"https://github.com/foxdalas","followers_url":"https://api.github.com/users/foxdalas/followers","following_url":"https://api.github.com/users/foxdalas/following{/other_user}","gists_url":"https://api.github.com/users/foxdalas/gists{/gist_id}","starred_url":"https://api.github.com/users/foxdalas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/foxdalas/subscriptions","organizations_url":"https://api.github.com/users/foxdalas/orgs","repos_url":"https://api.github.com/users/foxdalas/repos","events_url":"https://api.github.com/users/foxdalas/events{/privacy}","received_events_url":"https://api.github.com/users/foxdalas/received_events","type":"User","site_admin":false},"body":"### Description\r\n\r\n`\r\nNoMethodError\r\n-------------\r\nundefined method `action' for Chef::Provider::UlimitRule:Class\r\n\r\nCookbook Trace:\r\n---------------\r\n  /var/chef/cache/cookbooks/ulimit/providers/rule.rb:10:in `<class:UlimitRule>'\r\n  /var/chef/cache/cookbooks/ulimit/providers/rule.rb:1:in `<top (required)>'\r\n  /var/chef/cache/cookbooks/ulimit/providers/domain.rb:1:in `require_relative'\r\n  /var/chef/cache/cookbooks/ulimit/providers/domain.rb:1:in `class_from_file'\r\n\r\nRelevant File Content:\r\n----------------------\r\n/var/chef/cache/cookbooks/ulimit/providers/rule.rb:\r\n\r\n  3:      new_resource.domain new_resource.domain.domain_name if new_resource.domain.is_a?(Chef::Resource)\r\n  4:      node.run_state[:ulimit] ||= Mash.new\r\n  5:      node.run_state[:ulimit][new_resource.domain] ||= Mash.new\r\n  6:    end\r\n  7:\r\n  8:  #  use_inline_resources\r\n  9:\r\n 10>>   action :create do # ~FC017\r\n 11:      node.run_state[:ulimit][new_resource.domain][new_resource.item] ||= Mash.new\r\n 12:      node.run_state[:ulimit][new_resource.domain][new_resource.item][new_resource.type] = new_resource.value\r\n 13:    end\r\n 14:\r\n 15:    action :delete do\r\n 16:      # NOOP\r\n 17:    end\r\n 18:  end\r\n 19:\r\n\r\nPlatform:\r\n---------\r\nx86_64-linux\r\n\r\n[Describe what this change achieves]\r\n\r\n`\r\n\r\n### Issues Resolved\r\n\r\n[List any existing issues this PR resolves]\r\n\r\n### Contribution Check List\r\n\r\n- [ ] All tests pass.\r\n- [ ] New functionality includes testing.\r\n- [ ] New functionality has been documented in the README if applicable","created_at":"2017-09-21T06:55:56Z","updated_at":"2017-09-25T20:30:15Z","closed_at":"2017-09-25T20:30:15Z","merged_at":"2017-09-25T20:30:15Z","merge_commit_sha":"90684159715683410d036a6ce118e8b50c4cf698","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/bmhatfield/chef-ulimit/pulls/61/commits","review_comments_url":"https://api.github.com/repos/bmhatfield/chef-ulimit/pulls/61/comments","review_comment_url":"https://api.github.com/repos/bmhatfield/chef-ulimit/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bmhatfield/chef-ulimit/issues/61/comments","statuses_url":"https://api.github.com/repos/bmhatfield/chef-ulimit/statuses/61462a942bf814aa4458b100344af6d80e3230e7","head":{"label":"foxdalas:fix","ref":"fix","sha":"61462a942bf814aa4458b100344af6d80e3230e7","user":{"login":"foxdalas","id":131937,"avatar_url":"https://avatars3.githubusercontent.com/u/131937?v=4","gravatar_id":"","url":"https://api.github.com/users/foxdalas","html_url":"https://github.com/foxdalas","followers_url":"https://api.github.com/users/foxdalas/followers","following_url":"https://api.github.com/users/foxdalas/following{/other_user}","gists_url":"https://api.github.com/users/foxdalas/gists{/gist_id}","starred_url":"https://api.github.com/users/foxdalas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/foxdalas/subscriptions","organizations_url":"https://api.github.com/users/foxdalas/orgs","repos_url":"https://api.github.com/users/foxdalas/repos","events_url":"https://api.github.com/users/foxdalas/events{/privacy}","received_events_url":"https://api.github.com/users/foxdalas/received_events","type":"User","site_admin":false},"repo":{"id":104311922,"name":"chef-ulimit","full_name":"foxdalas/chef-ulimit","owner":{"login":"foxdalas","id":131937,"avatar_url":"https://avatars3.githubusercontent.com/u/131937?v=4","gravatar_id":"","url":"https://api.github.com/users/foxdalas","html_url":"https://github.com/foxdalas","followers_url":"https://api.github.com/users/foxdalas/followers","following_url":"https://api.github.com/users/foxdalas/following{/other_user}","gists_url":"https://api.github.com/users/foxdalas/gists{/gist_id}","starred_url":"https://api.github.com/users/foxdalas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/foxdalas/subscriptions","organizations_url":"https://api.github.com/users/foxdalas/orgs","repos_url":"https://api.github.com/users/foxdalas/repos","events_url":"https://api.github.com/users/foxdalas/events{/privacy}","received_events_url":"https://api.github.com/users/foxdalas/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/foxdalas/chef-ulimit","description":"This is a simple chef cookbook that provides a defintion for managing user_ulimit settings.","fork":true,"url":"https://api.github.com/repos/foxdalas/chef-ulimit","forks_url":"https://api.github.com/repos/foxdalas/chef-ulimit/forks","keys_url":"https://api.github.com/repos/foxdalas/chef-ulimit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/foxdalas/chef-ulimit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/foxdalas/chef-ulimit/teams","hooks_url":"https://api.github.com/repos/foxdalas/chef-ulimit/hooks","issue_events_url":"https://api.github.com/repos/foxdalas/chef-ulimit/issues/events{/number}","events_url":"https://api.github.com/repos/foxdalas/chef-ulimit/events","assignees_url":"https://api.github.com/repos/foxdalas/chef-ulimit/assignees{/user}","branches_url":"https://api.github.com/repos/foxdalas/chef-ulimit/branches{/branch}","tags_url":"https://api.github.com/repos/foxdalas/chef-ulimit/tags","blobs_url":"https://api.github.com/repos/foxdalas/chef-ulimit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/foxdalas/chef-ulimit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/foxdalas/chef-ulimit/git/refs{/sha}","trees_url":"https://api.github.com/repos/foxdalas/chef-ulimit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/foxdalas/chef-ulimit/statuses/{sha}","languages_url":"https://api.github.com/repos/foxdalas/chef-ulimit/languages","stargazers_url":"https://api.github.com/repos/foxdalas/chef-ulimit/stargazers","contributors_url":"https://api.github.com/repos/foxdalas/chef-ulimit/contributors","subscribers_url":"https://api.github.com/repos/foxdalas/chef-ulimit/subscribers","subscription_url":"https://api.github.com/repos/foxdalas/chef-ulimit/subscription","commits_url":"https://api.github.com/repos/foxdalas/chef-ulimit/commits{/sha}","git_commits_url":"https://api.github.com/repos/foxdalas/chef-ulimit/git/commits{/sha}","comments_url":"https://api.github.com/repos/foxdalas/chef-ulimit/comments{/number}","issue_comment_url":"https://api.github.com/repos/foxdalas/chef-ulimit/issues/comments{/number}","contents_url":"https://api.github.com/repos/foxdalas/chef-ulimit/contents/{+path}","compare_url":"https://api.github.com/repos/foxdalas/chef-ulimit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/foxdalas/chef-ulimit/merges","archive_url":"https://api.github.com/repos/foxdalas/chef-ulimit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/foxdalas/chef-ulimit/downloads","issues_url":"https://api.github.com/repos/foxdalas/chef-ulimit/issues{/number}","pulls_url":"https://api.github.com/repos/foxdalas/chef-ulimit/pulls{/number}","milestones_url":"https://api.github.com/repos/foxdalas/chef-ulimit/milestones{/number}","notifications_url":"https://api.github.com/repos/foxdalas/chef-ulimit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/foxdalas/chef-ulimit/labels{/name}","releases_url":"https://api.github.com/repos/foxdalas/chef-ulimit/releases{/id}","deployments_url":"https://api.github.com/repos/foxdalas/chef-ulimit/deployments","created_at":"2017-09-21T06:49:15Z","updated_at":"2017-09-21T06:49:17Z","pushed_at":"2017-09-21T06:55:22Z","git_url":"git://github.com/foxdalas/chef-ulimit.git","ssh_url":"git@github.com:foxdalas/chef-ulimit.git","clone_url":"https://github.com/foxdalas/chef-ulimit.git","svn_url":"https://github.com/foxdalas/chef-ulimit","homepage":null,"size":81,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_projects":true,"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":"bmhatfield:master","ref":"master","sha":"e0ce7885dd20f18f958986b552c41a595e18bd6b","user":{"login":"bmhatfield","id":1119967,"avatar_url":"https://avatars3.githubusercontent.com/u/1119967?v=4","gravatar_id":"","url":"https://api.github.com/users/bmhatfield","html_url":"https://github.com/bmhatfield","followers_url":"https://api.github.com/users/bmhatfield/followers","following_url":"https://api.github.com/users/bmhatfield/following{/other_user}","gists_url":"https://api.github.com/users/bmhatfield/gists{/gist_id}","starred_url":"https://api.github.com/users/bmhatfield/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmhatfield/subscriptions","organizations_url":"https://api.github.com/users/bmhatfield/orgs","repos_url":"https://api.github.com/users/bmhatfield/repos","events_url":"https://api.github.com/users/bmhatfield/events{/privacy}","received_events_url":"https://api.github.com/users/bmhatfield/received_events","type":"User","site_admin":false},"repo":{"id":6180650,"name":"chef-ulimit","full_name":"bmhatfield/chef-ulimit","owner":{"login":"bmhatfield","id":1119967,"avatar_url":"https://avatars3.githubusercontent.com/u/1119967?v=4","gravatar_id":"","url":"https://api.github.com/users/bmhatfield","html_url":"https://github.com/bmhatfield","followers_url":"https://api.github.com/users/bmhatfield/followers","following_url":"https://api.github.com/users/bmhatfield/following{/other_user}","gists_url":"https://api.github.com/users/bmhatfield/gists{/gist_id}","starred_url":"https://api.github.com/users/bmhatfield/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmhatfield/subscriptions","organizations_url":"https://api.github.com/users/bmhatfield/orgs","repos_url":"https://api.github.com/users/bmhatfield/repos","events_url":"https://api.github.com/users/bmhatfield/events{/privacy}","received_events_url":"https://api.github.com/users/bmhatfield/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bmhatfield/chef-ulimit","description":"This is a simple chef cookbook that provides a defintion for managing user_ulimit settings.","fork":false,"url":"https://api.github.com/repos/bmhatfield/chef-ulimit","forks_url":"https://api.github.com/repos/bmhatfield/chef-ulimit/forks","keys_url":"https://api.github.com/repos/bmhatfield/chef-ulimit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bmhatfield/chef-ulimit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bmhatfield/chef-ulimit/teams","hooks_url":"https://api.github.com/repos/bmhatfield/chef-ulimit/hooks","issue_events_url":"https://api.github.com/repos/bmhatfield/chef-ulimit/issues/events{/number}","events_url":"https://api.github.com/repos/bmhatfield/chef-ulimit/events","assignees_url":"https://api.github.com/repos/bmhatfield/chef-ulimit/assignees{/user}","branches_url":"https://api.github.com/repos/bmhatfield/chef-ulimit/branches{/branch}","tags_url":"https://api.github.com/repos/bmhatfield/chef-ulimit/tags","blobs_url":"https://api.github.com/repos/bmhatfield/chef-ulimit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bmhatfield/chef-ulimit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bmhatfield/chef-ulimit/git/refs{/sha}","trees_url":"https://api.github.com/repos/bmhatfield/chef-ulimit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bmhatfield/chef-ulimit/statuses/{sha}","languages_url":"https://api.github.com/repos/bmhatfield/chef-ulimit/languages","stargazers_url":"https://api.github.com/repos/bmhatfield/chef-ulimit/stargazers","contributors_url":"https://api.github.com/repos/bmhatfield/chef-ulimit/contributors","subscribers_url":"https://api.github.com/repos/bmhatfield/chef-ulimit/subscribers","subscription_url":"https://api.github.com/repos/bmhatfield/chef-ulimit/subscription","commits_url":"https://api.github.com/repos/bmhatfield/chef-ulimit/commits{/sha}","git_commits_url":"https://api.github.com/repos/bmhatfield/chef-ulimit/git/commits{/sha}","comments_url":"https://api.github.com/repos/bmhatfield/chef-ulimit/comments{/number}","issue_comment_url":"https://api.github.com/repos/bmhatfield/chef-ulimit/issues/comments{/number}","contents_url":"https://api.github.com/repos/bmhatfield/chef-ulimit/contents/{+path}","compare_url":"https://api.github.com/repos/bmhatfield/chef-ulimit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bmhatfield/chef-ulimit/merges","archive_url":"https://api.github.com/repos/bmhatfield/chef-ulimit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bmhatfield/chef-ulimit/downloads","issues_url":"https://api.github.com/repos/bmhatfield/chef-ulimit/issues{/number}","pulls_url":"https://api.github.com/repos/bmhatfield/chef-ulimit/pulls{/number}","milestones_url":"https://api.github.com/repos/bmhatfield/chef-ulimit/milestones{/number}","notifications_url":"https://api.github.com/repos/bmhatfield/chef-ulimit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bmhatfield/chef-ulimit/labels{/name}","releases_url":"https://api.github.com/repos/bmhatfield/chef-ulimit/releases{/id}","deployments_url":"https://api.github.com/repos/bmhatfield/chef-ulimit/deployments","created_at":"2012-10-11T20:56:55Z","updated_at":"2017-09-21T06:49:05Z","pushed_at":"2017-09-25T20:30:15Z","git_url":"git://github.com/bmhatfield/chef-ulimit.git","ssh_url":"git@github.com:bmhatfield/chef-ulimit.git","clone_url":"https://github.com/bmhatfield/chef-ulimit.git","svn_url":"https://github.com/bmhatfield/chef-ulimit","homepage":null,"size":80,"stargazers_count":41,"watchers_count":41,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":72,"mirror_url":null,"open_issues_count":5,"forks":72,"open_issues":5,"watchers":41,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bmhatfield/chef-ulimit/pulls/61"},"html":{"href":"https://github.com/bmhatfield/chef-ulimit/pull/61"},"issue":{"href":"https://api.github.com/repos/bmhatfield/chef-ulimit/issues/61"},"comments":{"href":"https://api.github.com/repos/bmhatfield/chef-ulimit/issues/61/comments"},"review_comments":{"href":"https://api.github.com/repos/bmhatfield/chef-ulimit/pulls/61/comments"},"review_comment":{"href":"https://api.github.com/repos/bmhatfield/chef-ulimit/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bmhatfield/chef-ulimit/pulls/61/commits"},"statuses":{"href":"https://api.github.com/repos/bmhatfield/chef-ulimit/statuses/61462a942bf814aa4458b100344af6d80e3230e7"}},"author_association":"NONE","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"tas50","id":1015200,"avatar_url":"https://avatars1.githubusercontent.com/u/1015200?v=4","gravatar_id":"","url":"https://api.github.com/users/tas50","html_url":"https://github.com/tas50","followers_url":"https://api.github.com/users/tas50/followers","following_url":"https://api.github.com/users/tas50/following{/other_user}","gists_url":"https://api.github.com/users/tas50/gists{/gist_id}","starred_url":"https://api.github.com/users/tas50/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tas50/subscriptions","organizations_url":"https://api.github.com/users/tas50/orgs","repos_url":"https://api.github.com/users/tas50/repos","events_url":"https://api.github.com/users/tas50/events{/privacy}","received_events_url":"https://api.github.com/users/tas50/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":2,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"tas50"}}