{"action":"created","comment":{"url":"https://api.github.com/repos/theforeman/theforeman.org/pulls/comments/77634842","id":77634842,"diff_hunk":"@@ -0,0 +1,8 @@\n+\n+The last file required to make a Foreman cluster work is __$app_root/tmp/secret_token.rb__. This file should contain a secret token that is modeled after __$app_root/config/initializers/local\\_secret\\_token.rb__. __$app_root/tmp/secret_token.rb__ is used by __$app_root/config/initializers/secret_token.rb__ to sign cookies. Once you have created the new secret_token.rb, restart Foreman and clear Foreman's cache:","path":"_includes/manuals/1.12/5.8.3_secret_token.md","position":null,"original_position":2,"commit_id":"c34beaa5a4b1c61d61cebea26c5ab94b2594f945","original_commit_id":"3d34405e09e95e433810278f32f5e08390871ba2","user":{"login":"chbaldwi","id":21368951,"avatar_url":"https://avatars.githubusercontent.com/u/21368951?v=3","gravatar_id":"","url":"https://api.github.com/users/chbaldwi","html_url":"https://github.com/chbaldwi","followers_url":"https://api.github.com/users/chbaldwi/followers","following_url":"https://api.github.com/users/chbaldwi/following{/other_user}","gists_url":"https://api.github.com/users/chbaldwi/gists{/gist_id}","starred_url":"https://api.github.com/users/chbaldwi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chbaldwi/subscriptions","organizations_url":"https://api.github.com/users/chbaldwi/orgs","repos_url":"https://api.github.com/users/chbaldwi/repos","events_url":"https://api.github.com/users/chbaldwi/events{/privacy}","received_events_url":"https://api.github.com/users/chbaldwi/received_events","type":"User","site_admin":false},"body":"I think that point #3 disproves 5.8.3 - if it's not reading `tmp/secret_token.rb` because of the extension, then it's reading the local_secret_token that I had set the same across the board. Let me re-do my testing since I can replicate this behavior in my dev environment now, it could be that I made two changes at once and attributed success to the second change.","created_at":"2016-09-06T13:35:43Z","updated_at":"2016-09-06T13:35:43Z","html_url":"https://github.com/theforeman/theforeman.org/pull/690#discussion_r77634842","pull_request_url":"https://api.github.com/repos/theforeman/theforeman.org/pulls/690","_links":{"self":{"href":"https://api.github.com/repos/theforeman/theforeman.org/pulls/comments/77634842"},"html":{"href":"https://github.com/theforeman/theforeman.org/pull/690#discussion_r77634842"},"pull_request":{"href":"https://api.github.com/repos/theforeman/theforeman.org/pulls/690"}}},"pull_request":{"url":"https://api.github.com/repos/theforeman/theforeman.org/pulls/690","id":83708548,"html_url":"https://github.com/theforeman/theforeman.org/pull/690","diff_url":"https://github.com/theforeman/theforeman.org/pull/690.diff","patch_url":"https://github.com/theforeman/theforeman.org/pull/690.patch","issue_url":"https://api.github.com/repos/theforeman/theforeman.org/issues/690","number":690,"state":"open","locked":false,"title":"Clustering Foreman steps","user":{"login":"chbaldwi","id":21368951,"avatar_url":"https://avatars.githubusercontent.com/u/21368951?v=3","gravatar_id":"","url":"https://api.github.com/users/chbaldwi","html_url":"https://github.com/chbaldwi","followers_url":"https://api.github.com/users/chbaldwi/followers","following_url":"https://api.github.com/users/chbaldwi/following{/other_user}","gists_url":"https://api.github.com/users/chbaldwi/gists{/gist_id}","starred_url":"https://api.github.com/users/chbaldwi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chbaldwi/subscriptions","organizations_url":"https://api.github.com/users/chbaldwi/orgs","repos_url":"https://api.github.com/users/chbaldwi/repos","events_url":"https://api.github.com/users/chbaldwi/events{/privacy}","received_events_url":"https://api.github.com/users/chbaldwi/received_events","type":"User","site_admin":false},"body":"I realize not everyone will want to cluster foreman, but those of us that want to, can get a significant head start by spelling out a few small steps. I've added those under \"Advanced Foreman\". This covers some of what Chris Pisano's blog touches on as well as my recent experiences in getting multiple foreman servers to work together. I'm not sure how much hand-holding is necessary for these steps, I can flesh it out more if needed.","created_at":"2016-09-01T21:16:37Z","updated_at":"2016-09-06T13:35:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a3aec549064a504992032ec13fb3b8a97f9a36b6","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/theforeman/theforeman.org/pulls/690/commits","review_comments_url":"https://api.github.com/repos/theforeman/theforeman.org/pulls/690/comments","review_comment_url":"https://api.github.com/repos/theforeman/theforeman.org/pulls/comments{/number}","comments_url":"https://api.github.com/repos/theforeman/theforeman.org/issues/690/comments","statuses_url":"https://api.github.com/repos/theforeman/theforeman.org/statuses/c34beaa5a4b1c61d61cebea26c5ab94b2594f945","head":{"label":"chbaldwi:gh-pages","ref":"gh-pages","sha":"c34beaa5a4b1c61d61cebea26c5ab94b2594f945","user":{"login":"chbaldwi","id":21368951,"avatar_url":"https://avatars.githubusercontent.com/u/21368951?v=3","gravatar_id":"","url":"https://api.github.com/users/chbaldwi","html_url":"https://github.com/chbaldwi","followers_url":"https://api.github.com/users/chbaldwi/followers","following_url":"https://api.github.com/users/chbaldwi/following{/other_user}","gists_url":"https://api.github.com/users/chbaldwi/gists{/gist_id}","starred_url":"https://api.github.com/users/chbaldwi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chbaldwi/subscriptions","organizations_url":"https://api.github.com/users/chbaldwi/orgs","repos_url":"https://api.github.com/users/chbaldwi/repos","events_url":"https://api.github.com/users/chbaldwi/events{/privacy}","received_events_url":"https://api.github.com/users/chbaldwi/received_events","type":"User","site_admin":false},"repo":{"id":67063199,"name":"theforeman.org","full_name":"chbaldwi/theforeman.org","owner":{"login":"chbaldwi","id":21368951,"avatar_url":"https://avatars.githubusercontent.com/u/21368951?v=3","gravatar_id":"","url":"https://api.github.com/users/chbaldwi","html_url":"https://github.com/chbaldwi","followers_url":"https://api.github.com/users/chbaldwi/followers","following_url":"https://api.github.com/users/chbaldwi/following{/other_user}","gists_url":"https://api.github.com/users/chbaldwi/gists{/gist_id}","starred_url":"https://api.github.com/users/chbaldwi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chbaldwi/subscriptions","organizations_url":"https://api.github.com/users/chbaldwi/orgs","repos_url":"https://api.github.com/users/chbaldwi/repos","events_url":"https://api.github.com/users/chbaldwi/events{/privacy}","received_events_url":"https://api.github.com/users/chbaldwi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/chbaldwi/theforeman.org","description":"The new and improved Foreman website.","fork":true,"url":"https://api.github.com/repos/chbaldwi/theforeman.org","forks_url":"https://api.github.com/repos/chbaldwi/theforeman.org/forks","keys_url":"https://api.github.com/repos/chbaldwi/theforeman.org/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chbaldwi/theforeman.org/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chbaldwi/theforeman.org/teams","hooks_url":"https://api.github.com/repos/chbaldwi/theforeman.org/hooks","issue_events_url":"https://api.github.com/repos/chbaldwi/theforeman.org/issues/events{/number}","events_url":"https://api.github.com/repos/chbaldwi/theforeman.org/events","assignees_url":"https://api.github.com/repos/chbaldwi/theforeman.org/assignees{/user}","branches_url":"https://api.github.com/repos/chbaldwi/theforeman.org/branches{/branch}","tags_url":"https://api.github.com/repos/chbaldwi/theforeman.org/tags","blobs_url":"https://api.github.com/repos/chbaldwi/theforeman.org/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chbaldwi/theforeman.org/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chbaldwi/theforeman.org/git/refs{/sha}","trees_url":"https://api.github.com/repos/chbaldwi/theforeman.org/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chbaldwi/theforeman.org/statuses/{sha}","languages_url":"https://api.github.com/repos/chbaldwi/theforeman.org/languages","stargazers_url":"https://api.github.com/repos/chbaldwi/theforeman.org/stargazers","contributors_url":"https://api.github.com/repos/chbaldwi/theforeman.org/contributors","subscribers_url":"https://api.github.com/repos/chbaldwi/theforeman.org/subscribers","subscription_url":"https://api.github.com/repos/chbaldwi/theforeman.org/subscription","commits_url":"https://api.github.com/repos/chbaldwi/theforeman.org/commits{/sha}","git_commits_url":"https://api.github.com/repos/chbaldwi/theforeman.org/git/commits{/sha}","comments_url":"https://api.github.com/repos/chbaldwi/theforeman.org/comments{/number}","issue_comment_url":"https://api.github.com/repos/chbaldwi/theforeman.org/issues/comments{/number}","contents_url":"https://api.github.com/repos/chbaldwi/theforeman.org/contents/{+path}","compare_url":"https://api.github.com/repos/chbaldwi/theforeman.org/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chbaldwi/theforeman.org/merges","archive_url":"https://api.github.com/repos/chbaldwi/theforeman.org/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chbaldwi/theforeman.org/downloads","issues_url":"https://api.github.com/repos/chbaldwi/theforeman.org/issues{/number}","pulls_url":"https://api.github.com/repos/chbaldwi/theforeman.org/pulls{/number}","milestones_url":"https://api.github.com/repos/chbaldwi/theforeman.org/milestones{/number}","notifications_url":"https://api.github.com/repos/chbaldwi/theforeman.org/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chbaldwi/theforeman.org/labels{/name}","releases_url":"https://api.github.com/repos/chbaldwi/theforeman.org/releases{/id}","deployments_url":"https://api.github.com/repos/chbaldwi/theforeman.org/deployments","created_at":"2016-08-31T18:28:53Z","updated_at":"2016-08-31T18:30:10Z","pushed_at":"2016-09-02T13:53:49Z","git_url":"git://github.com/chbaldwi/theforeman.org.git","ssh_url":"git@github.com:chbaldwi/theforeman.org.git","clone_url":"https://github.com/chbaldwi/theforeman.org.git","svn_url":"https://github.com/chbaldwi/theforeman.org","homepage":"https://theforeman.org/","size":50717,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"gh-pages"}},"base":{"label":"theforeman:gh-pages","ref":"gh-pages","sha":"4600cb8f3b3040c82a8c274c97b78f82e1d01f23","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":5928690,"name":"theforeman.org","full_name":"theforeman/theforeman.org","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/theforeman.org","description":"The new and improved Foreman website.","fork":false,"url":"https://api.github.com/repos/theforeman/theforeman.org","forks_url":"https://api.github.com/repos/theforeman/theforeman.org/forks","keys_url":"https://api.github.com/repos/theforeman/theforeman.org/keys{/key_id}","collaborators_url":"https://api.github.com/repos/theforeman/theforeman.org/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/theforeman/theforeman.org/teams","hooks_url":"https://api.github.com/repos/theforeman/theforeman.org/hooks","issue_events_url":"https://api.github.com/repos/theforeman/theforeman.org/issues/events{/number}","events_url":"https://api.github.com/repos/theforeman/theforeman.org/events","assignees_url":"https://api.github.com/repos/theforeman/theforeman.org/assignees{/user}","branches_url":"https://api.github.com/repos/theforeman/theforeman.org/branches{/branch}","tags_url":"https://api.github.com/repos/theforeman/theforeman.org/tags","blobs_url":"https://api.github.com/repos/theforeman/theforeman.org/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/theforeman/theforeman.org/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/theforeman/theforeman.org/git/refs{/sha}","trees_url":"https://api.github.com/repos/theforeman/theforeman.org/git/trees{/sha}","statuses_url":"https://api.github.com/repos/theforeman/theforeman.org/statuses/{sha}","languages_url":"https://api.github.com/repos/theforeman/theforeman.org/languages","stargazers_url":"https://api.github.com/repos/theforeman/theforeman.org/stargazers","contributors_url":"https://api.github.com/repos/theforeman/theforeman.org/contributors","subscribers_url":"https://api.github.com/repos/theforeman/theforeman.org/subscribers","subscription_url":"https://api.github.com/repos/theforeman/theforeman.org/subscription","commits_url":"https://api.github.com/repos/theforeman/theforeman.org/commits{/sha}","git_commits_url":"https://api.github.com/repos/theforeman/theforeman.org/git/commits{/sha}","comments_url":"https://api.github.com/repos/theforeman/theforeman.org/comments{/number}","issue_comment_url":"https://api.github.com/repos/theforeman/theforeman.org/issues/comments{/number}","contents_url":"https://api.github.com/repos/theforeman/theforeman.org/contents/{+path}","compare_url":"https://api.github.com/repos/theforeman/theforeman.org/compare/{base}...{head}","merges_url":"https://api.github.com/repos/theforeman/theforeman.org/merges","archive_url":"https://api.github.com/repos/theforeman/theforeman.org/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/theforeman/theforeman.org/downloads","issues_url":"https://api.github.com/repos/theforeman/theforeman.org/issues{/number}","pulls_url":"https://api.github.com/repos/theforeman/theforeman.org/pulls{/number}","milestones_url":"https://api.github.com/repos/theforeman/theforeman.org/milestones{/number}","notifications_url":"https://api.github.com/repos/theforeman/theforeman.org/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/theforeman/theforeman.org/labels{/name}","releases_url":"https://api.github.com/repos/theforeman/theforeman.org/releases{/id}","deployments_url":"https://api.github.com/repos/theforeman/theforeman.org/deployments","created_at":"2012-09-24T02:36:57Z","updated_at":"2016-09-06T07:22:12Z","pushed_at":"2016-09-06T07:32:31Z","git_url":"git://github.com/theforeman/theforeman.org.git","ssh_url":"git@github.com:theforeman/theforeman.org.git","clone_url":"https://github.com/theforeman/theforeman.org.git","svn_url":"https://github.com/theforeman/theforeman.org","homepage":"https://theforeman.org/","size":52730,"stargazers_count":51,"watchers_count":51,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":141,"mirror_url":null,"open_issues_count":24,"forks":141,"open_issues":24,"watchers":51,"default_branch":"gh-pages"}},"_links":{"self":{"href":"https://api.github.com/repos/theforeman/theforeman.org/pulls/690"},"html":{"href":"https://github.com/theforeman/theforeman.org/pull/690"},"issue":{"href":"https://api.github.com/repos/theforeman/theforeman.org/issues/690"},"comments":{"href":"https://api.github.com/repos/theforeman/theforeman.org/issues/690/comments"},"review_comments":{"href":"https://api.github.com/repos/theforeman/theforeman.org/pulls/690/comments"},"review_comment":{"href":"https://api.github.com/repos/theforeman/theforeman.org/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/theforeman/theforeman.org/pulls/690/commits"},"statuses":{"href":"https://api.github.com/repos/theforeman/theforeman.org/statuses/c34beaa5a4b1c61d61cebea26c5ab94b2594f945"}}}}
{"actor":{"display_login":"chbaldwi"}}