{"action":"created","comment":{"url":"https://api.github.com/repos/ghoneycutt/puppet-module-ntp/pulls/comments/28305477","id":28305477,"diff_hunk":"@@ -47,6 +48,12 @@\n     $my_package_latest = $package_latest\n   }\n \n+  if is_bool($package_manage) == true {","path":"manifests/init.pp","position":12,"original_position":12,"commit_id":"112ded9e876638bc00e5c0bf7b72103c52f4ae48","original_commit_id":"112ded9e876638bc00e5c0bf7b72103c52f4ae48","user":{"login":"Phil-Friderici","id":5038125,"avatar_url":"https://avatars.githubusercontent.com/u/5038125?v=3","gravatar_id":"","url":"https://api.github.com/users/Phil-Friderici","html_url":"https://github.com/Phil-Friderici","followers_url":"https://api.github.com/users/Phil-Friderici/followers","following_url":"https://api.github.com/users/Phil-Friderici/following{/other_user}","gists_url":"https://api.github.com/users/Phil-Friderici/gists{/gist_id}","starred_url":"https://api.github.com/users/Phil-Friderici/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Phil-Friderici/subscriptions","organizations_url":"https://api.github.com/users/Phil-Friderici/orgs","repos_url":"https://api.github.com/users/Phil-Friderici/repos","events_url":"https://api.github.com/users/Phil-Friderici/events{/privacy}","received_events_url":"https://api.github.com/users/Phil-Friderici/received_events","type":"User","site_admin":false},"body":"@ghoneycutt I asked @ofsole to use this pattern. I prefer it because of better handling of wrong types.","created_at":"2015-04-14T07:29:21Z","updated_at":"2015-04-14T07:29:21Z","html_url":"https://github.com/ghoneycutt/puppet-module-ntp/pull/71#discussion_r28305477","pull_request_url":"https://api.github.com/repos/ghoneycutt/puppet-module-ntp/pulls/71","_links":{"self":{"href":"https://api.github.com/repos/ghoneycutt/puppet-module-ntp/pulls/comments/28305477"},"html":{"href":"https://github.com/ghoneycutt/puppet-module-ntp/pull/71#discussion_r28305477"},"pull_request":{"href":"https://api.github.com/repos/ghoneycutt/puppet-module-ntp/pulls/71"}}},"pull_request":{"url":"https://api.github.com/repos/ghoneycutt/puppet-module-ntp/pulls/71","id":32304441,"html_url":"https://github.com/ghoneycutt/puppet-module-ntp/pull/71","diff_url":"https://github.com/ghoneycutt/puppet-module-ntp/pull/71.diff","patch_url":"https://github.com/ghoneycutt/puppet-module-ntp/pull/71.patch","issue_url":"https://api.github.com/repos/ghoneycutt/puppet-module-ntp/issues/71","number":71,"state":"open","locked":false,"title":"parameterize the package_manage option","user":{"login":"ofsole","id":3815749,"avatar_url":"https://avatars.githubusercontent.com/u/3815749?v=3","gravatar_id":"","url":"https://api.github.com/users/ofsole","html_url":"https://github.com/ofsole","followers_url":"https://api.github.com/users/ofsole/followers","following_url":"https://api.github.com/users/ofsole/following{/other_user}","gists_url":"https://api.github.com/users/ofsole/gists{/gist_id}","starred_url":"https://api.github.com/users/ofsole/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ofsole/subscriptions","organizations_url":"https://api.github.com/users/ofsole/orgs","repos_url":"https://api.github.com/users/ofsole/repos","events_url":"https://api.github.com/users/ofsole/events{/privacy}","received_events_url":"https://api.github.com/users/ofsole/received_events","type":"User","site_admin":false},"body":"parameterize the package_manage option to control the package installed or not.","created_at":"2015-03-31T09:24:52Z","updated_at":"2015-04-14T07:29:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"53ae700b80142e48514abc786cdd2f4a473bd726","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ghoneycutt/puppet-module-ntp/pulls/71/commits","review_comments_url":"https://api.github.com/repos/ghoneycutt/puppet-module-ntp/pulls/71/comments","review_comment_url":"https://api.github.com/repos/ghoneycutt/puppet-module-ntp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ghoneycutt/puppet-module-ntp/issues/71/comments","statuses_url":"https://api.github.com/repos/ghoneycutt/puppet-module-ntp/statuses/112ded9e876638bc00e5c0bf7b72103c52f4ae48","head":{"label":"ofsole:master","ref":"master","sha":"112ded9e876638bc00e5c0bf7b72103c52f4ae48","user":{"login":"ofsole","id":3815749,"avatar_url":"https://avatars.githubusercontent.com/u/3815749?v=3","gravatar_id":"","url":"https://api.github.com/users/ofsole","html_url":"https://github.com/ofsole","followers_url":"https://api.github.com/users/ofsole/followers","following_url":"https://api.github.com/users/ofsole/following{/other_user}","gists_url":"https://api.github.com/users/ofsole/gists{/gist_id}","starred_url":"https://api.github.com/users/ofsole/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ofsole/subscriptions","organizations_url":"https://api.github.com/users/ofsole/orgs","repos_url":"https://api.github.com/users/ofsole/repos","events_url":"https://api.github.com/users/ofsole/events{/privacy}","received_events_url":"https://api.github.com/users/ofsole/received_events","type":"User","site_admin":false},"repo":{"id":32144995,"name":"puppet-module-ntp","full_name":"ofsole/puppet-module-ntp","owner":{"login":"ofsole","id":3815749,"avatar_url":"https://avatars.githubusercontent.com/u/3815749?v=3","gravatar_id":"","url":"https://api.github.com/users/ofsole","html_url":"https://github.com/ofsole","followers_url":"https://api.github.com/users/ofsole/followers","following_url":"https://api.github.com/users/ofsole/following{/other_user}","gists_url":"https://api.github.com/users/ofsole/gists{/gist_id}","starred_url":"https://api.github.com/users/ofsole/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ofsole/subscriptions","organizations_url":"https://api.github.com/users/ofsole/orgs","repos_url":"https://api.github.com/users/ofsole/repos","events_url":"https://api.github.com/users/ofsole/events{/privacy}","received_events_url":"https://api.github.com/users/ofsole/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ofsole/puppet-module-ntp","description":"Puppet module to manage ntp","fork":true,"url":"https://api.github.com/repos/ofsole/puppet-module-ntp","forks_url":"https://api.github.com/repos/ofsole/puppet-module-ntp/forks","keys_url":"https://api.github.com/repos/ofsole/puppet-module-ntp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ofsole/puppet-module-ntp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ofsole/puppet-module-ntp/teams","hooks_url":"https://api.github.com/repos/ofsole/puppet-module-ntp/hooks","issue_events_url":"https://api.github.com/repos/ofsole/puppet-module-ntp/issues/events{/number}","events_url":"https://api.github.com/repos/ofsole/puppet-module-ntp/events","assignees_url":"https://api.github.com/repos/ofsole/puppet-module-ntp/assignees{/user}","branches_url":"https://api.github.com/repos/ofsole/puppet-module-ntp/branches{/branch}","tags_url":"https://api.github.com/repos/ofsole/puppet-module-ntp/tags","blobs_url":"https://api.github.com/repos/ofsole/puppet-module-ntp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ofsole/puppet-module-ntp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ofsole/puppet-module-ntp/git/refs{/sha}","trees_url":"https://api.github.com/repos/ofsole/puppet-module-ntp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ofsole/puppet-module-ntp/statuses/{sha}","languages_url":"https://api.github.com/repos/ofsole/puppet-module-ntp/languages","stargazers_url":"https://api.github.com/repos/ofsole/puppet-module-ntp/stargazers","contributors_url":"https://api.github.com/repos/ofsole/puppet-module-ntp/contributors","subscribers_url":"https://api.github.com/repos/ofsole/puppet-module-ntp/subscribers","subscription_url":"https://api.github.com/repos/ofsole/puppet-module-ntp/subscription","commits_url":"https://api.github.com/repos/ofsole/puppet-module-ntp/commits{/sha}","git_commits_url":"https://api.github.com/repos/ofsole/puppet-module-ntp/git/commits{/sha}","comments_url":"https://api.github.com/repos/ofsole/puppet-module-ntp/comments{/number}","issue_comment_url":"https://api.github.com/repos/ofsole/puppet-module-ntp/issues/comments{/number}","contents_url":"https://api.github.com/repos/ofsole/puppet-module-ntp/contents/{+path}","compare_url":"https://api.github.com/repos/ofsole/puppet-module-ntp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ofsole/puppet-module-ntp/merges","archive_url":"https://api.github.com/repos/ofsole/puppet-module-ntp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ofsole/puppet-module-ntp/downloads","issues_url":"https://api.github.com/repos/ofsole/puppet-module-ntp/issues{/number}","pulls_url":"https://api.github.com/repos/ofsole/puppet-module-ntp/pulls{/number}","milestones_url":"https://api.github.com/repos/ofsole/puppet-module-ntp/milestones{/number}","notifications_url":"https://api.github.com/repos/ofsole/puppet-module-ntp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ofsole/puppet-module-ntp/labels{/name}","releases_url":"https://api.github.com/repos/ofsole/puppet-module-ntp/releases{/id}","created_at":"2015-03-13T08:50:15Z","updated_at":"2015-03-31T09:22:57Z","pushed_at":"2015-04-13T05:50:23Z","git_url":"git://github.com/ofsole/puppet-module-ntp.git","ssh_url":"git@github.com:ofsole/puppet-module-ntp.git","clone_url":"https://github.com/ofsole/puppet-module-ntp.git","svn_url":"https://github.com/ofsole/puppet-module-ntp","homepage":null,"size":259,"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":"ghoneycutt:master","ref":"master","sha":"496341956e462018de19eed858eff2bb086075eb","user":{"login":"ghoneycutt","id":313891,"avatar_url":"https://avatars.githubusercontent.com/u/313891?v=3","gravatar_id":"","url":"https://api.github.com/users/ghoneycutt","html_url":"https://github.com/ghoneycutt","followers_url":"https://api.github.com/users/ghoneycutt/followers","following_url":"https://api.github.com/users/ghoneycutt/following{/other_user}","gists_url":"https://api.github.com/users/ghoneycutt/gists{/gist_id}","starred_url":"https://api.github.com/users/ghoneycutt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ghoneycutt/subscriptions","organizations_url":"https://api.github.com/users/ghoneycutt/orgs","repos_url":"https://api.github.com/users/ghoneycutt/repos","events_url":"https://api.github.com/users/ghoneycutt/events{/privacy}","received_events_url":"https://api.github.com/users/ghoneycutt/received_events","type":"User","site_admin":false},"repo":{"id":10097032,"name":"puppet-module-ntp","full_name":"ghoneycutt/puppet-module-ntp","owner":{"login":"ghoneycutt","id":313891,"avatar_url":"https://avatars.githubusercontent.com/u/313891?v=3","gravatar_id":"","url":"https://api.github.com/users/ghoneycutt","html_url":"https://github.com/ghoneycutt","followers_url":"https://api.github.com/users/ghoneycutt/followers","following_url":"https://api.github.com/users/ghoneycutt/following{/other_user}","gists_url":"https://api.github.com/users/ghoneycutt/gists{/gist_id}","starred_url":"https://api.github.com/users/ghoneycutt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ghoneycutt/subscriptions","organizations_url":"https://api.github.com/users/ghoneycutt/orgs","repos_url":"https://api.github.com/users/ghoneycutt/repos","events_url":"https://api.github.com/users/ghoneycutt/events{/privacy}","received_events_url":"https://api.github.com/users/ghoneycutt/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ghoneycutt/puppet-module-ntp","description":"Puppet module to manage ntp","fork":false,"url":"https://api.github.com/repos/ghoneycutt/puppet-module-ntp","forks_url":"https://api.github.com/repos/ghoneycutt/puppet-module-ntp/forks","keys_url":"https://api.github.com/repos/ghoneycutt/puppet-module-ntp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ghoneycutt/puppet-module-ntp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ghoneycutt/puppet-module-ntp/teams","hooks_url":"https://api.github.com/repos/ghoneycutt/puppet-module-ntp/hooks","issue_events_url":"https://api.github.com/repos/ghoneycutt/puppet-module-ntp/issues/events{/number}","events_url":"https://api.github.com/repos/ghoneycutt/puppet-module-ntp/events","assignees_url":"https://api.github.com/repos/ghoneycutt/puppet-module-ntp/assignees{/user}","branches_url":"https://api.github.com/repos/ghoneycutt/puppet-module-ntp/branches{/branch}","tags_url":"https://api.github.com/repos/ghoneycutt/puppet-module-ntp/tags","blobs_url":"https://api.github.com/repos/ghoneycutt/puppet-module-ntp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ghoneycutt/puppet-module-ntp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ghoneycutt/puppet-module-ntp/git/refs{/sha}","trees_url":"https://api.github.com/repos/ghoneycutt/puppet-module-ntp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ghoneycutt/puppet-module-ntp/statuses/{sha}","languages_url":"https://api.github.com/repos/ghoneycutt/puppet-module-ntp/languages","stargazers_url":"https://api.github.com/repos/ghoneycutt/puppet-module-ntp/stargazers","contributors_url":"https://api.github.com/repos/ghoneycutt/puppet-module-ntp/contributors","subscribers_url":"https://api.github.com/repos/ghoneycutt/puppet-module-ntp/subscribers","subscription_url":"https://api.github.com/repos/ghoneycutt/puppet-module-ntp/subscription","commits_url":"https://api.github.com/repos/ghoneycutt/puppet-module-ntp/commits{/sha}","git_commits_url":"https://api.github.com/repos/ghoneycutt/puppet-module-ntp/git/commits{/sha}","comments_url":"https://api.github.com/repos/ghoneycutt/puppet-module-ntp/comments{/number}","issue_comment_url":"https://api.github.com/repos/ghoneycutt/puppet-module-ntp/issues/comments{/number}","contents_url":"https://api.github.com/repos/ghoneycutt/puppet-module-ntp/contents/{+path}","compare_url":"https://api.github.com/repos/ghoneycutt/puppet-module-ntp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ghoneycutt/puppet-module-ntp/merges","archive_url":"https://api.github.com/repos/ghoneycutt/puppet-module-ntp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ghoneycutt/puppet-module-ntp/downloads","issues_url":"https://api.github.com/repos/ghoneycutt/puppet-module-ntp/issues{/number}","pulls_url":"https://api.github.com/repos/ghoneycutt/puppet-module-ntp/pulls{/number}","milestones_url":"https://api.github.com/repos/ghoneycutt/puppet-module-ntp/milestones{/number}","notifications_url":"https://api.github.com/repos/ghoneycutt/puppet-module-ntp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ghoneycutt/puppet-module-ntp/labels{/name}","releases_url":"https://api.github.com/repos/ghoneycutt/puppet-module-ntp/releases{/id}","created_at":"2013-05-16T08:29:54Z","updated_at":"2015-02-20T11:09:33Z","pushed_at":"2015-04-13T06:01:11Z","git_url":"git://github.com/ghoneycutt/puppet-module-ntp.git","ssh_url":"git@github.com:ghoneycutt/puppet-module-ntp.git","clone_url":"https://github.com/ghoneycutt/puppet-module-ntp.git","svn_url":"https://github.com/ghoneycutt/puppet-module-ntp","homepage":null,"size":879,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":18,"mirror_url":null,"open_issues_count":13,"forks":18,"open_issues":13,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ghoneycutt/puppet-module-ntp/pulls/71"},"html":{"href":"https://github.com/ghoneycutt/puppet-module-ntp/pull/71"},"issue":{"href":"https://api.github.com/repos/ghoneycutt/puppet-module-ntp/issues/71"},"comments":{"href":"https://api.github.com/repos/ghoneycutt/puppet-module-ntp/issues/71/comments"},"review_comments":{"href":"https://api.github.com/repos/ghoneycutt/puppet-module-ntp/pulls/71/comments"},"review_comment":{"href":"https://api.github.com/repos/ghoneycutt/puppet-module-ntp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ghoneycutt/puppet-module-ntp/pulls/71/commits"},"statuses":{"href":"https://api.github.com/repos/ghoneycutt/puppet-module-ntp/statuses/112ded9e876638bc00e5c0bf7b72103c52f4ae48"}}}}