{"action":"created","issue":{"url":"https://api.github.com/repos/chef/chef-provisioning/issues/347","labels_url":"https://api.github.com/repos/chef/chef-provisioning/issues/347/labels{/name}","comments_url":"https://api.github.com/repos/chef/chef-provisioning/issues/347/comments","events_url":"https://api.github.com/repos/chef/chef-provisioning/issues/347/events","html_url":"https://github.com/chef/chef-provisioning/issues/347","id":80537364,"number":347,"title":"client.rb contains incorrect chef_server_url","user":{"login":"christinedraper","id":6227274,"avatar_url":"https://avatars.githubusercontent.com/u/6227274?v=3","gravatar_id":"","url":"https://api.github.com/users/christinedraper","html_url":"https://github.com/christinedraper","followers_url":"https://api.github.com/users/christinedraper/followers","following_url":"https://api.github.com/users/christinedraper/following{/other_user}","gists_url":"https://api.github.com/users/christinedraper/gists{/gist_id}","starred_url":"https://api.github.com/users/christinedraper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christinedraper/subscriptions","organizations_url":"https://api.github.com/users/christinedraper/orgs","repos_url":"https://api.github.com/users/christinedraper/repos","events_url":"https://api.github.com/users/christinedraper/events{/privacy}","received_events_url":"https://api.github.com/users/christinedraper/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-05-25T13:29:23Z","updated_at":"2015-05-26T19:11:59Z","closed_at":null,"body":"I am using v1.1.1 in local mode to setup a machine that should then be managed by a server specified in chef_server_url. My problem is that the created /etc/chef/client.rb points to http://localhost:8889 and not what I specified, even though the node is registered with the server and gets recipes from it during the provisioning run.\r\n\r\nI've tried this with ssh and vagrant provisioners, and using 'with_chef_server' or specifying chef_server on the machine resource.\r\n\r\nFor example:\r\n\r\n```\r\nmachine \"test2\" do\r\n  chef_server( :chef_server_url => \"http://192.168.1.67:8889\")\r\nend\r\n```"},"comment":{"url":"https://api.github.com/repos/chef/chef-provisioning/issues/comments/105637705","html_url":"https://github.com/chef/chef-provisioning/issues/347#issuecomment-105637705","issue_url":"https://api.github.com/repos/chef/chef-provisioning/issues/347","id":105637705,"user":{"login":"christinedraper","id":6227274,"avatar_url":"https://avatars.githubusercontent.com/u/6227274?v=3","gravatar_id":"","url":"https://api.github.com/users/christinedraper","html_url":"https://github.com/christinedraper","followers_url":"https://api.github.com/users/christinedraper/followers","following_url":"https://api.github.com/users/christinedraper/following{/other_user}","gists_url":"https://api.github.com/users/christinedraper/gists{/gist_id}","starred_url":"https://api.github.com/users/christinedraper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christinedraper/subscriptions","organizations_url":"https://api.github.com/users/christinedraper/orgs","repos_url":"https://api.github.com/users/christinedraper/repos","events_url":"https://api.github.com/users/christinedraper/events{/privacy}","received_events_url":"https://api.github.com/users/christinedraper/received_events","type":"User","site_admin":false},"created_at":"2015-05-26T19:11:59Z","updated_at":"2015-05-26T19:11:59Z","body":" Just reran this with chef-client 12.3 on both workstation and target; same result. I think I had 12.2 on workstation and 12.3 on client originally."}}