diff options
Diffstat (limited to 'lib/puppet/client/runner.rb')
-rw-r--r-- | lib/puppet/client/runner.rb | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/lib/puppet/client/runner.rb b/lib/puppet/client/runner.rb new file mode 100644 index 000000000..9bedf2374 --- /dev/null +++ b/lib/puppet/client/runner.rb @@ -0,0 +1,17 @@ +class Puppet::Client::Runner < Puppet::Client::ProxyClient + @drivername = :Runner + + # set up the appropriate interface methods + @handler = Puppet::Server::Runner + self.mkmethods + + def initialize(hash = {}) + if hash.include?(:Runner) + hash[:Runner] = Puppet::Server::Runner.new() + end + + super(hash) + end +end + +# $Id$ |