Bruce asked me to refresh Rack support in Puppet, especially with regard to 
the new REST handlers. While Puppet 0.24.6+ already has support for REST 
(with XMLRPC), I felt that it would be better to start fresh.

0001-Puppet-as-a-Rack-application adds a true Rack application class, which 
just dispatches Requests to the REST-over-Rack class, RackREST. RackREST itself 
is just like WebrickREST or MongrelREST, as it includes 
Puppet::Network::HTTP::Handler.

0002-Make-the-required-interface-for-RackREST-explicit and 
0003-Add-XMLRPC-compatibility-for-Rack introduce backwards compatibility with 
XMLRPC handlers.

After applying this patch set, full Rack functionality exists, but is obviously
not hooked up / enduser useable. I'll follow up to this mail with details on
making rack not only a supported option, but using it for *all* previously
supported web servers too.

Christian

-- 
Summarized diffstat:
 lib/puppet/feature/base.rb                  |    3
 lib/puppet/network/http/rack.rb             |   62 ++++++++
 lib/puppet/network/http/rack/httphandler.rb |   49 ++++++
 lib/puppet/network/http/rack/rest.rb        |   55 +++++++
 lib/puppet/network/http/rack/xmlrpc.rb      |   46 +++++
 spec/unit/network/http/rack.rb              |   96 ++++++++++++
 spec/unit/network/http/rack/rest.rb         |  216 ++++++++++++++++++++++++++++
 spec/unit/network/http/rack/xmlrpc.rb       |  182 +++++++++++++++++++++++
 8 files changed, 709 insertions(+)


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/puppet-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to