{"action":"created","issue":{"url":"https://api.github.com/repos/Katello/katello-installer/issues/290","repository_url":"https://api.github.com/repos/Katello/katello-installer","labels_url":"https://api.github.com/repos/Katello/katello-installer/issues/290/labels{/name}","comments_url":"https://api.github.com/repos/Katello/katello-installer/issues/290/comments","events_url":"https://api.github.com/repos/Katello/katello-installer/issues/290/events","html_url":"https://github.com/Katello/katello-installer/pull/290","id":128870014,"number":290,"title":"Fixes #12550, #10533 - Convert capsule installer to scenarios","user":{"login":"mbacovsky","id":1648174,"avatar_url":"https://avatars.githubusercontent.com/u/1648174?v=3","gravatar_id":"","url":"https://api.github.com/users/mbacovsky","html_url":"https://github.com/mbacovsky","followers_url":"https://api.github.com/users/mbacovsky/followers","following_url":"https://api.github.com/users/mbacovsky/following{/other_user}","gists_url":"https://api.github.com/users/mbacovsky/gists{/gist_id}","starred_url":"https://api.github.com/users/mbacovsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbacovsky/subscriptions","organizations_url":"https://api.github.com/users/mbacovsky/orgs","repos_url":"https://api.github.com/users/mbacovsky/repos","events_url":"https://api.github.com/users/mbacovsky/events{/privacy}","received_events_url":"https://api.github.com/users/mbacovsky/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Katello/katello-installer/labels/Needs%20testing","name":"Needs testing","color":"fbca04"},{"url":"https://api.github.com/repos/Katello/katello-installer/labels/Not%20yet%20reviewed","name":"Not yet reviewed","color":"009800"},{"url":"https://api.github.com/repos/Katello/katello-installer/labels/Waiting%20on%20Contributor","name":"Waiting on Contributor","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":29,"created_at":"2016-01-26T16:24:41Z","updated_at":"2016-02-22T23:39:33Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Katello/katello-installer/pulls/290","html_url":"https://github.com/Katello/katello-installer/pull/290","diff_url":"https://github.com/Katello/katello-installer/pull/290.diff","patch_url":"https://github.com/Katello/katello-installer/pull/290.patch"},"body":"This PR should replace https://github.com/Katello/katello-installer/pull/283.\r\nIncluded are migrations from old configuration which are prevented with the PR above.\r\n\r\nThis PR also removes the foreman related modules as they are loaded from foreman-installer."},"comment":{"url":"https://api.github.com/repos/Katello/katello-installer/issues/comments/187439986","html_url":"https://github.com/Katello/katello-installer/pull/290#issuecomment-187439986","issue_url":"https://api.github.com/repos/Katello/katello-installer/issues/290","id":187439986,"user":{"login":"mbacovsky","id":1648174,"avatar_url":"https://avatars.githubusercontent.com/u/1648174?v=3","gravatar_id":"","url":"https://api.github.com/users/mbacovsky","html_url":"https://github.com/mbacovsky","followers_url":"https://api.github.com/users/mbacovsky/followers","following_url":"https://api.github.com/users/mbacovsky/following{/other_user}","gists_url":"https://api.github.com/users/mbacovsky/gists{/gist_id}","starred_url":"https://api.github.com/users/mbacovsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbacovsky/subscriptions","organizations_url":"https://api.github.com/users/mbacovsky/orgs","repos_url":"https://api.github.com/users/mbacovsky/repos","events_url":"https://api.github.com/users/mbacovsky/events{/privacy}","received_events_url":"https://api.github.com/users/mbacovsky/received_events","type":"User","site_admin":false},"created_at":"2016-02-22T23:39:33Z","updated_at":"2016-02-22T23:39:33Z","body":"Now the updated version looks like:\r\n```\r\n  To finish the installation, follow these steps:\r\n\r\n  1. Ensure that the katello-installer-capsule package is installed on the system.\r\n  2. Copy ~/katello-scenario-capsule.example.com-certs.tar to the system katello-scenario-capsule.example.com\r\n  3. Run the following commands on the capsule (possibly with the customized\r\n     parameters, see foreman-installer --scenario capsule --help and\r\n     documentation for more info on setting up additional services):\r\n\r\n  yum -y localinstall http://katello-scenario-katello.example.com/pub/katello-ca-consumer-latest.noarch.rpm\r\n  subscription-manager register --org \"Default_Organization\"\r\n  foreman-installer --scenario capsule\\\r\n                    --parent-fqdn                         \"katello-scenario-katello.example.com\"\\\r\n                    --register-in-foreman                 \"true\"\\\r\n                    --foreman-base-url                    \"https://katello-scenario-katello.example.com\"\\\r\n                    --trusted-hosts                       \"katello-scenario-katello.example.com\"\\\r\n                    --trusted-hosts                       \"katello-scenario-capsule.example.com\"\\\r\n                    --oauth-consumer-key                  \"UVrAZfMaCfBiiWejoUVLYCZHT2xhzuFV\"\\\r\n                    --oauth-consumer-secret               \"ZhH8p7M577ttNU3WmUGWASag3JeXKgUX\"\\\r\n                    --pulp-oauth-secret                   \"TPk42MYZ42nAE3rZvyLBh7Lxob3nEUi8\"\\\r\n                    --certs-tar                           \"~/katello-scenario-capsule.example.com-certs.tar\"\r\n  The full log is at /var/log/capsule-certs-generate.log\r\n```"}}