Class Puppet::Network::Handler::FileBucket
In: lib/puppet/network/handler/filebucket.rb
Parent: Handler

Accept files and store them by md5 sum, returning the md5 sum back to the client. Alternatively, accept an md5 sum and return the associated content.

Methods

addfile   conflict_check?   getfile   new   oldpaths   paths   paths   to_s  

Attributes

name  [R] 
path  [R] 

Public Class methods

this doesn‘t work for relative paths

this doesn‘t work for relative paths

Public Instance methods

Accept a file from a client and store it by md5 sum, returning the sum.

Should we check each file as it comes in to make sure the md5 sums match? Defaults to false.

Return the contents associated with a given md5 sum.

[Validate]