Sha256: 1c835d7c3fd068b9853a7a1e16ddca4f6e57d5350362c673e60d56a6c28eb1f0

Contents?: true

Size: 493 Bytes

Versions: 81

Compression:

Stored size: 493 Bytes

Contents

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

81 entries across 81 versions & 4 rubygems

Version Path
puppet-3.3.0.rc2 lib/puppet/indirector/file_metadata/file.rb
puppet-3.2.4 lib/puppet/indirector/file_metadata/file.rb
puppet-2.7.23 lib/puppet/indirector/file_metadata/file.rb
puppet-3.2.3 lib/puppet/indirector/file_metadata/file.rb
puppet-3.2.3.rc1 lib/puppet/indirector/file_metadata/file.rb
puppet-3.2.2 lib/puppet/indirector/file_metadata/file.rb
puppet-2.7.22 lib/puppet/indirector/file_metadata/file.rb
puppet-3.2.1 lib/puppet/indirector/file_metadata/file.rb
puppet-3.2.1.rc1 lib/puppet/indirector/file_metadata/file.rb
puppet-3.2.0.rc2 lib/puppet/indirector/file_metadata/file.rb
librarian-puppet-0.9.9 vendor/gems/ruby/1.9.1/gems/puppet-3.1.0/lib/puppet/indirector/file_metadata/file.rb
puppet-3.2.0.rc1 lib/puppet/indirector/file_metadata/file.rb
puppet-parse-0.1.0 lib/vendor/puppet/indirector/file_metadata/file.rb
puppet-parse-0.0.6 lib/vendor/puppet/indirector/file_metadata/file.rb
puppet-2.7.21 lib/puppet/indirector/file_metadata/file.rb
puppet-3.1.1 lib/puppet/indirector/file_metadata/file.rb
puppet-parse-0.0.5 lib/vendor/puppet/indirector/file_metadata/file.rb
puppet-parse-0.0.4 lib/vendor/puppet/indirector/file_metadata/file.rb
librarian-puppet-0.9.8 vendor/gems/ruby/1.9.1/gems/puppet-3.1.0/lib/puppet/indirector/file_metadata/file.rb
puppet-3.1.0 lib/puppet/indirector/file_metadata/file.rb