    # File lib/chef/client.rb, line 211
        def node_name
          name = Chef::Config[:node_name] || ohai[:fqdn] || ohai[:hostname]
          Chef::Config[:node_name] = name

          unless name
            msg = "Unable to determine node name: configure node_name or configure the system's hostname and fqdn"
            raise Chef::Exceptions::CannotDetermineNodeName, msg
          end

          name
        end