{"action":"opened","number":141,"pull_request":{"url":"https://api.github.com/repos/DataDog/puppet-datadog-agent/pulls/141","id":50051503,"html_url":"https://github.com/DataDog/puppet-datadog-agent/pull/141","diff_url":"https://github.com/DataDog/puppet-datadog-agent/pull/141.diff","patch_url":"https://github.com/DataDog/puppet-datadog-agent/pull/141.patch","issue_url":"https://api.github.com/repos/DataDog/puppet-datadog-agent/issues/141","number":141,"state":"open","locked":false,"title":"Make a generic define for creating modules","user":{"login":"cwood","id":244277,"avatar_url":"https://avatars.githubusercontent.com/u/244277?v=3","gravatar_id":"","url":"https://api.github.com/users/cwood","html_url":"https://github.com/cwood","followers_url":"https://api.github.com/users/cwood/followers","following_url":"https://api.github.com/users/cwood/following{/other_user}","gists_url":"https://api.github.com/users/cwood/gists{/gist_id}","starred_url":"https://api.github.com/users/cwood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cwood/subscriptions","organizations_url":"https://api.github.com/users/cwood/orgs","repos_url":"https://api.github.com/users/cwood/repos","events_url":"https://api.github.com/users/cwood/events{/privacy}","received_events_url":"https://api.github.com/users/cwood/received_events","type":"User","site_admin":false},"body":"There is one already but only allows one since its a class we can not do\r\na bunch of integrations and replace the class with this. Also this will\r\nallow you to write ruby, or hiera and put it in the config you need.","created_at":"2015-11-08T02:54:53Z","updated_at":"2015-11-08T02:54:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/DataDog/puppet-datadog-agent/pulls/141/commits","review_comments_url":"https://api.github.com/repos/DataDog/puppet-datadog-agent/pulls/141/comments","review_comment_url":"https://api.github.com/repos/DataDog/puppet-datadog-agent/pulls/comments{/number}","comments_url":"https://api.github.com/repos/DataDog/puppet-datadog-agent/issues/141/comments","statuses_url":"https://api.github.com/repos/DataDog/puppet-datadog-agent/statuses/a617962f1159289ffc1c23ac4cdb589f00075c0a","head":{"label":"cwood:cwood/generic-integration","ref":"cwood/generic-integration","sha":"a617962f1159289ffc1c23ac4cdb589f00075c0a","user":{"login":"cwood","id":244277,"avatar_url":"https://avatars.githubusercontent.com/u/244277?v=3","gravatar_id":"","url":"https://api.github.com/users/cwood","html_url":"https://github.com/cwood","followers_url":"https://api.github.com/users/cwood/followers","following_url":"https://api.github.com/users/cwood/following{/other_user}","gists_url":"https://api.github.com/users/cwood/gists{/gist_id}","starred_url":"https://api.github.com/users/cwood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cwood/subscriptions","organizations_url":"https://api.github.com/users/cwood/orgs","repos_url":"https://api.github.com/users/cwood/repos","events_url":"https://api.github.com/users/cwood/events{/privacy}","received_events_url":"https://api.github.com/users/cwood/received_events","type":"User","site_admin":false},"repo":{"id":45762216,"name":"puppet-datadog-agent","full_name":"cwood/puppet-datadog-agent","owner":{"login":"cwood","id":244277,"avatar_url":"https://avatars.githubusercontent.com/u/244277?v=3","gravatar_id":"","url":"https://api.github.com/users/cwood","html_url":"https://github.com/cwood","followers_url":"https://api.github.com/users/cwood/followers","following_url":"https://api.github.com/users/cwood/following{/other_user}","gists_url":"https://api.github.com/users/cwood/gists{/gist_id}","starred_url":"https://api.github.com/users/cwood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cwood/subscriptions","organizations_url":"https://api.github.com/users/cwood/orgs","repos_url":"https://api.github.com/users/cwood/repos","events_url":"https://api.github.com/users/cwood/events{/privacy}","received_events_url":"https://api.github.com/users/cwood/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cwood/puppet-datadog-agent","description":"Puppet module to install the Datadog agent","fork":true,"url":"https://api.github.com/repos/cwood/puppet-datadog-agent","forks_url":"https://api.github.com/repos/cwood/puppet-datadog-agent/forks","keys_url":"https://api.github.com/repos/cwood/puppet-datadog-agent/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cwood/puppet-datadog-agent/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cwood/puppet-datadog-agent/teams","hooks_url":"https://api.github.com/repos/cwood/puppet-datadog-agent/hooks","issue_events_url":"https://api.github.com/repos/cwood/puppet-datadog-agent/issues/events{/number}","events_url":"https://api.github.com/repos/cwood/puppet-datadog-agent/events","assignees_url":"https://api.github.com/repos/cwood/puppet-datadog-agent/assignees{/user}","branches_url":"https://api.github.com/repos/cwood/puppet-datadog-agent/branches{/branch}","tags_url":"https://api.github.com/repos/cwood/puppet-datadog-agent/tags","blobs_url":"https://api.github.com/repos/cwood/puppet-datadog-agent/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cwood/puppet-datadog-agent/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cwood/puppet-datadog-agent/git/refs{/sha}","trees_url":"https://api.github.com/repos/cwood/puppet-datadog-agent/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cwood/puppet-datadog-agent/statuses/{sha}","languages_url":"https://api.github.com/repos/cwood/puppet-datadog-agent/languages","stargazers_url":"https://api.github.com/repos/cwood/puppet-datadog-agent/stargazers","contributors_url":"https://api.github.com/repos/cwood/puppet-datadog-agent/contributors","subscribers_url":"https://api.github.com/repos/cwood/puppet-datadog-agent/subscribers","subscription_url":"https://api.github.com/repos/cwood/puppet-datadog-agent/subscription","commits_url":"https://api.github.com/repos/cwood/puppet-datadog-agent/commits{/sha}","git_commits_url":"https://api.github.com/repos/cwood/puppet-datadog-agent/git/commits{/sha}","comments_url":"https://api.github.com/repos/cwood/puppet-datadog-agent/comments{/number}","issue_comment_url":"https://api.github.com/repos/cwood/puppet-datadog-agent/issues/comments{/number}","contents_url":"https://api.github.com/repos/cwood/puppet-datadog-agent/contents/{+path}","compare_url":"https://api.github.com/repos/cwood/puppet-datadog-agent/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cwood/puppet-datadog-agent/merges","archive_url":"https://api.github.com/repos/cwood/puppet-datadog-agent/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cwood/puppet-datadog-agent/downloads","issues_url":"https://api.github.com/repos/cwood/puppet-datadog-agent/issues{/number}","pulls_url":"https://api.github.com/repos/cwood/puppet-datadog-agent/pulls{/number}","milestones_url":"https://api.github.com/repos/cwood/puppet-datadog-agent/milestones{/number}","notifications_url":"https://api.github.com/repos/cwood/puppet-datadog-agent/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cwood/puppet-datadog-agent/labels{/name}","releases_url":"https://api.github.com/repos/cwood/puppet-datadog-agent/releases{/id}","created_at":"2015-11-08T01:26:37Z","updated_at":"2015-11-08T01:26:38Z","pushed_at":"2015-11-08T02:53:54Z","git_url":"git://github.com/cwood/puppet-datadog-agent.git","ssh_url":"git@github.com:cwood/puppet-datadog-agent.git","clone_url":"https://github.com/cwood/puppet-datadog-agent.git","svn_url":"https://github.com/cwood/puppet-datadog-agent","homepage":"","size":1253,"stargazers_count":0,"watchers_count":0,"language":"Puppet","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":"DataDog:master","ref":"master","sha":"af9f224978a2edfb8498930378e88211a6699c8e","user":{"login":"DataDog","id":365230,"avatar_url":"https://avatars.githubusercontent.com/u/365230?v=3","gravatar_id":"","url":"https://api.github.com/users/DataDog","html_url":"https://github.com/DataDog","followers_url":"https://api.github.com/users/DataDog/followers","following_url":"https://api.github.com/users/DataDog/following{/other_user}","gists_url":"https://api.github.com/users/DataDog/gists{/gist_id}","starred_url":"https://api.github.com/users/DataDog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DataDog/subscriptions","organizations_url":"https://api.github.com/users/DataDog/orgs","repos_url":"https://api.github.com/users/DataDog/repos","events_url":"https://api.github.com/users/DataDog/events{/privacy}","received_events_url":"https://api.github.com/users/DataDog/received_events","type":"Organization","site_admin":false},"repo":{"id":2036710,"name":"puppet-datadog-agent","full_name":"DataDog/puppet-datadog-agent","owner":{"login":"DataDog","id":365230,"avatar_url":"https://avatars.githubusercontent.com/u/365230?v=3","gravatar_id":"","url":"https://api.github.com/users/DataDog","html_url":"https://github.com/DataDog","followers_url":"https://api.github.com/users/DataDog/followers","following_url":"https://api.github.com/users/DataDog/following{/other_user}","gists_url":"https://api.github.com/users/DataDog/gists{/gist_id}","starred_url":"https://api.github.com/users/DataDog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DataDog/subscriptions","organizations_url":"https://api.github.com/users/DataDog/orgs","repos_url":"https://api.github.com/users/DataDog/repos","events_url":"https://api.github.com/users/DataDog/events{/privacy}","received_events_url":"https://api.github.com/users/DataDog/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/DataDog/puppet-datadog-agent","description":"Puppet module to install the Datadog agent","fork":true,"url":"https://api.github.com/repos/DataDog/puppet-datadog-agent","forks_url":"https://api.github.com/repos/DataDog/puppet-datadog-agent/forks","keys_url":"https://api.github.com/repos/DataDog/puppet-datadog-agent/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DataDog/puppet-datadog-agent/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DataDog/puppet-datadog-agent/teams","hooks_url":"https://api.github.com/repos/DataDog/puppet-datadog-agent/hooks","issue_events_url":"https://api.github.com/repos/DataDog/puppet-datadog-agent/issues/events{/number}","events_url":"https://api.github.com/repos/DataDog/puppet-datadog-agent/events","assignees_url":"https://api.github.com/repos/DataDog/puppet-datadog-agent/assignees{/user}","branches_url":"https://api.github.com/repos/DataDog/puppet-datadog-agent/branches{/branch}","tags_url":"https://api.github.com/repos/DataDog/puppet-datadog-agent/tags","blobs_url":"https://api.github.com/repos/DataDog/puppet-datadog-agent/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DataDog/puppet-datadog-agent/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DataDog/puppet-datadog-agent/git/refs{/sha}","trees_url":"https://api.github.com/repos/DataDog/puppet-datadog-agent/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DataDog/puppet-datadog-agent/statuses/{sha}","languages_url":"https://api.github.com/repos/DataDog/puppet-datadog-agent/languages","stargazers_url":"https://api.github.com/repos/DataDog/puppet-datadog-agent/stargazers","contributors_url":"https://api.github.com/repos/DataDog/puppet-datadog-agent/contributors","subscribers_url":"https://api.github.com/repos/DataDog/puppet-datadog-agent/subscribers","subscription_url":"https://api.github.com/repos/DataDog/puppet-datadog-agent/subscription","commits_url":"https://api.github.com/repos/DataDog/puppet-datadog-agent/commits{/sha}","git_commits_url":"https://api.github.com/repos/DataDog/puppet-datadog-agent/git/commits{/sha}","comments_url":"https://api.github.com/repos/DataDog/puppet-datadog-agent/comments{/number}","issue_comment_url":"https://api.github.com/repos/DataDog/puppet-datadog-agent/issues/comments{/number}","contents_url":"https://api.github.com/repos/DataDog/puppet-datadog-agent/contents/{+path}","compare_url":"https://api.github.com/repos/DataDog/puppet-datadog-agent/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DataDog/puppet-datadog-agent/merges","archive_url":"https://api.github.com/repos/DataDog/puppet-datadog-agent/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DataDog/puppet-datadog-agent/downloads","issues_url":"https://api.github.com/repos/DataDog/puppet-datadog-agent/issues{/number}","pulls_url":"https://api.github.com/repos/DataDog/puppet-datadog-agent/pulls{/number}","milestones_url":"https://api.github.com/repos/DataDog/puppet-datadog-agent/milestones{/number}","notifications_url":"https://api.github.com/repos/DataDog/puppet-datadog-agent/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DataDog/puppet-datadog-agent/labels{/name}","releases_url":"https://api.github.com/repos/DataDog/puppet-datadog-agent/releases{/id}","created_at":"2011-07-12T15:16:26Z","updated_at":"2015-10-19T22:55:41Z","pushed_at":"2015-11-08T01:38:26Z","git_url":"git://github.com/DataDog/puppet-datadog-agent.git","ssh_url":"git@github.com:DataDog/puppet-datadog-agent.git","clone_url":"https://github.com/DataDog/puppet-datadog-agent.git","svn_url":"https://github.com/DataDog/puppet-datadog-agent","homepage":"","size":1253,"stargazers_count":13,"watchers_count":13,"language":"Puppet","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":57,"mirror_url":null,"open_issues_count":26,"forks":57,"open_issues":26,"watchers":13,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/DataDog/puppet-datadog-agent/pulls/141"},"html":{"href":"https://github.com/DataDog/puppet-datadog-agent/pull/141"},"issue":{"href":"https://api.github.com/repos/DataDog/puppet-datadog-agent/issues/141"},"comments":{"href":"https://api.github.com/repos/DataDog/puppet-datadog-agent/issues/141/comments"},"review_comments":{"href":"https://api.github.com/repos/DataDog/puppet-datadog-agent/pulls/141/comments"},"review_comment":{"href":"https://api.github.com/repos/DataDog/puppet-datadog-agent/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/DataDog/puppet-datadog-agent/pulls/141/commits"},"statuses":{"href":"https://api.github.com/repos/DataDog/puppet-datadog-agent/statuses/a617962f1159289ffc1c23ac4cdb589f00075c0a"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":61,"deletions":1,"changed_files":5}}