Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | Fix for ticket #1218 - changed to appropriate variable name | James Turnbull | 2008-05-10 | 1 | -1/+1 | |
| |/ | ||||||
* | | Clarifying the exception when there's a syntax error but a valid parser. | Luke Kanies | 2008-05-12 | 1 | -1/+1 | |
| | | | | | | | | This is related to #1215. | |||||
* | | Fixing a test that wrote to ~. | Luke Kanies | 2008-05-12 | 1 | -0/+8 | |
|/ | ||||||
* | Add values for dump parameter for the mount type closing #1212 | James Turnbull | 2008-05-05 | 1 | -1/+3 | |
| | ||||||
* | Update to man pages, fix to ralsh help text and fix for #1211 | James Turnbull | 2008-05-05 | 12 | -40/+29 | |
| | ||||||
* | Fixing an error message to be more clear | Luke Kanies | 2008-05-01 | 1 | -1/+1 | |
| | ||||||
* | fix bindir/sbindir defaults on OS X 10.5 | Nigel Kersten | 2008-04-30 | 1 | -0/+9 | |
| | ||||||
* | Fix for ticket #1209 | James Turnbull | 2008-04-30 | 1 | -1/+1 | |
| | ||||||
* | Fixed #1196 - added /sbin/service support for the redhat service provider + ↵ | James Turnbull | 2008-04-24 | 3 | -11/+28 | |
| | | | | some doco fixes | |||||
* | Fixed some tests broken by #1176 | James Turnbull | 2008-04-19 | 1 | -8/+8 | |
| | ||||||
* | Added puppetlast script to ext directory | James Turnbull | 2008-04-19 | 1 | -0/+40 | |
| | ||||||
* | Pushed patch for #1176 - configtimeout fix | James Turnbull | 2008-04-19 | 2 | -3/+4 | |
| | ||||||
* | Pushed patch for ticket #1191 - adding globbing support to ports provider | James Turnbull | 2008-04-19 | 1 | -1/+6 | |
| | ||||||
* | Pushed patch for ticket #1187 - freebsd pkg_add support | James Turnbull | 2008-04-19 | 1 | -4/+15 | |
| | ||||||
* | Fixed #1195 - support for gentoo openrc | James Turnbull | 2008-04-18 | 1 | -1/+2 | |
| | ||||||
* | Pushed schema patch for #1193 | James Turnbull | 2008-04-17 | 2 | -0/+10 | |
| | ||||||
* | Fixed #1189 and added support for --all to puppetca --clean | James Turnbull | 2008-04-15 | 2 | -12/+33 | |
| | ||||||
* | Fixishing some pending tests, including filling in | Luke Kanies | 2008-04-11 | 3 | -15/+19 | |
| | | | | the connection information. | |||||
* | Making the changes necessary to get the REST support | Luke Kanies | 2008-04-11 | 3 | -46/+52 | |
| | | | | | to work with the current state of the indirection work, including using a request object and an expiration date. | |||||
* | The 'destroy' method in the indirection now returns | Luke Kanies | 2008-04-11 | 2 | -5/+5 | |
| | | | | | the results of destroying, so they can return true or false. | |||||
* | fill out specs for network_* methods; refactor lowest-level network hooks | Rick Bradley | 2008-04-11 | 2 | -30/+166 | |
| | ||||||
* | adding rest_connection_details helper to Indirector::REST -- will need to be ↵ | Rick Bradley | 2008-04-11 | 2 | -0/+17 | |
| | | | | overridden to lookup the real connection details | |||||
* | make sure unit indirector specs are working with #save; fill out network_put ↵ | Rick Bradley | 2008-04-11 | 1 | -3/+53 | |
| | | | | pending specs | |||||
* | removed a debugging helper from the Indirector::Rest#save method | Rick Bradley | 2008-04-11 | 1 | -3/+1 | |
| | ||||||
* | updating mongrel/webrick unit tests to match integration-tested version of ↵ | Rick Bradley | 2008-04-11 | 2 | -22/+4 | |
| | | | | REST save functionality | |||||
* | adding REST save support, with integration tests. A handful of unit tests ↵ | Rick Bradley | 2008-04-11 | 4 | -22/+112 | |
| | | | | in that area now need to be updated. | |||||
* | disabling caching for Puppet::Indirector::Indirection as it was causing ↵ | Rick Bradley | 2008-04-11 | 1 | -1/+0 | |
| | | | | hella problems with testing save without caching; judging my luke's blog this is going to be rewritten somehow anyway | |||||
* | work-in-progress; playing with refactoring network_* methods inside ↵ | Rick Bradley | 2008-04-11 | 1 | -2/+11 | |
| | | | | Indirector::REST | |||||
* | Added support for destroy/DELETE over REST (including units & integrations ↵ | Rick Bradley | 2008-04-11 | 3 | -13/+157 | |
| | | | | | | | | on both webrick & mongrel). Added pending specs for the trivialities in the REST network_fetch and network_delete methods. Refactored YAML exception detection out into a private helper method. | |||||
* | updating search integration specs to include webrick | Rick Bradley | 2008-04-11 | 2 | -8/+63 | |
| | ||||||
* | making search work over REST, w/ unit & integration specs | Rick Bradley | 2008-04-11 | 4 | -9/+62 | |
| | ||||||
* | unit specs and implementation for Indirector::REST#search method | Rick Bradley | 2008-04-11 | 2 | -8/+60 | |
| | ||||||
* | placeholders for integration specs on final REST methods | Rick Bradley | 2008-04-11 | 1 | -0/+24 | |
| | ||||||
* | ensure that we only run the mongrel specs when mongrel is available as a feature | Rick Bradley | 2008-04-11 | 2 | -0/+4 | |
| | ||||||
* | bringing Indirector::REST specs to mongrel-land as well. | Rick Bradley | 2008-04-11 | 1 | -44/+112 | |
| | ||||||
* | Make mongrel happy like WEBrick. | Rick Bradley | 2008-04-11 | 5 | -287/+274 | |
| | | | | Refactored specs to put some of the lower-level find/save/search/destroy unit tests under their own contexts. | |||||
* | exceptions on remote end now properly passed to local end via REST and ↵ | Rick Bradley | 2008-04-11 | 2 | -4/+4 | |
| | | | | re-raised (integration-tested) | |||||
* | Much larger commit than I would like to land at once. This is all ↵ | Rick Bradley | 2008-04-11 | 13 | -119/+242 | |
| | | | | | | | | | | | | | | | | | | | | | REST-related code. Two specs are failing related to how Mongrel is initialized for REST; will fix those shortly. REST indirector now supports find, with deserialization. Network code in indirector now. Will still need to un-hardwire address/port for outbound connections. Will still need to urlencode path parameters. Code for search, destroy, update is coming, should be similar to find. Reworked how the Handler module is used. Needed to be included, rather than inherited. Needed to sidestep initializers for actual web servers (webrick, mongrel), needed to be possible to have handler-including class be used as a class (aka servlet) instead of as an instance. Webrick handler registration is now abstracted to "above" the servlet. Provided a #model method to use instead of @model in handler module. This allows neutering during testing. Brought class_for_protocol up into http/webrick class as a (tested) class method. Integration tests for rest indirection. Split server integration tests into mongrel and webrick tests. Got Node/REST working properly wrt the crazy-ass autoloader thing. We're now actually passing traffic w/ webrick, fwiw. | |||||
* | a trivial integration test to test whether the RESTful indirection terminus ↵ | Rick Bradley | 2008-04-11 | 1 | -0/+35 | |
| | | | | has a remote shot at working; will need to be upgraded to actually be useful | |||||
* | fixing Puppet::Node::REST class name to work with autoloader inflection ↵ | Rick Bradley | 2008-04-11 | 1 | -1/+1 | |
| | | | | (Puppet::Node::Rest), so we can do Puppet::Node.terminus_class = :rest | |||||
* | This is the first version where mongrel and webrick are reliably startable ↵ | Rick Bradley | 2008-04-11 | 9 | -30/+175 | |
| | | | | | | | | | | | | | | | | and stoppable via Puppet::Network::Server. Added a network/server integration spec, testing startup, shutdown, reachability, and collision of webrick and mongrel servers in the new network code. Converted Puppet::Network::HTTP::Handler class to a module, as mongrel Handler should be subclassed; converting subclasses to include the module instead. Mongrel will actually stop if you .stop it, graceful_shutdown didn't seem quite so reliable. Webrick requires running in its own Thread to avoid hanging the entire process; this requires introduction of a Mutex to make things safe. We're only supporting the REST protocol. Made this explicit. Fixed http server setup args, w/ specs, ah the glory of integration testing. | |||||
* | the indirector will not serve xmlrpc (this is the responsibility of the ↵ | Rick Bradley | 2008-04-11 | 7 | -26/+6 | |
| | | | | legacy networking code; it was a mistake to include stubbed support for it in the new code); removing | |||||
* | removing obsolete TODO comment | Rick Bradley | 2008-04-11 | 1 | -1/+0 | |
| | ||||||
* | puppet-compliant indentation | Rick Bradley | 2008-04-11 | 1 | -22/+22 | |
| | ||||||
* | Resources now return the 'should' value for properties from | Luke Kanies | 2008-04-11 | 3 | -44/+9 | |
| | | | | | | | the [] accessor method (they previously threw an exception when this method was used with properties). This shouldn't have any affect functionally; it just makes the method equivalent to 'should' for properties, but it works for all attribute types now. | |||||
* | Modified the 'master' handler to use the Catalog class to | Luke Kanies | 2008-04-11 | 9 | -474/+38 | |
| | | | | | | | | | | compile node configurations, rather than using the Configuration handler, which was never used directly. I removed the Configuration handler as a result. Modified the 'master' handler (responsible for sending configurations to clients) to always return Time.now as its compile date, so configurations will always get recompiled. | |||||
* | Fixed #1184 -- definitions now autoload correctly all of the time. | Luke Kanies | 2008-04-10 | 3 | -3/+16 | |
| | ||||||
* | Removed the code from the client that tries to avoid recompiling | Luke Kanies | 2008-04-10 | 4 | -191/+7 | |
| | | | | | | the catalog. The client will now always recompile, assuming it can reach the server. It will still use the cached config if there's a failure. | |||||
* | Fixing #1173 -- classes and definitions can now have the same | Luke Kanies | 2008-04-10 | 3 | -2/+12 | |
| | | | | name as a directory with no failures. | |||||
* | Fixing #1173 -- classes and definitions can now have the same | Luke Kanies | 2008-04-10 | 1 | -0/+9 | |
| | | | | name as a directory with no failures. |