blob: 11662400365a259cedbbae2a2c468c0d94f866d7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
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$
|