Sha256: a7ca5b67bf9cdeeeca3da5833c97ac3e85bc9d1611f2c7b3eb7f568ca5a7ff52

Contents?: true

Size: 581 Bytes

Versions: 21

Compression:

Stored size: 581 Bytes

Contents

#
#  Created by Luke Kanies on 2007-10-16.
#  Copyright (c) 2007. All rights reserved.

require 'puppet/file_serving/metadata'
require 'puppet/indirector/file_metadata'
require 'puppet/indirector/direct_file_server'

class Puppet::Indirector::FileMetadata::File < Puppet::Indirector::DirectFileServer
  desc "Retrieve file metadata directly from the local filesystem."

  def find(request)
    return unless data = super
    data.collect

    data
  end

  def search(request)
    return unless result = super

    result.each { |instance| instance.collect }

    result
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
puppet-2.6.18 lib/puppet/indirector/file_metadata/file.rb
puppet-2.6.17 lib/puppet/indirector/file_metadata/file.rb
puppet-2.6.16 lib/puppet/indirector/file_metadata/file.rb
puppet-2.6.15 lib/puppet/indirector/file_metadata/file.rb
puppet-2.6.14 lib/puppet/indirector/file_metadata/file.rb
puppet-2.6.13 lib/puppet/indirector/file_metadata/file.rb
puppet-2.6.12 lib/puppet/indirector/file_metadata/file.rb
puppet-2.6.11 lib/puppet/indirector/file_metadata/file.rb
puppet-2.6.10 lib/puppet/indirector/file_metadata/file.rb
puppet-2.7.3 lib/puppet/indirector/file_metadata/file.rb
puppet-2.7.1 lib/puppet/indirector/file_metadata/file.rb
puppet-2.6.9 lib/puppet/indirector/file_metadata/file.rb
puppet-2.6.8 lib/puppet/indirector/file_metadata/file.rb
puppet-2.6.7 lib/puppet/indirector/file_metadata/file.rb
puppet-2.6.6 lib/puppet/indirector/file_metadata/file.rb
puppet-2.6.5 lib/puppet/indirector/file_metadata/file.rb
puppet-2.6.4 lib/puppet/indirector/file_metadata/file.rb
puppet-2.6.3 lib/puppet/indirector/file_metadata/file.rb
puppet-2.6.2 lib/puppet/indirector/file_metadata/file.rb
puppet-2.6.1 lib/puppet/indirector/file_metadata/file.rb