{"action":"created","comment":{"url":"https://api.github.com/repos/Katello/katello/pulls/comments/30620728","id":30620728,"diff_hunk":"@@ -0,0 +1,144 @@\n+#!/bin/bash\n+\n+echo \"\"\n+echo \"WARNING: This script will erase many packages and config files.\"\n+echo \"Important packages such as the following will be removed:\"\n+echo \"\"\n+echo \"  * httpd (apache)\"\n+echo \"  * mongodb\"\n+echo \"  * tomcat\"\n+echo \"  * puppet\"\n+echo \"  * ruby\"\n+echo \"  * rubygems\"\n+echo \"  * All Katello and Foreman Packages\"\n+echo \"\"\n+echo \"Once these packages and configuration files are removed there is no going back.\"\n+echo \"If you use this system for anything other than Katello and Foreman you probably\"\n+echo \"do not want to execute this script.\"\n+echo \"\"\n+read -p \"Read the source for a list of what is removed.  Are you sure(Y/N)? \" -n 1 -r\n+echo    # (optional) move to a new line\n+if [[ ! $REPLY =~ ^[Yy]$ ]]\n+then\n+    echo \"** cancelled **\"\n+    exit 1\n+fi\n+\n+echo \"\"\n+echo \"ARE YOU SURE?: This script permanently deletes data and configuration.\"\n+read -p \"Read the source for a list of what is removed.  Type [remove] to continue? \" -r\n+echo    # (optional) move to a new line\n+if [[ ! $REPLY = remove ]]\n+then\n+    echo \"** cancelled **\"\n+    exit 1\n+fi\n+\n+CONFIG_FILES=(\n+    /etc/pulp/\n+    /usr/share/katello-installer/\n+    /var/lib/puppet/\n+    /var/lib/mongodb/\n+    /var/lib/pulp/\n+    /etc/httpd/\n+    /usr/share/pulp\n+    /etc/foreman-proxy\n+    /var/lib/foreman-proxy\n+    /etc/katello-installer\n+    /etc/foreman-proxy/\n+    /etc/puppet/environments\n+    /etc/pki/katello-certs-tools\n+)\n+\n+LOG_FILES=(\n+    /var/log/katello-installer/","path":"deploy/script/capsule-remove","position":54,"original_position":54,"commit_id":"26d570171089246eebec64d6f6b2534859fa87cc","original_commit_id":"26d570171089246eebec64d6f6b2534859fa87cc","user":{"login":"ehelms","id":293363,"avatar_url":"https://avatars.githubusercontent.com/u/293363?v=3","gravatar_id":"","url":"https://api.github.com/users/ehelms","html_url":"https://github.com/ehelms","followers_url":"https://api.github.com/users/ehelms/followers","following_url":"https://api.github.com/users/ehelms/following{/other_user}","gists_url":"https://api.github.com/users/ehelms/gists{/gist_id}","starred_url":"https://api.github.com/users/ehelms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ehelms/subscriptions","organizations_url":"https://api.github.com/users/ehelms/orgs","repos_url":"https://api.github.com/users/ehelms/repos","events_url":"https://api.github.com/users/ehelms/events{/privacy}","received_events_url":"https://api.github.com/users/ehelms/received_events","type":"User","site_admin":false},"body":"This should be `capsule-installer`","created_at":"2015-05-19T16:55:31Z","updated_at":"2015-05-19T16:55:31Z","html_url":"https://github.com/Katello/katello/pull/5235#discussion_r30620728","pull_request_url":"https://api.github.com/repos/Katello/katello/pulls/5235","_links":{"self":{"href":"https://api.github.com/repos/Katello/katello/pulls/comments/30620728"},"html":{"href":"https://github.com/Katello/katello/pull/5235#discussion_r30620728"},"pull_request":{"href":"https://api.github.com/repos/Katello/katello/pulls/5235"}}},"pull_request":{"url":"https://api.github.com/repos/Katello/katello/pulls/5235","id":35690172,"html_url":"https://github.com/Katello/katello/pull/5235","diff_url":"https://github.com/Katello/katello/pull/5235.diff","patch_url":"https://github.com/Katello/katello/pull/5235.patch","issue_url":"https://api.github.com/repos/Katello/katello/issues/5235","number":5235,"state":"open","locked":false,"title":"Fixes #10538 - Satellite 6 Capsule server: needs official support & d…","user":{"login":"chris1984","id":1518655,"avatar_url":"https://avatars.githubusercontent.com/u/1518655?v=3","gravatar_id":"","url":"https://api.github.com/users/chris1984","html_url":"https://github.com/chris1984","followers_url":"https://api.github.com/users/chris1984/followers","following_url":"https://api.github.com/users/chris1984/following{/other_user}","gists_url":"https://api.github.com/users/chris1984/gists{/gist_id}","starred_url":"https://api.github.com/users/chris1984/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chris1984/subscriptions","organizations_url":"https://api.github.com/users/chris1984/orgs","repos_url":"https://api.github.com/users/chris1984/repos","events_url":"https://api.github.com/users/chris1984/events{/privacy}","received_events_url":"https://api.github.com/users/chris1984/received_events","type":"User","site_admin":false},"body":"…ocs for un-installation (via katello-remove?)\r\n\r\nCreated a script that is similar to katello-remove but for capsules that stops the services based on RHEL 6/7 and then removes the Katello/Foreman related packages. Also added myself to Contributors.","created_at":"2015-05-19T02:02:33Z","updated_at":"2015-05-19T16:55:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"63c0c8a4720695a203f41c1f6941e85f8306fa88","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Katello/katello/pulls/5235/commits","review_comments_url":"https://api.github.com/repos/Katello/katello/pulls/5235/comments","review_comment_url":"https://api.github.com/repos/Katello/katello/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Katello/katello/issues/5235/comments","statuses_url":"https://api.github.com/repos/Katello/katello/statuses/26d570171089246eebec64d6f6b2534859fa87cc","head":{"label":"chris1984:master","ref":"master","sha":"26d570171089246eebec64d6f6b2534859fa87cc","user":{"login":"chris1984","id":1518655,"avatar_url":"https://avatars.githubusercontent.com/u/1518655?v=3","gravatar_id":"","url":"https://api.github.com/users/chris1984","html_url":"https://github.com/chris1984","followers_url":"https://api.github.com/users/chris1984/followers","following_url":"https://api.github.com/users/chris1984/following{/other_user}","gists_url":"https://api.github.com/users/chris1984/gists{/gist_id}","starred_url":"https://api.github.com/users/chris1984/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chris1984/subscriptions","organizations_url":"https://api.github.com/users/chris1984/orgs","repos_url":"https://api.github.com/users/chris1984/repos","events_url":"https://api.github.com/users/chris1984/events{/privacy}","received_events_url":"https://api.github.com/users/chris1984/received_events","type":"User","site_admin":false},"repo":{"id":35851229,"name":"katello","full_name":"chris1984/katello","owner":{"login":"chris1984","id":1518655,"avatar_url":"https://avatars.githubusercontent.com/u/1518655?v=3","gravatar_id":"","url":"https://api.github.com/users/chris1984","html_url":"https://github.com/chris1984","followers_url":"https://api.github.com/users/chris1984/followers","following_url":"https://api.github.com/users/chris1984/following{/other_user}","gists_url":"https://api.github.com/users/chris1984/gists{/gist_id}","starred_url":"https://api.github.com/users/chris1984/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chris1984/subscriptions","organizations_url":"https://api.github.com/users/chris1984/orgs","repos_url":"https://api.github.com/users/chris1984/repos","events_url":"https://api.github.com/users/chris1984/events{/privacy}","received_events_url":"https://api.github.com/users/chris1984/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/chris1984/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/chris1984/katello","forks_url":"https://api.github.com/repos/chris1984/katello/forks","keys_url":"https://api.github.com/repos/chris1984/katello/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chris1984/katello/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chris1984/katello/teams","hooks_url":"https://api.github.com/repos/chris1984/katello/hooks","issue_events_url":"https://api.github.com/repos/chris1984/katello/issues/events{/number}","events_url":"https://api.github.com/repos/chris1984/katello/events","assignees_url":"https://api.github.com/repos/chris1984/katello/assignees{/user}","branches_url":"https://api.github.com/repos/chris1984/katello/branches{/branch}","tags_url":"https://api.github.com/repos/chris1984/katello/tags","blobs_url":"https://api.github.com/repos/chris1984/katello/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chris1984/katello/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chris1984/katello/git/refs{/sha}","trees_url":"https://api.github.com/repos/chris1984/katello/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chris1984/katello/statuses/{sha}","languages_url":"https://api.github.com/repos/chris1984/katello/languages","stargazers_url":"https://api.github.com/repos/chris1984/katello/stargazers","contributors_url":"https://api.github.com/repos/chris1984/katello/contributors","subscribers_url":"https://api.github.com/repos/chris1984/katello/subscribers","subscription_url":"https://api.github.com/repos/chris1984/katello/subscription","commits_url":"https://api.github.com/repos/chris1984/katello/commits{/sha}","git_commits_url":"https://api.github.com/repos/chris1984/katello/git/commits{/sha}","comments_url":"https://api.github.com/repos/chris1984/katello/comments{/number}","issue_comment_url":"https://api.github.com/repos/chris1984/katello/issues/comments{/number}","contents_url":"https://api.github.com/repos/chris1984/katello/contents/{+path}","compare_url":"https://api.github.com/repos/chris1984/katello/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chris1984/katello/merges","archive_url":"https://api.github.com/repos/chris1984/katello/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chris1984/katello/downloads","issues_url":"https://api.github.com/repos/chris1984/katello/issues{/number}","pulls_url":"https://api.github.com/repos/chris1984/katello/pulls{/number}","milestones_url":"https://api.github.com/repos/chris1984/katello/milestones{/number}","notifications_url":"https://api.github.com/repos/chris1984/katello/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chris1984/katello/labels{/name}","releases_url":"https://api.github.com/repos/chris1984/katello/releases{/id}","created_at":"2015-05-19T01:10:17Z","updated_at":"2015-05-19T01:10:23Z","pushed_at":"2015-05-19T15:43:33Z","git_url":"git://github.com/chris1984/katello.git","ssh_url":"git@github.com:chris1984/katello.git","clone_url":"https://github.com/chris1984/katello.git","svn_url":"https://github.com/chris1984/katello","homepage":"katello.org","size":71504,"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":"bf318df9d95e62784de839308675d448a5812799","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}","created_at":"2012-04-12T16:59:08Z","updated_at":"2015-05-19T09:16:30Z","pushed_at":"2015-05-19T15:59:21Z","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":235864,"stargazers_count":157,"watchers_count":157,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":108,"mirror_url":null,"open_issues_count":95,"forks":108,"open_issues":95,"watchers":157,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Katello/katello/pulls/5235"},"html":{"href":"https://github.com/Katello/katello/pull/5235"},"issue":{"href":"https://api.github.com/repos/Katello/katello/issues/5235"},"comments":{"href":"https://api.github.com/repos/Katello/katello/issues/5235/comments"},"review_comments":{"href":"https://api.github.com/repos/Katello/katello/pulls/5235/comments"},"review_comment":{"href":"https://api.github.com/repos/Katello/katello/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Katello/katello/pulls/5235/commits"},"statuses":{"href":"https://api.github.com/repos/Katello/katello/statuses/26d570171089246eebec64d6f6b2534859fa87cc"}}}}