{"action":"created","comment":{"url":"https://api.github.com/repos/theforeman/foreman-infra/pulls/comments/31432556","id":31432556,"diff_hunk":"@@ -162,6 +162,30 @@\n     }\n   }\n \n+  # Needed by foreman_openscap gem dependency OpenSCAP\n+  if $osfamily == 'RedHat' {\n+    $repo = $::operatingsystem ? {\n+        'Fedora' => 'fedora',\n+        default  => 'epel',\n+      }\n+\n+      if $::operatingsystemmajrelease == undef {","path":"puppet/modules/slave/manifests/init.pp","position":11,"original_position":11,"commit_id":"d36b5437ff8df8e600716e079ca006d1d882da36","original_commit_id":"d36b5437ff8df8e600716e079ca006d1d882da36","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":"don't worry about this, we have 1.7+ and can rely on it","created_at":"2015-06-01T14:51:05Z","updated_at":"2015-06-01T14:51:05Z","html_url":"https://github.com/theforeman/foreman-infra/pull/170#discussion_r31432556","pull_request_url":"https://api.github.com/repos/theforeman/foreman-infra/pulls/170","_links":{"self":{"href":"https://api.github.com/repos/theforeman/foreman-infra/pulls/comments/31432556"},"html":{"href":"https://github.com/theforeman/foreman-infra/pull/170#discussion_r31432556"},"pull_request":{"href":"https://api.github.com/repos/theforeman/foreman-infra/pulls/170"}}},"pull_request":{"url":"https://api.github.com/repos/theforeman/foreman-infra/pulls/170","id":36580681,"html_url":"https://github.com/theforeman/foreman-infra/pull/170","diff_url":"https://github.com/theforeman/foreman-infra/pull/170.diff","patch_url":"https://github.com/theforeman/foreman-infra/pull/170.patch","issue_url":"https://api.github.com/repos/theforeman/foreman-infra/issues/170","number":170,"state":"open","locked":false,"title":"Add openscap repo data and install openscap","user":{"login":"shlomizadok","id":433583,"avatar_url":"https://avatars.githubusercontent.com/u/433583?v=3","gravatar_id":"","url":"https://api.github.com/users/shlomizadok","html_url":"https://github.com/shlomizadok","followers_url":"https://api.github.com/users/shlomizadok/followers","following_url":"https://api.github.com/users/shlomizadok/following{/other_user}","gists_url":"https://api.github.com/users/shlomizadok/gists{/gist_id}","starred_url":"https://api.github.com/users/shlomizadok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shlomizadok/subscriptions","organizations_url":"https://api.github.com/users/shlomizadok/orgs","repos_url":"https://api.github.com/users/shlomizadok/repos","events_url":"https://api.github.com/users/shlomizadok/events{/privacy}","received_events_url":"https://api.github.com/users/shlomizadok/received_events","type":"User","site_admin":false},"body":"What I'd like to achieve: __Installing OpenSCAP on the slave servers.__\r\nHow: Adding openscap repo data to the slave puppet.\r\n\r\nPlease note related PR: https://github.com/theforeman/puppet-foreman/pull/326\r\n\r\nWhich will require a version bump for foreman-infra/modules/foreman submodule.","created_at":"2015-05-31T11:20:25Z","updated_at":"2015-06-01T14:51:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"eb24350b8ddac5daa81632756653fa5d467d51a5","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/theforeman/foreman-infra/pulls/170/commits","review_comments_url":"https://api.github.com/repos/theforeman/foreman-infra/pulls/170/comments","review_comment_url":"https://api.github.com/repos/theforeman/foreman-infra/pulls/comments{/number}","comments_url":"https://api.github.com/repos/theforeman/foreman-infra/issues/170/comments","statuses_url":"https://api.github.com/repos/theforeman/foreman-infra/statuses/d36b5437ff8df8e600716e079ca006d1d882da36","head":{"label":"shlomizadok:slave_openscap","ref":"slave_openscap","sha":"d36b5437ff8df8e600716e079ca006d1d882da36","user":{"login":"shlomizadok","id":433583,"avatar_url":"https://avatars.githubusercontent.com/u/433583?v=3","gravatar_id":"","url":"https://api.github.com/users/shlomizadok","html_url":"https://github.com/shlomizadok","followers_url":"https://api.github.com/users/shlomizadok/followers","following_url":"https://api.github.com/users/shlomizadok/following{/other_user}","gists_url":"https://api.github.com/users/shlomizadok/gists{/gist_id}","starred_url":"https://api.github.com/users/shlomizadok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shlomizadok/subscriptions","organizations_url":"https://api.github.com/users/shlomizadok/orgs","repos_url":"https://api.github.com/users/shlomizadok/repos","events_url":"https://api.github.com/users/shlomizadok/events{/privacy}","received_events_url":"https://api.github.com/users/shlomizadok/received_events","type":"User","site_admin":false},"repo":{"id":36595224,"name":"foreman-infra","full_name":"shlomizadok/foreman-infra","owner":{"login":"shlomizadok","id":433583,"avatar_url":"https://avatars.githubusercontent.com/u/433583?v=3","gravatar_id":"","url":"https://api.github.com/users/shlomizadok","html_url":"https://github.com/shlomizadok","followers_url":"https://api.github.com/users/shlomizadok/followers","following_url":"https://api.github.com/users/shlomizadok/following{/other_user}","gists_url":"https://api.github.com/users/shlomizadok/gists{/gist_id}","starred_url":"https://api.github.com/users/shlomizadok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shlomizadok/subscriptions","organizations_url":"https://api.github.com/users/shlomizadok/orgs","repos_url":"https://api.github.com/users/shlomizadok/repos","events_url":"https://api.github.com/users/shlomizadok/events{/privacy}","received_events_url":"https://api.github.com/users/shlomizadok/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/shlomizadok/foreman-infra","description":"Puppet modules and scripts to manage Foreman project infrastructure","fork":true,"url":"https://api.github.com/repos/shlomizadok/foreman-infra","forks_url":"https://api.github.com/repos/shlomizadok/foreman-infra/forks","keys_url":"https://api.github.com/repos/shlomizadok/foreman-infra/keys{/key_id}","collaborators_url":"https://api.github.com/repos/shlomizadok/foreman-infra/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/shlomizadok/foreman-infra/teams","hooks_url":"https://api.github.com/repos/shlomizadok/foreman-infra/hooks","issue_events_url":"https://api.github.com/repos/shlomizadok/foreman-infra/issues/events{/number}","events_url":"https://api.github.com/repos/shlomizadok/foreman-infra/events","assignees_url":"https://api.github.com/repos/shlomizadok/foreman-infra/assignees{/user}","branches_url":"https://api.github.com/repos/shlomizadok/foreman-infra/branches{/branch}","tags_url":"https://api.github.com/repos/shlomizadok/foreman-infra/tags","blobs_url":"https://api.github.com/repos/shlomizadok/foreman-infra/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/shlomizadok/foreman-infra/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/shlomizadok/foreman-infra/git/refs{/sha}","trees_url":"https://api.github.com/repos/shlomizadok/foreman-infra/git/trees{/sha}","statuses_url":"https://api.github.com/repos/shlomizadok/foreman-infra/statuses/{sha}","languages_url":"https://api.github.com/repos/shlomizadok/foreman-infra/languages","stargazers_url":"https://api.github.com/repos/shlomizadok/foreman-infra/stargazers","contributors_url":"https://api.github.com/repos/shlomizadok/foreman-infra/contributors","subscribers_url":"https://api.github.com/repos/shlomizadok/foreman-infra/subscribers","subscription_url":"https://api.github.com/repos/shlomizadok/foreman-infra/subscription","commits_url":"https://api.github.com/repos/shlomizadok/foreman-infra/commits{/sha}","git_commits_url":"https://api.github.com/repos/shlomizadok/foreman-infra/git/commits{/sha}","comments_url":"https://api.github.com/repos/shlomizadok/foreman-infra/comments{/number}","issue_comment_url":"https://api.github.com/repos/shlomizadok/foreman-infra/issues/comments{/number}","contents_url":"https://api.github.com/repos/shlomizadok/foreman-infra/contents/{+path}","compare_url":"https://api.github.com/repos/shlomizadok/foreman-infra/compare/{base}...{head}","merges_url":"https://api.github.com/repos/shlomizadok/foreman-infra/merges","archive_url":"https://api.github.com/repos/shlomizadok/foreman-infra/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/shlomizadok/foreman-infra/downloads","issues_url":"https://api.github.com/repos/shlomizadok/foreman-infra/issues{/number}","pulls_url":"https://api.github.com/repos/shlomizadok/foreman-infra/pulls{/number}","milestones_url":"https://api.github.com/repos/shlomizadok/foreman-infra/milestones{/number}","notifications_url":"https://api.github.com/repos/shlomizadok/foreman-infra/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/shlomizadok/foreman-infra/labels{/name}","releases_url":"https://api.github.com/repos/shlomizadok/foreman-infra/releases{/id}","created_at":"2015-05-31T08:54:39Z","updated_at":"2015-05-31T08:54:40Z","pushed_at":"2015-06-01T14:44:13Z","git_url":"git://github.com/shlomizadok/foreman-infra.git","ssh_url":"git@github.com:shlomizadok/foreman-infra.git","clone_url":"https://github.com/shlomizadok/foreman-infra.git","svn_url":"https://github.com/shlomizadok/foreman-infra","homepage":"","size":813,"stargazers_count":0,"watchers_count":0,"language":"HTML","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":"dd1753e523c82539ec2ac4baf391c9da3d8ae27a","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":5750224,"name":"foreman-infra","full_name":"theforeman/foreman-infra","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/foreman-infra","description":"Puppet modules and scripts to manage Foreman project infrastructure","fork":false,"url":"https://api.github.com/repos/theforeman/foreman-infra","forks_url":"https://api.github.com/repos/theforeman/foreman-infra/forks","keys_url":"https://api.github.com/repos/theforeman/foreman-infra/keys{/key_id}","collaborators_url":"https://api.github.com/repos/theforeman/foreman-infra/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/theforeman/foreman-infra/teams","hooks_url":"https://api.github.com/repos/theforeman/foreman-infra/hooks","issue_events_url":"https://api.github.com/repos/theforeman/foreman-infra/issues/events{/number}","events_url":"https://api.github.com/repos/theforeman/foreman-infra/events","assignees_url":"https://api.github.com/repos/theforeman/foreman-infra/assignees{/user}","branches_url":"https://api.github.com/repos/theforeman/foreman-infra/branches{/branch}","tags_url":"https://api.github.com/repos/theforeman/foreman-infra/tags","blobs_url":"https://api.github.com/repos/theforeman/foreman-infra/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/theforeman/foreman-infra/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/theforeman/foreman-infra/git/refs{/sha}","trees_url":"https://api.github.com/repos/theforeman/foreman-infra/git/trees{/sha}","statuses_url":"https://api.github.com/repos/theforeman/foreman-infra/statuses/{sha}","languages_url":"https://api.github.com/repos/theforeman/foreman-infra/languages","stargazers_url":"https://api.github.com/repos/theforeman/foreman-infra/stargazers","contributors_url":"https://api.github.com/repos/theforeman/foreman-infra/contributors","subscribers_url":"https://api.github.com/repos/theforeman/foreman-infra/subscribers","subscription_url":"https://api.github.com/repos/theforeman/foreman-infra/subscription","commits_url":"https://api.github.com/repos/theforeman/foreman-infra/commits{/sha}","git_commits_url":"https://api.github.com/repos/theforeman/foreman-infra/git/commits{/sha}","comments_url":"https://api.github.com/repos/theforeman/foreman-infra/comments{/number}","issue_comment_url":"https://api.github.com/repos/theforeman/foreman-infra/issues/comments{/number}","contents_url":"https://api.github.com/repos/theforeman/foreman-infra/contents/{+path}","compare_url":"https://api.github.com/repos/theforeman/foreman-infra/compare/{base}...{head}","merges_url":"https://api.github.com/repos/theforeman/foreman-infra/merges","archive_url":"https://api.github.com/repos/theforeman/foreman-infra/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/theforeman/foreman-infra/downloads","issues_url":"https://api.github.com/repos/theforeman/foreman-infra/issues{/number}","pulls_url":"https://api.github.com/repos/theforeman/foreman-infra/pulls{/number}","milestones_url":"https://api.github.com/repos/theforeman/foreman-infra/milestones{/number}","notifications_url":"https://api.github.com/repos/theforeman/foreman-infra/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/theforeman/foreman-infra/labels{/name}","releases_url":"https://api.github.com/repos/theforeman/foreman-infra/releases{/id}","created_at":"2012-09-10T13:51:02Z","updated_at":"2015-05-15T00:09:35Z","pushed_at":"2015-06-01T14:44:14Z","git_url":"git://github.com/theforeman/foreman-infra.git","ssh_url":"git@github.com:theforeman/foreman-infra.git","clone_url":"https://github.com/theforeman/foreman-infra.git","svn_url":"https://github.com/theforeman/foreman-infra","homepage":"","size":2854,"stargazers_count":5,"watchers_count":5,"language":"HTML","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":21,"mirror_url":null,"open_issues_count":5,"forks":21,"open_issues":5,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/theforeman/foreman-infra/pulls/170"},"html":{"href":"https://github.com/theforeman/foreman-infra/pull/170"},"issue":{"href":"https://api.github.com/repos/theforeman/foreman-infra/issues/170"},"comments":{"href":"https://api.github.com/repos/theforeman/foreman-infra/issues/170/comments"},"review_comments":{"href":"https://api.github.com/repos/theforeman/foreman-infra/pulls/170/comments"},"review_comment":{"href":"https://api.github.com/repos/theforeman/foreman-infra/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/theforeman/foreman-infra/pulls/170/commits"},"statuses":{"href":"https://api.github.com/repos/theforeman/foreman-infra/statuses/d36b5437ff8df8e600716e079ca006d1d882da36"}}}}