Sha256: 9fe25e96ec3a261ddf0a653f2c00bd6d4b594ce4d7c3dd7af439bc01dd4b3ef0

Contents?: true

Size: 524 Bytes

Versions: 6

Compression:

Stored size: 524 Bytes

Contents

class Puppet::Client::FileClient < Puppet::Client::ProxyClient
    @drivername = :FileServer

    # set up the appropriate interface methods
    @handler = Puppet::Server::FileServer

    self.mkmethods

    def initialize(hash = {})
        if hash.include?(:FileServer)
            unless hash[:FileServer].is_a?(Puppet::Server::FileServer)
                raise Puppet::DevError, "Must pass an actual FS object"
            end
        end

        super(hash)
    end
end

# $Id: file.rb 848 2006-01-24 06:01:58Z luke $

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
puppet-0.13.1 lib/puppet/client/file.rb
puppet-0.13.2 lib/puppet/client/file.rb
puppet-0.13.6 lib/puppet/client/file.rb
puppet-0.13.0 lib/puppet/client/file.rb
puppet-0.18.4 lib/puppet/client/file.rb
puppet-0.16.0 lib/puppet/client/file.rb