def apply_chef_config!
      super
      Chef::Config[:client_key]       = client_key
      Chef::Config[:client_name]      = 'chefspec'
      Chef::Config[:node_name]        = 'chefspec'
      Chef::Config[:solo]             = false
      Chef::Config[:solo_legacy_mode] = false

      Chef::Config[:chef_server_url]  = server.url
      Chef::Config[:http_retry_count] = 0
    end
def apply_chef_config!
      super
      Chef::Config[:client_key]       = client_key
      Chef::Config[:client_name]      = 'chefspec'
      Chef::Config[:node_name]        = 'chefspec'
      Chef::Config[:solo]             = false
      Chef::Config[:solo_legacy_mode] = false

      Chef::Config[:chef_server_url]  = server.url
      Chef::Config[:http_retry_count] = 0
    end
(see SoloRunner#apply_chef_config!)