{"action":"created","issue":{"url":"https://api.github.com/repos/iojs/build/issues/54","labels_url":"https://api.github.com/repos/iojs/build/issues/54/labels{/name}","comments_url":"https://api.github.com/repos/iojs/build/issues/54/comments","events_url":"https://api.github.com/repos/iojs/build/issues/54/events","html_url":"https://github.com/iojs/build/pull/54","id":58312312,"number":54,"title":"[WIP] Cleaning up the www setup to match production","user":{"login":"kenperkins","id":730664,"avatar_url":"https://avatars.githubusercontent.com/u/730664?v=3","gravatar_id":"","url":"https://api.github.com/users/kenperkins","html_url":"https://github.com/kenperkins","followers_url":"https://api.github.com/users/kenperkins/followers","following_url":"https://api.github.com/users/kenperkins/following{/other_user}","gists_url":"https://api.github.com/users/kenperkins/gists{/gist_id}","starred_url":"https://api.github.com/users/kenperkins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kenperkins/subscriptions","organizations_url":"https://api.github.com/users/kenperkins/orgs","repos_url":"https://api.github.com/users/kenperkins/repos","events_url":"https://api.github.com/users/kenperkins/events{/privacy}","received_events_url":"https://api.github.com/users/kenperkins/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-20T05:36:14Z","updated_at":"2015-02-20T23:40:31Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/iojs/build/pulls/54","html_url":"https://github.com/iojs/build/pull/54","diff_url":"https://github.com/iojs/build/pull/54.diff","patch_url":"https://github.com/iojs/build/pull/54.patch"},"body":"This is a work in progress; the plan is to get the anisble playbook up to date with production such that we can re-build an identical box in moments should the need arise.\r\n\r\n- [x] Figure out how to setup `dist` and `staging` users\r\n- [x] Figure out how to setup crontab jobs\r\n- [ ] Figure out what processes/tooling needs to be setup in `/home/dist`\r\n- [ ] get `promote_nightly.sh` into `/home/staging/promote/`\r\n- [x] get `update-download-stats.sh` into `/home/iojs`\r\n\r\n#### Current Changes\r\n- Detected if `dhparam.pem` exists, saving a boatload of time\r\n- adding a bunch of paths into the nginx config from `/home/dist`\r\n- Added @kenperkins as an `authorized_keys` member\r\n- reworked `authorized_keys` setup to be a bit cleaner\r\n- added `dist`, `staging` users with ssh keys\r\n- added crontab jobs for `promote_nightly.sh` and `update-download-stats.sh`"},"comment":{"url":"https://api.github.com/repos/iojs/build/issues/comments/75339854","html_url":"https://github.com/iojs/build/pull/54#issuecomment-75339854","issue_url":"https://api.github.com/repos/iojs/build/issues/54","id":75339854,"user":{"login":"kenperkins","id":730664,"avatar_url":"https://avatars.githubusercontent.com/u/730664?v=3","gravatar_id":"","url":"https://api.github.com/users/kenperkins","html_url":"https://github.com/kenperkins","followers_url":"https://api.github.com/users/kenperkins/followers","following_url":"https://api.github.com/users/kenperkins/following{/other_user}","gists_url":"https://api.github.com/users/kenperkins/gists{/gist_id}","starred_url":"https://api.github.com/users/kenperkins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kenperkins/subscriptions","organizations_url":"https://api.github.com/users/kenperkins/orgs","repos_url":"https://api.github.com/users/kenperkins/repos","events_url":"https://api.github.com/users/kenperkins/events{/privacy}","received_events_url":"https://api.github.com/users/kenperkins/received_events","type":"User","site_admin":false},"created_at":"2015-02-20T23:40:31Z","updated_at":"2015-02-20T23:40:31Z","body":"This is getting close, but I'm unable to find `promote_nightly.sh` in source control. @rvagg are you able to assist on this? should I just take it from the current production webserver?"}}