    # File lib/chef/provider/env.rb, line 34
          def load_current_resource
            @current_resource = Chef::Resource::Env.new(@new_resource.name)
            @current_resource.key_name(@new_resource.key_name)

            if env_key_exists(@new_resource.key_name)
              @current_resource.value(env_value(@new_resource.key_name))
            else
              @key_exists = false
              Chef::Log.debug("#{@new_resource} key does not exist")
            end

            @current_resource
          end