{"action":"created","comment":{"url":"https://api.github.com/repos/Katello/katello/pulls/comments/58777349","id":58777349,"diff_hunk":"@@ -33,6 +33,7 @@ class Engine < ::Rails::Engine\n         ),\n         :config => {\n           'consumerCertRPM' => consumer_cert_rpm,\n+          'enable_download_policies' => !Foreman.in_rake? && Setting[:enable_download_policies],","path":"engines/bastion_katello/lib/bastion_katello/engine.rb","position":4,"original_position":4,"commit_id":"6a9a41b3ed299cfd0b22323c4d93af99b588fee1","original_commit_id":"bc1715ddf465aeb7a6b9659f97803e31b229e7ca","user":{"login":"stbenjam","id":429763,"avatar_url":"https://avatars.githubusercontent.com/u/429763?v=3","gravatar_id":"","url":"https://api.github.com/users/stbenjam","html_url":"https://github.com/stbenjam","followers_url":"https://api.github.com/users/stbenjam/followers","following_url":"https://api.github.com/users/stbenjam/following{/other_user}","gists_url":"https://api.github.com/users/stbenjam/gists{/gist_id}","starred_url":"https://api.github.com/users/stbenjam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stbenjam/subscriptions","organizations_url":"https://api.github.com/users/stbenjam/orgs","repos_url":"https://api.github.com/users/stbenjam/repos","events_url":"https://api.github.com/users/stbenjam/events{/privacy}","received_events_url":"https://api.github.com/users/stbenjam/received_events","type":"User","site_admin":false},"body":"That seems to have worked :green_heart: :tada:\r\n","created_at":"2016-04-06T20:37:36Z","updated_at":"2016-04-06T20:37:36Z","html_url":"https://github.com/Katello/katello/pull/5939#discussion_r58777349","pull_request_url":"https://api.github.com/repos/Katello/katello/pulls/5939","_links":{"self":{"href":"https://api.github.com/repos/Katello/katello/pulls/comments/58777349"},"html":{"href":"https://github.com/Katello/katello/pull/5939#discussion_r58777349"},"pull_request":{"href":"https://api.github.com/repos/Katello/katello/pulls/5939"}}},"pull_request":{"url":"https://api.github.com/repos/Katello/katello/pulls/5939","id":65360936,"html_url":"https://github.com/Katello/katello/pull/5939","diff_url":"https://github.com/Katello/katello/pull/5939.diff","patch_url":"https://github.com/Katello/katello/pull/5939.patch","issue_url":"https://api.github.com/repos/Katello/katello/issues/5939","number":5939,"state":"open","locked":false,"title":"Fixes #14491 - add setting to enable/disable lazy sync","user":{"login":"johnpmitsch","id":5964462,"avatar_url":"https://avatars.githubusercontent.com/u/5964462?v=3","gravatar_id":"","url":"https://api.github.com/users/johnpmitsch","html_url":"https://github.com/johnpmitsch","followers_url":"https://api.github.com/users/johnpmitsch/followers","following_url":"https://api.github.com/users/johnpmitsch/following{/other_user}","gists_url":"https://api.github.com/users/johnpmitsch/gists{/gist_id}","starred_url":"https://api.github.com/users/johnpmitsch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnpmitsch/subscriptions","organizations_url":"https://api.github.com/users/johnpmitsch/orgs","repos_url":"https://api.github.com/users/johnpmitsch/repos","events_url":"https://api.github.com/users/johnpmitsch/events{/privacy}","received_events_url":"https://api.github.com/users/johnpmitsch/received_events","type":"User","site_admin":false},"body":"This will allow users to turn off lazy sync, which will remove those options from the UI","created_at":"2016-04-05T19:32:14Z","updated_at":"2016-04-06T20:37:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f2eed3b898d973f3de058d37d934d6990778a7ce","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Katello/katello/pulls/5939/commits","review_comments_url":"https://api.github.com/repos/Katello/katello/pulls/5939/comments","review_comment_url":"https://api.github.com/repos/Katello/katello/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Katello/katello/issues/5939/comments","statuses_url":"https://api.github.com/repos/Katello/katello/statuses/6a9a41b3ed299cfd0b22323c4d93af99b588fee1","head":{"label":"johnpmitsch:lazy_sync_ui_disable","ref":"lazy_sync_ui_disable","sha":"6a9a41b3ed299cfd0b22323c4d93af99b588fee1","user":{"login":"johnpmitsch","id":5964462,"avatar_url":"https://avatars.githubusercontent.com/u/5964462?v=3","gravatar_id":"","url":"https://api.github.com/users/johnpmitsch","html_url":"https://github.com/johnpmitsch","followers_url":"https://api.github.com/users/johnpmitsch/followers","following_url":"https://api.github.com/users/johnpmitsch/following{/other_user}","gists_url":"https://api.github.com/users/johnpmitsch/gists{/gist_id}","starred_url":"https://api.github.com/users/johnpmitsch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnpmitsch/subscriptions","organizations_url":"https://api.github.com/users/johnpmitsch/orgs","repos_url":"https://api.github.com/users/johnpmitsch/repos","events_url":"https://api.github.com/users/johnpmitsch/events{/privacy}","received_events_url":"https://api.github.com/users/johnpmitsch/received_events","type":"User","site_admin":false},"repo":{"id":35971034,"name":"katello","full_name":"johnpmitsch/katello","owner":{"login":"johnpmitsch","id":5964462,"avatar_url":"https://avatars.githubusercontent.com/u/5964462?v=3","gravatar_id":"","url":"https://api.github.com/users/johnpmitsch","html_url":"https://github.com/johnpmitsch","followers_url":"https://api.github.com/users/johnpmitsch/followers","following_url":"https://api.github.com/users/johnpmitsch/following{/other_user}","gists_url":"https://api.github.com/users/johnpmitsch/gists{/gist_id}","starred_url":"https://api.github.com/users/johnpmitsch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnpmitsch/subscriptions","organizations_url":"https://api.github.com/users/johnpmitsch/orgs","repos_url":"https://api.github.com/users/johnpmitsch/repos","events_url":"https://api.github.com/users/johnpmitsch/events{/privacy}","received_events_url":"https://api.github.com/users/johnpmitsch/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/johnpmitsch/katello","description":"Katello integrates open source systems management tools into a single solution for controlling the lifecycle of your machines.","fork":true,"url":"https://api.github.com/repos/johnpmitsch/katello","forks_url":"https://api.github.com/repos/johnpmitsch/katello/forks","keys_url":"https://api.github.com/repos/johnpmitsch/katello/keys{/key_id}","collaborators_url":"https://api.github.com/repos/johnpmitsch/katello/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/johnpmitsch/katello/teams","hooks_url":"https://api.github.com/repos/johnpmitsch/katello/hooks","issue_events_url":"https://api.github.com/repos/johnpmitsch/katello/issues/events{/number}","events_url":"https://api.github.com/repos/johnpmitsch/katello/events","assignees_url":"https://api.github.com/repos/johnpmitsch/katello/assignees{/user}","branches_url":"https://api.github.com/repos/johnpmitsch/katello/branches{/branch}","tags_url":"https://api.github.com/repos/johnpmitsch/katello/tags","blobs_url":"https://api.github.com/repos/johnpmitsch/katello/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/johnpmitsch/katello/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/johnpmitsch/katello/git/refs{/sha}","trees_url":"https://api.github.com/repos/johnpmitsch/katello/git/trees{/sha}","statuses_url":"https://api.github.com/repos/johnpmitsch/katello/statuses/{sha}","languages_url":"https://api.github.com/repos/johnpmitsch/katello/languages","stargazers_url":"https://api.github.com/repos/johnpmitsch/katello/stargazers","contributors_url":"https://api.github.com/repos/johnpmitsch/katello/contributors","subscribers_url":"https://api.github.com/repos/johnpmitsch/katello/subscribers","subscription_url":"https://api.github.com/repos/johnpmitsch/katello/subscription","commits_url":"https://api.github.com/repos/johnpmitsch/katello/commits{/sha}","git_commits_url":"https://api.github.com/repos/johnpmitsch/katello/git/commits{/sha}","comments_url":"https://api.github.com/repos/johnpmitsch/katello/comments{/number}","issue_comment_url":"https://api.github.com/repos/johnpmitsch/katello/issues/comments{/number}","contents_url":"https://api.github.com/repos/johnpmitsch/katello/contents/{+path}","compare_url":"https://api.github.com/repos/johnpmitsch/katello/compare/{base}...{head}","merges_url":"https://api.github.com/repos/johnpmitsch/katello/merges","archive_url":"https://api.github.com/repos/johnpmitsch/katello/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/johnpmitsch/katello/downloads","issues_url":"https://api.github.com/repos/johnpmitsch/katello/issues{/number}","pulls_url":"https://api.github.com/repos/johnpmitsch/katello/pulls{/number}","milestones_url":"https://api.github.com/repos/johnpmitsch/katello/milestones{/number}","notifications_url":"https://api.github.com/repos/johnpmitsch/katello/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/johnpmitsch/katello/labels{/name}","releases_url":"https://api.github.com/repos/johnpmitsch/katello/releases{/id}","deployments_url":"https://api.github.com/repos/johnpmitsch/katello/deployments","created_at":"2015-05-20T19:57:53Z","updated_at":"2015-05-20T19:58:01Z","pushed_at":"2016-04-06T19:49:34Z","git_url":"git://github.com/johnpmitsch/katello.git","ssh_url":"git@github.com:johnpmitsch/katello.git","clone_url":"https://github.com/johnpmitsch/katello.git","svn_url":"https://github.com/johnpmitsch/katello","homepage":"katello.org","size":83945,"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":"Katello:master","ref":"master","sha":"8b9306ecd9dcef41a0dc196cea8101ffab4cb102","user":{"login":"Katello","id":1316386,"avatar_url":"https://avatars.githubusercontent.com/u/1316386?v=3","gravatar_id":"","url":"https://api.github.com/users/Katello","html_url":"https://github.com/Katello","followers_url":"https://api.github.com/users/Katello/followers","following_url":"https://api.github.com/users/Katello/following{/other_user}","gists_url":"https://api.github.com/users/Katello/gists{/gist_id}","starred_url":"https://api.github.com/users/Katello/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Katello/subscriptions","organizations_url":"https://api.github.com/users/Katello/orgs","repos_url":"https://api.github.com/users/Katello/repos","events_url":"https://api.github.com/users/Katello/events{/privacy}","received_events_url":"https://api.github.com/users/Katello/received_events","type":"Organization","site_admin":false},"repo":{"id":4007018,"name":"katello","full_name":"Katello/katello","owner":{"login":"Katello","id":1316386,"avatar_url":"https://avatars.githubusercontent.com/u/1316386?v=3","gravatar_id":"","url":"https://api.github.com/users/Katello","html_url":"https://github.com/Katello","followers_url":"https://api.github.com/users/Katello/followers","following_url":"https://api.github.com/users/Katello/following{/other_user}","gists_url":"https://api.github.com/users/Katello/gists{/gist_id}","starred_url":"https://api.github.com/users/Katello/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Katello/subscriptions","organizations_url":"https://api.github.com/users/Katello/orgs","repos_url":"https://api.github.com/users/Katello/repos","events_url":"https://api.github.com/users/Katello/events{/privacy}","received_events_url":"https://api.github.com/users/Katello/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Katello/katello","description":"Katello integrates open source systems management tools into a single solution for controlling the lifecycle of your machines.","fork":false,"url":"https://api.github.com/repos/Katello/katello","forks_url":"https://api.github.com/repos/Katello/katello/forks","keys_url":"https://api.github.com/repos/Katello/katello/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Katello/katello/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Katello/katello/teams","hooks_url":"https://api.github.com/repos/Katello/katello/hooks","issue_events_url":"https://api.github.com/repos/Katello/katello/issues/events{/number}","events_url":"https://api.github.com/repos/Katello/katello/events","assignees_url":"https://api.github.com/repos/Katello/katello/assignees{/user}","branches_url":"https://api.github.com/repos/Katello/katello/branches{/branch}","tags_url":"https://api.github.com/repos/Katello/katello/tags","blobs_url":"https://api.github.com/repos/Katello/katello/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Katello/katello/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Katello/katello/git/refs{/sha}","trees_url":"https://api.github.com/repos/Katello/katello/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Katello/katello/statuses/{sha}","languages_url":"https://api.github.com/repos/Katello/katello/languages","stargazers_url":"https://api.github.com/repos/Katello/katello/stargazers","contributors_url":"https://api.github.com/repos/Katello/katello/contributors","subscribers_url":"https://api.github.com/repos/Katello/katello/subscribers","subscription_url":"https://api.github.com/repos/Katello/katello/subscription","commits_url":"https://api.github.com/repos/Katello/katello/commits{/sha}","git_commits_url":"https://api.github.com/repos/Katello/katello/git/commits{/sha}","comments_url":"https://api.github.com/repos/Katello/katello/comments{/number}","issue_comment_url":"https://api.github.com/repos/Katello/katello/issues/comments{/number}","contents_url":"https://api.github.com/repos/Katello/katello/contents/{+path}","compare_url":"https://api.github.com/repos/Katello/katello/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Katello/katello/merges","archive_url":"https://api.github.com/repos/Katello/katello/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Katello/katello/downloads","issues_url":"https://api.github.com/repos/Katello/katello/issues{/number}","pulls_url":"https://api.github.com/repos/Katello/katello/pulls{/number}","milestones_url":"https://api.github.com/repos/Katello/katello/milestones{/number}","notifications_url":"https://api.github.com/repos/Katello/katello/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Katello/katello/labels{/name}","releases_url":"https://api.github.com/repos/Katello/katello/releases{/id}","deployments_url":"https://api.github.com/repos/Katello/katello/deployments","created_at":"2012-04-12T16:59:08Z","updated_at":"2016-04-06T09:17:44Z","pushed_at":"2016-04-06T19:49:35Z","git_url":"git://github.com/Katello/katello.git","ssh_url":"git@github.com:Katello/katello.git","clone_url":"https://github.com/Katello/katello.git","svn_url":"https://github.com/Katello/katello","homepage":"katello.org","size":96845,"stargazers_count":179,"watchers_count":179,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":124,"mirror_url":null,"open_issues_count":92,"forks":124,"open_issues":92,"watchers":179,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Katello/katello/pulls/5939"},"html":{"href":"https://github.com/Katello/katello/pull/5939"},"issue":{"href":"https://api.github.com/repos/Katello/katello/issues/5939"},"comments":{"href":"https://api.github.com/repos/Katello/katello/issues/5939/comments"},"review_comments":{"href":"https://api.github.com/repos/Katello/katello/pulls/5939/comments"},"review_comment":{"href":"https://api.github.com/repos/Katello/katello/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Katello/katello/pulls/5939/commits"},"statuses":{"href":"https://api.github.com/repos/Katello/katello/statuses/6a9a41b3ed299cfd0b22323c4d93af99b588fee1"}}}}