{"action":"opened","number":152,"pull_request":{"url":"https://api.github.com/repos/theforeman/kafo/pulls/152","id":70725748,"html_url":"https://github.com/theforeman/kafo/pull/152","diff_url":"https://github.com/theforeman/kafo/pull/152.diff","patch_url":"https://github.com/theforeman/kafo/pull/152.patch","issue_url":"https://api.github.com/repos/theforeman/kafo/issues/152","number":152,"state":"open","locked":false,"title":"fixes #15071 - add --reset-* parameter options","user":{"login":"domcleal","id":482089,"avatar_url":"https://avatars.githubusercontent.com/u/482089?v=3","gravatar_id":"","url":"https://api.github.com/users/domcleal","html_url":"https://github.com/domcleal","followers_url":"https://api.github.com/users/domcleal/followers","following_url":"https://api.github.com/users/domcleal/following{/other_user}","gists_url":"https://api.github.com/users/domcleal/gists{/gist_id}","starred_url":"https://api.github.com/users/domcleal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/domcleal/subscriptions","organizations_url":"https://api.github.com/users/domcleal/orgs","repos_url":"https://api.github.com/users/domcleal/repos","events_url":"https://api.github.com/users/domcleal/events{/privacy}","received_events_url":"https://api.github.com/users/domcleal/received_events","type":"User","site_admin":false},"body":"Parameters can now be reset to the default value set in the manifest by\r\npassing --reset-mod-param or by using a reset sub-menu in interactive\r\nmode.\r\n\r\nThe behaviour of the Param class has changed to remember defaults.\r\nPreviously for a parameter whose default was $::module::params::foo,\r\nthe 'default' always remained that parameter name, Puppet was run to\r\nfetch the value of the params class variable, then 'value' was set to\r\nthe value of the params variable.\r\n\r\nNow 'default' is changed to the value of the params variable so we can\r\ndifferentiate between the user's value and the default. When resetting\r\na value to the default it now goes back to the params value instead of\r\nthe params variable name.","created_at":"2016-05-19T16:33:02Z","updated_at":"2016-05-19T16:33:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/theforeman/kafo/pulls/152/commits","review_comments_url":"https://api.github.com/repos/theforeman/kafo/pulls/152/comments","review_comment_url":"https://api.github.com/repos/theforeman/kafo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/theforeman/kafo/issues/152/comments","statuses_url":"https://api.github.com/repos/theforeman/kafo/statuses/730c26d2e3c9f205b43322f65cf1c42072a72c9d","head":{"label":"domcleal:15071-reset-default","ref":"15071-reset-default","sha":"730c26d2e3c9f205b43322f65cf1c42072a72c9d","user":{"login":"domcleal","id":482089,"avatar_url":"https://avatars.githubusercontent.com/u/482089?v=3","gravatar_id":"","url":"https://api.github.com/users/domcleal","html_url":"https://github.com/domcleal","followers_url":"https://api.github.com/users/domcleal/followers","following_url":"https://api.github.com/users/domcleal/following{/other_user}","gists_url":"https://api.github.com/users/domcleal/gists{/gist_id}","starred_url":"https://api.github.com/users/domcleal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/domcleal/subscriptions","organizations_url":"https://api.github.com/users/domcleal/orgs","repos_url":"https://api.github.com/users/domcleal/repos","events_url":"https://api.github.com/users/domcleal/events{/privacy}","received_events_url":"https://api.github.com/users/domcleal/received_events","type":"User","site_admin":false},"repo":{"id":13267983,"name":"kafo","full_name":"domcleal/kafo","owner":{"login":"domcleal","id":482089,"avatar_url":"https://avatars.githubusercontent.com/u/482089?v=3","gravatar_id":"","url":"https://api.github.com/users/domcleal","html_url":"https://github.com/domcleal","followers_url":"https://api.github.com/users/domcleal/followers","following_url":"https://api.github.com/users/domcleal/following{/other_user}","gists_url":"https://api.github.com/users/domcleal/gists{/gist_id}","starred_url":"https://api.github.com/users/domcleal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/domcleal/subscriptions","organizations_url":"https://api.github.com/users/domcleal/orgs","repos_url":"https://api.github.com/users/domcleal/repos","events_url":"https://api.github.com/users/domcleal/events{/privacy}","received_events_url":"https://api.github.com/users/domcleal/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/domcleal/kafo","description":"A gem for making installations based on puppet user friendly","fork":true,"url":"https://api.github.com/repos/domcleal/kafo","forks_url":"https://api.github.com/repos/domcleal/kafo/forks","keys_url":"https://api.github.com/repos/domcleal/kafo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/domcleal/kafo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/domcleal/kafo/teams","hooks_url":"https://api.github.com/repos/domcleal/kafo/hooks","issue_events_url":"https://api.github.com/repos/domcleal/kafo/issues/events{/number}","events_url":"https://api.github.com/repos/domcleal/kafo/events","assignees_url":"https://api.github.com/repos/domcleal/kafo/assignees{/user}","branches_url":"https://api.github.com/repos/domcleal/kafo/branches{/branch}","tags_url":"https://api.github.com/repos/domcleal/kafo/tags","blobs_url":"https://api.github.com/repos/domcleal/kafo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/domcleal/kafo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/domcleal/kafo/git/refs{/sha}","trees_url":"https://api.github.com/repos/domcleal/kafo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/domcleal/kafo/statuses/{sha}","languages_url":"https://api.github.com/repos/domcleal/kafo/languages","stargazers_url":"https://api.github.com/repos/domcleal/kafo/stargazers","contributors_url":"https://api.github.com/repos/domcleal/kafo/contributors","subscribers_url":"https://api.github.com/repos/domcleal/kafo/subscribers","subscription_url":"https://api.github.com/repos/domcleal/kafo/subscription","commits_url":"https://api.github.com/repos/domcleal/kafo/commits{/sha}","git_commits_url":"https://api.github.com/repos/domcleal/kafo/git/commits{/sha}","comments_url":"https://api.github.com/repos/domcleal/kafo/comments{/number}","issue_comment_url":"https://api.github.com/repos/domcleal/kafo/issues/comments{/number}","contents_url":"https://api.github.com/repos/domcleal/kafo/contents/{+path}","compare_url":"https://api.github.com/repos/domcleal/kafo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/domcleal/kafo/merges","archive_url":"https://api.github.com/repos/domcleal/kafo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/domcleal/kafo/downloads","issues_url":"https://api.github.com/repos/domcleal/kafo/issues{/number}","pulls_url":"https://api.github.com/repos/domcleal/kafo/pulls{/number}","milestones_url":"https://api.github.com/repos/domcleal/kafo/milestones{/number}","notifications_url":"https://api.github.com/repos/domcleal/kafo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/domcleal/kafo/labels{/name}","releases_url":"https://api.github.com/repos/domcleal/kafo/releases{/id}","deployments_url":"https://api.github.com/repos/domcleal/kafo/deployments","created_at":"2013-10-02T10:09:16Z","updated_at":"2014-05-30T12:22:49Z","pushed_at":"2016-05-19T16:32:19Z","git_url":"git://github.com/domcleal/kafo.git","ssh_url":"git@github.com:domcleal/kafo.git","clone_url":"https://github.com/domcleal/kafo.git","svn_url":"https://github.com/domcleal/kafo","homepage":null,"size":628,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"theforeman:master","ref":"master","sha":"7744b3990964c97df7a8dccb65b8e7d77d401958","user":{"login":"theforeman","id":1439844,"avatar_url":"https://avatars.githubusercontent.com/u/1439844?v=3","gravatar_id":"","url":"https://api.github.com/users/theforeman","html_url":"https://github.com/theforeman","followers_url":"https://api.github.com/users/theforeman/followers","following_url":"https://api.github.com/users/theforeman/following{/other_user}","gists_url":"https://api.github.com/users/theforeman/gists{/gist_id}","starred_url":"https://api.github.com/users/theforeman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theforeman/subscriptions","organizations_url":"https://api.github.com/users/theforeman/orgs","repos_url":"https://api.github.com/users/theforeman/repos","events_url":"https://api.github.com/users/theforeman/events{/privacy}","received_events_url":"https://api.github.com/users/theforeman/received_events","type":"Organization","site_admin":false},"repo":{"id":12378385,"name":"kafo","full_name":"theforeman/kafo","owner":{"login":"theforeman","id":1439844,"avatar_url":"https://avatars.githubusercontent.com/u/1439844?v=3","gravatar_id":"","url":"https://api.github.com/users/theforeman","html_url":"https://github.com/theforeman","followers_url":"https://api.github.com/users/theforeman/followers","following_url":"https://api.github.com/users/theforeman/following{/other_user}","gists_url":"https://api.github.com/users/theforeman/gists{/gist_id}","starred_url":"https://api.github.com/users/theforeman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theforeman/subscriptions","organizations_url":"https://api.github.com/users/theforeman/orgs","repos_url":"https://api.github.com/users/theforeman/repos","events_url":"https://api.github.com/users/theforeman/events{/privacy}","received_events_url":"https://api.github.com/users/theforeman/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/theforeman/kafo","description":"A gem for making installations based on puppet user friendly","fork":false,"url":"https://api.github.com/repos/theforeman/kafo","forks_url":"https://api.github.com/repos/theforeman/kafo/forks","keys_url":"https://api.github.com/repos/theforeman/kafo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/theforeman/kafo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/theforeman/kafo/teams","hooks_url":"https://api.github.com/repos/theforeman/kafo/hooks","issue_events_url":"https://api.github.com/repos/theforeman/kafo/issues/events{/number}","events_url":"https://api.github.com/repos/theforeman/kafo/events","assignees_url":"https://api.github.com/repos/theforeman/kafo/assignees{/user}","branches_url":"https://api.github.com/repos/theforeman/kafo/branches{/branch}","tags_url":"https://api.github.com/repos/theforeman/kafo/tags","blobs_url":"https://api.github.com/repos/theforeman/kafo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/theforeman/kafo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/theforeman/kafo/git/refs{/sha}","trees_url":"https://api.github.com/repos/theforeman/kafo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/theforeman/kafo/statuses/{sha}","languages_url":"https://api.github.com/repos/theforeman/kafo/languages","stargazers_url":"https://api.github.com/repos/theforeman/kafo/stargazers","contributors_url":"https://api.github.com/repos/theforeman/kafo/contributors","subscribers_url":"https://api.github.com/repos/theforeman/kafo/subscribers","subscription_url":"https://api.github.com/repos/theforeman/kafo/subscription","commits_url":"https://api.github.com/repos/theforeman/kafo/commits{/sha}","git_commits_url":"https://api.github.com/repos/theforeman/kafo/git/commits{/sha}","comments_url":"https://api.github.com/repos/theforeman/kafo/comments{/number}","issue_comment_url":"https://api.github.com/repos/theforeman/kafo/issues/comments{/number}","contents_url":"https://api.github.com/repos/theforeman/kafo/contents/{+path}","compare_url":"https://api.github.com/repos/theforeman/kafo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/theforeman/kafo/merges","archive_url":"https://api.github.com/repos/theforeman/kafo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/theforeman/kafo/downloads","issues_url":"https://api.github.com/repos/theforeman/kafo/issues{/number}","pulls_url":"https://api.github.com/repos/theforeman/kafo/pulls{/number}","milestones_url":"https://api.github.com/repos/theforeman/kafo/milestones{/number}","notifications_url":"https://api.github.com/repos/theforeman/kafo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/theforeman/kafo/labels{/name}","releases_url":"https://api.github.com/repos/theforeman/kafo/releases{/id}","deployments_url":"https://api.github.com/repos/theforeman/kafo/deployments","created_at":"2013-08-26T12:18:43Z","updated_at":"2016-05-17T22:57:11Z","pushed_at":"2016-05-06T21:39:10Z","git_url":"git://github.com/theforeman/kafo.git","ssh_url":"git@github.com:theforeman/kafo.git","clone_url":"https://github.com/theforeman/kafo.git","svn_url":"https://github.com/theforeman/kafo","homepage":null,"size":782,"stargazers_count":45,"watchers_count":45,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":32,"mirror_url":null,"open_issues_count":2,"forks":32,"open_issues":2,"watchers":45,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/theforeman/kafo/pulls/152"},"html":{"href":"https://github.com/theforeman/kafo/pull/152"},"issue":{"href":"https://api.github.com/repos/theforeman/kafo/issues/152"},"comments":{"href":"https://api.github.com/repos/theforeman/kafo/issues/152/comments"},"review_comments":{"href":"https://api.github.com/repos/theforeman/kafo/pulls/152/comments"},"review_comment":{"href":"https://api.github.com/repos/theforeman/kafo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/theforeman/kafo/pulls/152/commits"},"statuses":{"href":"https://api.github.com/repos/theforeman/kafo/statuses/730c26d2e3c9f205b43322f65cf1c42072a72c9d"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":150,"deletions":16,"changed_files":11}}