{"comment":{"url":"https://api.github.com/repos/MaximilianMeister/barclamp-crowbar/comments/10543179","html_url":"https://github.com/MaximilianMeister/barclamp-crowbar/commit/05da5f1cdbb7159f865838f2c4b02cc24b85dd15#commitcomment-10543179","id":10543179,"user":{"login":"MaximilianMeister","id":5364817,"avatar_url":"https://avatars.githubusercontent.com/u/5364817?v=3","gravatar_id":"","url":"https://api.github.com/users/MaximilianMeister","html_url":"https://github.com/MaximilianMeister","followers_url":"https://api.github.com/users/MaximilianMeister/followers","following_url":"https://api.github.com/users/MaximilianMeister/following{/other_user}","gists_url":"https://api.github.com/users/MaximilianMeister/gists{/gist_id}","starred_url":"https://api.github.com/users/MaximilianMeister/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MaximilianMeister/subscriptions","organizations_url":"https://api.github.com/users/MaximilianMeister/orgs","repos_url":"https://api.github.com/users/MaximilianMeister/repos","events_url":"https://api.github.com/users/MaximilianMeister/events{/privacy}","received_events_url":"https://api.github.com/users/MaximilianMeister/received_events","type":"User","site_admin":false},"position":16,"line":71,"path":"crowbar_framework/app/models/chef_object.rb","commit_id":"05da5f1cdbb7159f865838f2c4b02cc24b85dd15","created_at":"2015-04-02T10:47:04Z","updated_at":"2015-04-02T10:47:04Z","body":"if you look above at `get_provider_service` it will return the correct one for that system\r\n``` ruby\r\ndef self.get_provider_service(platform, version)\r\n  Chef::Platform.platforms[platform.to_sym][version][:service]\r\nend\r\n```\r\nit will tap the provider_mapping which is defined here\r\nhttps://github.com/chef/chef/blob/master/lib/chef/platform/provider_mapping.rb"}}