{"action":"created","issue":{"url":"https://api.github.com/repos/groupon/Selenium-Grid-Extras/issues/111","labels_url":"https://api.github.com/repos/groupon/Selenium-Grid-Extras/issues/111/labels{/name}","comments_url":"https://api.github.com/repos/groupon/Selenium-Grid-Extras/issues/111/comments","events_url":"https://api.github.com/repos/groupon/Selenium-Grid-Extras/issues/111/events","html_url":"https://github.com/groupon/Selenium-Grid-Extras/issues/111","id":67246655,"number":111,"title":"Provide a way to automate the initial configuration of a Selenium Grid Extras node","user":{"login":"charlescapps","id":561671,"avatar_url":"https://avatars.githubusercontent.com/u/561671?v=3","gravatar_id":"","url":"https://api.github.com/users/charlescapps","html_url":"https://github.com/charlescapps","followers_url":"https://api.github.com/users/charlescapps/followers","following_url":"https://api.github.com/users/charlescapps/following{/other_user}","gists_url":"https://api.github.com/users/charlescapps/gists{/gist_id}","starred_url":"https://api.github.com/users/charlescapps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/charlescapps/subscriptions","organizations_url":"https://api.github.com/users/charlescapps/orgs","repos_url":"https://api.github.com/users/charlescapps/repos","events_url":"https://api.github.com/users/charlescapps/events{/privacy}","received_events_url":"https://api.github.com/users/charlescapps/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-08T23:58:11Z","updated_at":"2015-04-09T02:08:22Z","closed_at":null,"body":"Currently, AFAIK, the only way to register a new node to the Hub is to execute \"java -jar selenium-grid-extras.jar\" and manually answer the questions asked. \r\n\r\nYou have to go through this process for SGE to create a directory for the node on the Hub. \r\n\r\nIt would be awesome if there a command-line option such as \"-DregisterNodeWithHub=true\" *which would register the node with the hub, even if the selenium_grid_extras_config.json file already exists*. \r\n\r\nThat way, it wouldn't be necessary to go through all of the prompts, and we could easily automate the process of deploying new SGE nodes."},"comment":{"url":"https://api.github.com/repos/groupon/Selenium-Grid-Extras/issues/comments/91090573","html_url":"https://github.com/groupon/Selenium-Grid-Extras/issues/111#issuecomment-91090573","issue_url":"https://api.github.com/repos/groupon/Selenium-Grid-Extras/issues/111","id":91090573,"user":{"login":"charlescapps","id":561671,"avatar_url":"https://avatars.githubusercontent.com/u/561671?v=3","gravatar_id":"","url":"https://api.github.com/users/charlescapps","html_url":"https://github.com/charlescapps","followers_url":"https://api.github.com/users/charlescapps/followers","following_url":"https://api.github.com/users/charlescapps/following{/other_user}","gists_url":"https://api.github.com/users/charlescapps/gists{/gist_id}","starred_url":"https://api.github.com/users/charlescapps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/charlescapps/subscriptions","organizations_url":"https://api.github.com/users/charlescapps/orgs","repos_url":"https://api.github.com/users/charlescapps/repos","events_url":"https://api.github.com/users/charlescapps/events{/privacy}","received_events_url":"https://api.github.com/users/charlescapps/received_events","type":"User","site_admin":false},"created_at":"2015-04-09T02:08:21Z","updated_at":"2015-04-09T02:08:21Z","body":"I don't think that works, because there's still the matter of creating the\nconfig folder on the Hub. I'm using the option to centralize configs on the\nHub. Maybe if I manually created this config folder based on the node\nhostname, the node would download the latest configs automatically...I'm\nnot sure if that works.\n\nTl; dr - it would be highly useful if we could do the ordinary node\nregistration process withour manually going through the prompts.\nOn Apr 8, 2015 5:58 PM, \"Shawn McCarthy\" <notifications@github.com> wrote:\n\n> I am not sure if this is helpful, but what I have started to do in the\n> past, was to have the selenium_grid_extras_config.json, hub json config,\n> node json config already created, and just push that to the new node (using\n> chef). I would also push the SGE jar file as well. This way, it looks like\n> the questions have already been answered. My config files were all\n> templates in my chef cookbook.\n>\n> @charlescapps <https://github.com/charlescapps> , would that solve your\n> problem?\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/groupon/Selenium-Grid-Extras/issues/111#issuecomment-91081226>\n> .\n>\n"}}