{"action":"created","issue":{"url":"https://api.github.com/repos/dhoer/chef-selenium_grid/issues/2","repository_url":"https://api.github.com/repos/dhoer/chef-selenium_grid","labels_url":"https://api.github.com/repos/dhoer/chef-selenium_grid/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/dhoer/chef-selenium_grid/issues/2/comments","events_url":"https://api.github.com/repos/dhoer/chef-selenium_grid/issues/2/events","html_url":"https://github.com/dhoer/chef-selenium_grid/issues/2","id":206806238,"number":2,"title":"undefined method `domain' for Custom resource windows_autologin from cookbook windows_autologin","user":{"login":"chris-orchard","id":12509945,"avatar_url":"https://avatars.githubusercontent.com/u/12509945?v=3","gravatar_id":"","url":"https://api.github.com/users/chris-orchard","html_url":"https://github.com/chris-orchard","followers_url":"https://api.github.com/users/chris-orchard/followers","following_url":"https://api.github.com/users/chris-orchard/following{/other_user}","gists_url":"https://api.github.com/users/chris-orchard/gists{/gist_id}","starred_url":"https://api.github.com/users/chris-orchard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chris-orchard/subscriptions","organizations_url":"https://api.github.com/users/chris-orchard/orgs","repos_url":"https://api.github.com/users/chris-orchard/repos","events_url":"https://api.github.com/users/chris-orchard/events{/privacy}","received_events_url":"https://api.github.com/users/chris-orchard/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-02-10T14:15:40Z","updated_at":"2017-02-10T17:41:02Z","closed_at":null,"body":"I have been getting the following error since the weekend when trying to provision on Windows.\r\n\r\n`undefined method 'domain' for Custom resource windows_autologin from cookbook windows_autologin`\r\n\r\nThis seems to be a dependency issue as we are running with the following cookbook versions:\r\n- selenium (3.7.4)\r\n- selenium_grid (1.2.2)\r\n- windows_autologin (3.0.0)\r\n- windows_screenresolution (1.1.0)\r\n\r\n`domain` which was present in https://github.com/dhoer/chef-windows_autologin/blob/v2.2.0/resources/default.rb\r\nis no longer there in 3.0: https://github.com/dhoer/chef-windows_autologin/blob/v3.0.0/resources/default.rb\r\n\r\nOur cookbook just uses **selenium_grid** and provides some extra output and specifies attributes, so all dependencies come via **selenium_grid**.\r\n\r\nAdding a dependency to `'windows_autologin', '~> 2.0'` in my `metadata.rb` works round this issue but I think you either need to:\r\n- make a new release of **windows_screenresolution** which is compatible with **windows_autologin 3.0.0**, \r\n- or change the dependency in `windows_screenresolution/metadata.rb` to use a pessimistic version constraint of `'windows_autologin', '~> 2.0'`\r\n"},"comment":{"url":"https://api.github.com/repos/dhoer/chef-selenium_grid/issues/comments/279011643","html_url":"https://github.com/dhoer/chef-selenium_grid/issues/2#issuecomment-279011643","issue_url":"https://api.github.com/repos/dhoer/chef-selenium_grid/issues/2","id":279011643,"user":{"login":"dhoer","id":648360,"avatar_url":"https://avatars.githubusercontent.com/u/648360?v=3","gravatar_id":"","url":"https://api.github.com/users/dhoer","html_url":"https://github.com/dhoer","followers_url":"https://api.github.com/users/dhoer/followers","following_url":"https://api.github.com/users/dhoer/following{/other_user}","gists_url":"https://api.github.com/users/dhoer/gists{/gist_id}","starred_url":"https://api.github.com/users/dhoer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dhoer/subscriptions","organizations_url":"https://api.github.com/users/dhoer/orgs","repos_url":"https://api.github.com/users/dhoer/repos","events_url":"https://api.github.com/users/dhoer/events{/privacy}","received_events_url":"https://api.github.com/users/dhoer/received_events","type":"User","site_admin":false},"created_at":"2017-02-10T17:41:02Z","updated_at":"2017-02-10T17:41:02Z","body":"I released 1.1.1 as requested"}}
{"actor":{"display_login":"dhoer"}}