{"action":"opened","number":30,"pull_request":{"url":"https://api.github.com/repos/puppetlabs/puppetlabs-dsc/pulls/30","id":40411887,"html_url":"https://github.com/puppetlabs/puppetlabs-dsc/pull/30","diff_url":"https://github.com/puppetlabs/puppetlabs-dsc/pull/30.diff","patch_url":"https://github.com/puppetlabs/puppetlabs-dsc/pull/30.patch","issue_url":"https://api.github.com/repos/puppetlabs/puppetlabs-dsc/issues/30","number":30,"state":"open","locked":false,"title":"(MODULES-2257) Manage DSC resource without ensure","user":{"login":"Iristyle","id":394081,"avatar_url":"https://avatars.githubusercontent.com/u/394081?v=3","gravatar_id":"","url":"https://api.github.com/users/Iristyle","html_url":"https://github.com/Iristyle","followers_url":"https://api.github.com/users/Iristyle/followers","following_url":"https://api.github.com/users/Iristyle/following{/other_user}","gists_url":"https://api.github.com/users/Iristyle/gists{/gist_id}","starred_url":"https://api.github.com/users/Iristyle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Iristyle/subscriptions","organizations_url":"https://api.github.com/users/Iristyle/orgs","repos_url":"https://api.github.com/users/Iristyle/repos","events_url":"https://api.github.com/users/Iristyle/events{/privacy}","received_events_url":"https://api.github.com/users/Iristyle/received_events","type":"User","site_admin":false},"body":" - Previously the heuristic for generated types was to look for a\r\n   'Ensure' property on the DSC MOF schema.  However, this is not\r\n   appropriate for many types that are missing an 'Ensure' such as\r\n   dsc_service.  In Puppet parlance, an 'Ensure' implies that the\r\n   resource can be set to :absent to remove it, but that concept doesn't\r\n   mesh with what DSC supports in the box.\r\n\r\n   Therefore modify the code generation process so that all resources\r\n   generated from DSC types are Puppet ensurable.  However, for those\r\n   that are not DSC ensurable, only support :exists? and :present, but\r\n   not :absent.","created_at":"2015-07-21T00:27:55Z","updated_at":"2015-07-21T00:27:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7a13cdf231774406cdda3fafb9090513864e9060","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/puppetlabs/puppetlabs-dsc/pulls/30/commits","review_comments_url":"https://api.github.com/repos/puppetlabs/puppetlabs-dsc/pulls/30/comments","review_comment_url":"https://api.github.com/repos/puppetlabs/puppetlabs-dsc/pulls/comments{/number}","comments_url":"https://api.github.com/repos/puppetlabs/puppetlabs-dsc/issues/30/comments","statuses_url":"https://api.github.com/repos/puppetlabs/puppetlabs-dsc/statuses/5e6aecd7d56265528caee6e0a4be723e409ae449","head":{"label":"Iristyle:ticket/master/MODULES-2257-dsc-resources-without-ensure-are-ignored","ref":"ticket/master/MODULES-2257-dsc-resources-without-ensure-are-ignored","sha":"5e6aecd7d56265528caee6e0a4be723e409ae449","user":{"login":"Iristyle","id":394081,"avatar_url":"https://avatars.githubusercontent.com/u/394081?v=3","gravatar_id":"","url":"https://api.github.com/users/Iristyle","html_url":"https://github.com/Iristyle","followers_url":"https://api.github.com/users/Iristyle/followers","following_url":"https://api.github.com/users/Iristyle/following{/other_user}","gists_url":"https://api.github.com/users/Iristyle/gists{/gist_id}","starred_url":"https://api.github.com/users/Iristyle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Iristyle/subscriptions","organizations_url":"https://api.github.com/users/Iristyle/orgs","repos_url":"https://api.github.com/users/Iristyle/repos","events_url":"https://api.github.com/users/Iristyle/events{/privacy}","received_events_url":"https://api.github.com/users/Iristyle/received_events","type":"User","site_admin":false},"repo":{"id":35566090,"name":"puppetlabs-dsc","full_name":"Iristyle/puppetlabs-dsc","owner":{"login":"Iristyle","id":394081,"avatar_url":"https://avatars.githubusercontent.com/u/394081?v=3","gravatar_id":"","url":"https://api.github.com/users/Iristyle","html_url":"https://github.com/Iristyle","followers_url":"https://api.github.com/users/Iristyle/followers","following_url":"https://api.github.com/users/Iristyle/following{/other_user}","gists_url":"https://api.github.com/users/Iristyle/gists{/gist_id}","starred_url":"https://api.github.com/users/Iristyle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Iristyle/subscriptions","organizations_url":"https://api.github.com/users/Iristyle/orgs","repos_url":"https://api.github.com/users/Iristyle/repos","events_url":"https://api.github.com/users/Iristyle/events{/privacy}","received_events_url":"https://api.github.com/users/Iristyle/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Iristyle/puppetlabs-dsc","description":"Puppet module for PowerShell Desired State Configuration (DSC) integration","fork":true,"url":"https://api.github.com/repos/Iristyle/puppetlabs-dsc","forks_url":"https://api.github.com/repos/Iristyle/puppetlabs-dsc/forks","keys_url":"https://api.github.com/repos/Iristyle/puppetlabs-dsc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Iristyle/puppetlabs-dsc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Iristyle/puppetlabs-dsc/teams","hooks_url":"https://api.github.com/repos/Iristyle/puppetlabs-dsc/hooks","issue_events_url":"https://api.github.com/repos/Iristyle/puppetlabs-dsc/issues/events{/number}","events_url":"https://api.github.com/repos/Iristyle/puppetlabs-dsc/events","assignees_url":"https://api.github.com/repos/Iristyle/puppetlabs-dsc/assignees{/user}","branches_url":"https://api.github.com/repos/Iristyle/puppetlabs-dsc/branches{/branch}","tags_url":"https://api.github.com/repos/Iristyle/puppetlabs-dsc/tags","blobs_url":"https://api.github.com/repos/Iristyle/puppetlabs-dsc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Iristyle/puppetlabs-dsc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Iristyle/puppetlabs-dsc/git/refs{/sha}","trees_url":"https://api.github.com/repos/Iristyle/puppetlabs-dsc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Iristyle/puppetlabs-dsc/statuses/{sha}","languages_url":"https://api.github.com/repos/Iristyle/puppetlabs-dsc/languages","stargazers_url":"https://api.github.com/repos/Iristyle/puppetlabs-dsc/stargazers","contributors_url":"https://api.github.com/repos/Iristyle/puppetlabs-dsc/contributors","subscribers_url":"https://api.github.com/repos/Iristyle/puppetlabs-dsc/subscribers","subscription_url":"https://api.github.com/repos/Iristyle/puppetlabs-dsc/subscription","commits_url":"https://api.github.com/repos/Iristyle/puppetlabs-dsc/commits{/sha}","git_commits_url":"https://api.github.com/repos/Iristyle/puppetlabs-dsc/git/commits{/sha}","comments_url":"https://api.github.com/repos/Iristyle/puppetlabs-dsc/comments{/number}","issue_comment_url":"https://api.github.com/repos/Iristyle/puppetlabs-dsc/issues/comments{/number}","contents_url":"https://api.github.com/repos/Iristyle/puppetlabs-dsc/contents/{+path}","compare_url":"https://api.github.com/repos/Iristyle/puppetlabs-dsc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Iristyle/puppetlabs-dsc/merges","archive_url":"https://api.github.com/repos/Iristyle/puppetlabs-dsc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Iristyle/puppetlabs-dsc/downloads","issues_url":"https://api.github.com/repos/Iristyle/puppetlabs-dsc/issues{/number}","pulls_url":"https://api.github.com/repos/Iristyle/puppetlabs-dsc/pulls{/number}","milestones_url":"https://api.github.com/repos/Iristyle/puppetlabs-dsc/milestones{/number}","notifications_url":"https://api.github.com/repos/Iristyle/puppetlabs-dsc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Iristyle/puppetlabs-dsc/labels{/name}","releases_url":"https://api.github.com/repos/Iristyle/puppetlabs-dsc/releases{/id}","created_at":"2015-05-13T18:11:48Z","updated_at":"2015-05-13T18:11:49Z","pushed_at":"2015-07-21T00:25:10Z","git_url":"git://github.com/Iristyle/puppetlabs-dsc.git","ssh_url":"git@github.com:Iristyle/puppetlabs-dsc.git","clone_url":"https://github.com/Iristyle/puppetlabs-dsc.git","svn_url":"https://github.com/Iristyle/puppetlabs-dsc","homepage":"","size":4670,"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":"puppetlabs:master","ref":"master","sha":"0f9d7d68b2d302f9803ef91f3a95ae80a5b2b54b","user":{"login":"puppetlabs","id":234268,"avatar_url":"https://avatars.githubusercontent.com/u/234268?v=3","gravatar_id":"","url":"https://api.github.com/users/puppetlabs","html_url":"https://github.com/puppetlabs","followers_url":"https://api.github.com/users/puppetlabs/followers","following_url":"https://api.github.com/users/puppetlabs/following{/other_user}","gists_url":"https://api.github.com/users/puppetlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/puppetlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/puppetlabs/subscriptions","organizations_url":"https://api.github.com/users/puppetlabs/orgs","repos_url":"https://api.github.com/users/puppetlabs/repos","events_url":"https://api.github.com/users/puppetlabs/events{/privacy}","received_events_url":"https://api.github.com/users/puppetlabs/received_events","type":"Organization","site_admin":false},"repo":{"id":21090303,"name":"puppetlabs-dsc","full_name":"puppetlabs/puppetlabs-dsc","owner":{"login":"puppetlabs","id":234268,"avatar_url":"https://avatars.githubusercontent.com/u/234268?v=3","gravatar_id":"","url":"https://api.github.com/users/puppetlabs","html_url":"https://github.com/puppetlabs","followers_url":"https://api.github.com/users/puppetlabs/followers","following_url":"https://api.github.com/users/puppetlabs/following{/other_user}","gists_url":"https://api.github.com/users/puppetlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/puppetlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/puppetlabs/subscriptions","organizations_url":"https://api.github.com/users/puppetlabs/orgs","repos_url":"https://api.github.com/users/puppetlabs/repos","events_url":"https://api.github.com/users/puppetlabs/events{/privacy}","received_events_url":"https://api.github.com/users/puppetlabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/puppetlabs/puppetlabs-dsc","description":"Puppet module for PowerShell Desired State Configuration (DSC) integration","fork":false,"url":"https://api.github.com/repos/puppetlabs/puppetlabs-dsc","forks_url":"https://api.github.com/repos/puppetlabs/puppetlabs-dsc/forks","keys_url":"https://api.github.com/repos/puppetlabs/puppetlabs-dsc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/puppetlabs/puppetlabs-dsc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/puppetlabs/puppetlabs-dsc/teams","hooks_url":"https://api.github.com/repos/puppetlabs/puppetlabs-dsc/hooks","issue_events_url":"https://api.github.com/repos/puppetlabs/puppetlabs-dsc/issues/events{/number}","events_url":"https://api.github.com/repos/puppetlabs/puppetlabs-dsc/events","assignees_url":"https://api.github.com/repos/puppetlabs/puppetlabs-dsc/assignees{/user}","branches_url":"https://api.github.com/repos/puppetlabs/puppetlabs-dsc/branches{/branch}","tags_url":"https://api.github.com/repos/puppetlabs/puppetlabs-dsc/tags","blobs_url":"https://api.github.com/repos/puppetlabs/puppetlabs-dsc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/puppetlabs/puppetlabs-dsc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/puppetlabs/puppetlabs-dsc/git/refs{/sha}","trees_url":"https://api.github.com/repos/puppetlabs/puppetlabs-dsc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/puppetlabs/puppetlabs-dsc/statuses/{sha}","languages_url":"https://api.github.com/repos/puppetlabs/puppetlabs-dsc/languages","stargazers_url":"https://api.github.com/repos/puppetlabs/puppetlabs-dsc/stargazers","contributors_url":"https://api.github.com/repos/puppetlabs/puppetlabs-dsc/contributors","subscribers_url":"https://api.github.com/repos/puppetlabs/puppetlabs-dsc/subscribers","subscription_url":"https://api.github.com/repos/puppetlabs/puppetlabs-dsc/subscription","commits_url":"https://api.github.com/repos/puppetlabs/puppetlabs-dsc/commits{/sha}","git_commits_url":"https://api.github.com/repos/puppetlabs/puppetlabs-dsc/git/commits{/sha}","comments_url":"https://api.github.com/repos/puppetlabs/puppetlabs-dsc/comments{/number}","issue_comment_url":"https://api.github.com/repos/puppetlabs/puppetlabs-dsc/issues/comments{/number}","contents_url":"https://api.github.com/repos/puppetlabs/puppetlabs-dsc/contents/{+path}","compare_url":"https://api.github.com/repos/puppetlabs/puppetlabs-dsc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/puppetlabs/puppetlabs-dsc/merges","archive_url":"https://api.github.com/repos/puppetlabs/puppetlabs-dsc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/puppetlabs/puppetlabs-dsc/downloads","issues_url":"https://api.github.com/repos/puppetlabs/puppetlabs-dsc/issues{/number}","pulls_url":"https://api.github.com/repos/puppetlabs/puppetlabs-dsc/pulls{/number}","milestones_url":"https://api.github.com/repos/puppetlabs/puppetlabs-dsc/milestones{/number}","notifications_url":"https://api.github.com/repos/puppetlabs/puppetlabs-dsc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/puppetlabs/puppetlabs-dsc/labels{/name}","releases_url":"https://api.github.com/repos/puppetlabs/puppetlabs-dsc/releases{/id}","created_at":"2014-06-22T09:42:33Z","updated_at":"2015-05-27T19:48:01Z","pushed_at":"2015-07-21T00:27:57Z","git_url":"git://github.com/puppetlabs/puppetlabs-dsc.git","ssh_url":"git@github.com:puppetlabs/puppetlabs-dsc.git","clone_url":"https://github.com/puppetlabs/puppetlabs-dsc.git","svn_url":"https://github.com/puppetlabs/puppetlabs-dsc","homepage":"","size":5654,"stargazers_count":15,"watchers_count":15,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":6,"forks":7,"open_issues":6,"watchers":15,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/puppetlabs/puppetlabs-dsc/pulls/30"},"html":{"href":"https://github.com/puppetlabs/puppetlabs-dsc/pull/30"},"issue":{"href":"https://api.github.com/repos/puppetlabs/puppetlabs-dsc/issues/30"},"comments":{"href":"https://api.github.com/repos/puppetlabs/puppetlabs-dsc/issues/30/comments"},"review_comments":{"href":"https://api.github.com/repos/puppetlabs/puppetlabs-dsc/pulls/30/comments"},"review_comment":{"href":"https://api.github.com/repos/puppetlabs/puppetlabs-dsc/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/puppetlabs/puppetlabs-dsc/pulls/30/commits"},"statuses":{"href":"https://api.github.com/repos/puppetlabs/puppetlabs-dsc/statuses/5e6aecd7d56265528caee6e0a4be723e409ae449"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":315,"deletions":57,"changed_files":80}}