diff options
author | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2007-02-08 01:39:39 +0000 |
---|---|---|
committer | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2007-02-08 01:39:39 +0000 |
commit | 7e07e3dc843798bdbc7a03428ca054adaff2fb72 (patch) | |
tree | 34d0f9f8c2ee11bdc281e6e4d18cad444253fe36 /lib/puppet/network/client/runner.rb | |
parent | 6d8068eddd0d29ec53f62557eb53f6ebb8e40591 (diff) | |
download | puppet-7e07e3dc843798bdbc7a03428ca054adaff2fb72.tar.gz puppet-7e07e3dc843798bdbc7a03428ca054adaff2fb72.tar.xz puppet-7e07e3dc843798bdbc7a03428ca054adaff2fb72.zip |
Moving all of the client and server code into a single network/ directory. In other words, more code structure cleanup.
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2179 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'lib/puppet/network/client/runner.rb')
-rw-r--r-- | lib/puppet/network/client/runner.rb | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/lib/puppet/network/client/runner.rb b/lib/puppet/network/client/runner.rb new file mode 100644 index 000000000..40d13ac86 --- /dev/null +++ b/lib/puppet/network/client/runner.rb @@ -0,0 +1,17 @@ +class Puppet::Network::Client::Runner < Puppet::Network::Client::ProxyClient + @drivername = :Runner + + # set up the appropriate interface methods + @handler = Puppet::Network::Server::Runner + self.mkmethods + + def initialize(hash = {}) + if hash.include?(:Runner) + hash[:Runner] = Puppet::Network::Server::Runner.new() + end + + super(hash) + end +end + +# $Id$ |