Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Fixing #446. I ended up largely not using porridge's patch, | Luke Kanies | 2007-11-19 | 1 | -0/+50 | |
| | | | | | | | | | | | | but only because the code (and my coding style, to some extent) has changed so much in the last few months. Also, added specs. | |||||
* | | Merge commit 'davids-bugfixes/tests/fix-settings-fail-as-root' | Luke Kanies | 2007-11-19 | 1 | -4/+5 | |
|\ \ | ||||||
| * | | fix a testfailure when running spec tests as root | David Schmitt | 2007-11-10 | 1 | -4/+5 | |
| |/ | | | | | | | | | when running as root, examples trying to create directories with non-standard users failed. This fix evades this difficulty. | |||||
* | | Reverting the changes I'd made toward removing the global | Luke Kanies | 2007-11-19 | 2 | -142/+12 | |
| | | | | | | | | | | | | | | | | resources. These are commits: c19835ce9f8a5138b30a1a32ca741c996b0916d2 9290cc89a2206fb5204578f8e91208857a48b147 ffb4c2dbc7314b364d25e4f7be599ef05b767b44 | |||||
* | | Merge commit 'davids-bugfixes/rest/tests-for-872' | Luke Kanies | 2007-11-18 | 1 | -0/+32 | |
|\ \ | ||||||
| * | | tests for #872: check interaction between "replace" and "content" | David Schmitt | 2007-11-09 | 1 | -0/+32 | |
| |/ | | | | | | | | | Currently "Puppet::Type::File when used with replace=>false and content should be insync if the file exists and the content is different" fails. | |||||
* | | Fixing a SimpleGraph unit test so it doesn't depend | Luke Kanies | 2007-11-18 | 1 | -1/+3 | |
| | | | | | | | | on hashing. | |||||
* | | Fixed most failing tests, but there are still over thirty failing. | Luke Kanies | 2007-11-18 | 2 | -12/+51 | |
| | | | | | | | | | | | | At this point, I'm holding the experiment until after the release, so I'm committing this for now and will take it back up after 0.24.0 is out. | |||||
* | | Modifying how default resources are created; they are now | Luke Kanies | 2007-11-15 | 1 | -4/+17 | |
| | | | | | | | | | | added to the configuration by the master client, rather than by the creating types. | |||||
* | | This commit is the first run at removing all global | Luke Kanies | 2007-11-13 | 2 | -1/+79 | |
| | | | | | | | | | | | | | | | | | | | | references to resources. It deprecates the class-level [] and []= methods, used for so long to provide closure behaviour but now unnecessary with the node configuration's ability to function as a resource container. All of the spec tests pass, but there is much to do to make the test/ tests pass, I expect. | |||||
* | | Fixing #800 by refactoring how configurations are retrieved | Luke Kanies | 2007-11-12 | 4 | -98/+460 | |
| | | | | | | | | | | | | | | | | | | from the server. The real problem was getting all of the validation done before any caching, which required a good bit more refactoring than I expected. In actuality, this commit is relatively small even though it covers many files; most of the changes just make the code clearer or shorter. | |||||
* | | Moving some compile tests to the spec/ directory, and | Luke Kanies | 2007-11-12 | 1 | -0/+100 | |
| | | | | | | | | | | | | | | | | | | | | | | | | switching the node scope to no longer be lazy evaluation, just like I switched 'main'. When I made all of these classes and nodes lazy evaluated, I should have decoupled my real goal (using resources to evaluate them) from the idea of lazy-evaluating them, and this basically does that. I also changed the scope heirarchy slightly so that scopes will tend to be below the node scope, altho this was already generally the case. | |||||
* | | Merge branch 'routing' into test_routing | Luke Kanies | 2007-11-08 | 18 | -237/+1303 | |
|\ \ | |/ |/| | ||||||
| * | This won't be perfect by any stretch, but put in a moderately reasonable ↵ | Rick Bradley | 2007-10-26 | 1 | -0/+33 | |
| | | | | | | | | autotest config file. | |||||
| * | One significant step closer to getting autotest running properly on the ↵ | Rick Bradley | 2007-10-26 | 9 | -15/+157 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Puppet specs. Created a spec/lib/monkey_patches/ directory for holding patches to RSpec functionality. Extraced 'confine' and 'runnable?' support from the local copy of RSpec (spec/lib/spec/) and now load them from the monkey_patches/ directory. Fixed a bad include in one of the specs. Made it possible for the gem-installed spec binary (which autotest calls) to be used with Puppet. Imported the Autotest::Rspec class, created a PuppetRspec autotest class, added a discovery.rb file for autotest to pick these up. Autotest still has the following problems: * it needs to be run with the proper include path: % ruby -I spec/lib/ `which autotest` * the patterns in our custom autotest handler (puppet_rspec) aren't yet fully specified (they only recognize changes in our spec files, not changes in the puppet libs which they are testing) | |||||
| * | Merge branch 'master' of git://reductivelabs.com/puppet into routing | Rick Bradley | 2007-10-26 | 16 | -266/+491 | |
| |\ | ||||||
| * | | Exceptions on requests are now captured, exceptions are serialized, and ↵ | Rick Bradley | 2007-10-23 | 2 | -17/+105 | |
| | | | | | | | | | | | | exception text is passed back via REST. | |||||
| * | | Finish serializing successful results (via calls to to_yaml, etc.) for REST ↵ | Rick Bradley | 2007-10-23 | 2 | -131/+165 | |
| | | | | | | | | | | | | handlers. Refactor request building in REST handler specs. | |||||
| * | | REST handlers now properly returning 200 status on success. | Rick Bradley | 2007-10-23 | 2 | -12/+66 | |
| | | | ||||||
| * | | Merge branch 'master' of git://reductivelabs.com/puppet into routing | Rick Bradley | 2007-10-23 | 25 | -248/+1152 | |
| |\ \ | ||||||
| * \ \ | Merge branch 'master' of git://reductivelabs.com/puppet into routing | Rick Bradley | 2007-10-22 | 29 | -49/+1568 | |
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: spec/unit/indirector/indirection.rb | |||||
| * | | | | Fix test which is conditional on mongrel installation. | Rick Bradley | 2007-10-17 | 1 | -2/+4 | |
| | | | | | ||||||
| * | | | | More specs, fleshing out the returns from REST | Rick Bradley | 2007-10-17 | 2 | -4/+29 | |
| | | | | | ||||||
| * | | | | getting more fine-grained with the response specs -- the target is always ↵ | Rick Bradley | 2007-10-16 | 2 | -6/+18 | |
| | | | | | | | | | | | | | | | | | | | | moving. | |||||
| * | | | | Argument passing now supported on {webrick,mongrel}+REST. | Rick Bradley | 2007-10-16 | 2 | -15/+103 | |
| | | | | | ||||||
| * | | | | Make the actual runtime be more robust when mongrel is not installed. | Rick Bradley | 2007-10-16 | 1 | -1/+6 | |
| | | | | | ||||||
| * | | | | Make it possible to run all tests even if mongrel isn't installed. ↵ | Rick Bradley | 2007-10-16 | 2 | -0/+10 | |
| | | | | | | | | | | | | | | | | | | | | Shouldn't "confine" produce some output when running spec? Who knows. | |||||
| * | | | | Refactoring, argument processing for model methods. | Rick Bradley | 2007-10-16 | 2 | -16/+54 | |
| | | | | | ||||||
| * | | | | Tweak to move model lookup functionality into the Handler base class where ↵ | Rick Bradley | 2007-10-16 | 2 | -0/+27 | |
| | | | | | | | | | | | | | | | | | | | | it belongs. Robustifying the request sanitization a bit more. | |||||
| * | | | | Refactored to use a Handler base class for server+protocol handlers. ↵ | Rick Bradley | 2007-10-16 | 2 | -19/+51 | |
| | | | | | | | | | | | | | | | | | | | | Finally eliminated dependency on Puppet.start, etc., from WEBrick HTTP server class. {webrick,mongrel}+REST now support request handling uniformly; need encode/decode next. | |||||
| * | | | | Inlined the controller, eliminating a class. Mongrel+REST has the right ↵ | Rick Bradley | 2007-10-16 | 3 | -52/+54 | |
| | | | | | | | | | | | | | | | | | | | | bits for request handling prior to the encode/decode/exception-handling bits. Refactored to make the common logic extractable to a base class. | |||||
| * | | | | Registration now built for {webrick,mongrel} REST handlers. | Rick Bradley | 2007-10-16 | 4 | -13/+43 | |
| | | | | | ||||||
| * | | | | Going back to each server+protocol object being responsible for only one ↵ | Rick Bradley | 2007-10-16 | 4 | -12/+16 | |
| | | | | | | | | | | | | | | | | | | | | indirection, as the REST vs. XMLRPC models are different enough that the object must register itself on initialization and handle the request when it comes in. | |||||
| * | | | | First pass through initializers of {mongrel, webrick} REST handlers; hooks ↵ | Rick Bradley | 2007-10-16 | 8 | -28/+111 | |
| | | | | | | | | | | | | | | | | | | | | into Indirection to look up models from indirected names. | |||||
| * | | | | Minor tweaks to make the ::Server initialization a bit more robust. Fail on ↵ | Rick Bradley | 2007-10-16 | 1 | -3/+7 | |
| | | | | | | | | | | | | | | | | | | | | unknown HTTP Server types; fail fast. | |||||
| * | | | | Finish front end of delegation to server+protocol helper classes ("handlers"). | Rick Bradley | 2007-10-15 | 2 | -0/+29 | |
| | | | | | ||||||
| * | | | | Bringing in initial handlers for server+protocol pairs. | Rick Bradley | 2007-10-15 | 3 | -31/+28 | |
| | | | | | ||||||
| * | | | | Merge branch 'master' of git://reductivelabs.com/puppet into routing | Rick Bradley | 2007-10-15 | 27 | -207/+210 | |
| |\ \ \ \ | ||||||
| * | | | | | Partial support for building Handlers for all handler-protocol pairs. | Rick Bradley | 2007-10-15 | 2 | -9/+50 | |
| | | | | | | ||||||
| * | | | | | Implementing address & port support for new webrick server. | Rick Bradley | 2007-10-15 | 1 | -3/+14 | |
| | | | | | | ||||||
| * | | | | | Hooking up address/port support for the various servers w/ specs. Still ↵ | Rick Bradley | 2007-10-15 | 3 | -36/+106 | |
| | | | | | | | | | | | | | | | | | | | | | | | | need to start up a webrick server w/ address + port (this is far too incestuous with Puppet lib & Puppet.start at the moment). | |||||
| * | | | | | trivial: WEBRick -> WEBrick, to be more consistent with how the WEBrick ruby ↵ | Rick Bradley | 2007-10-15 | 3 | -8/+8 | |
| | | | | | | | | | | | | | | | | | | | | | | | | classes are named. | |||||
| * | | | | | Implementing listening state tracking for webrick and mongrel. | Rick Bradley | 2007-10-15 | 2 | -2/+41 | |
| | | | | | | ||||||
| * | | | | | More unit specs for mongrel and webrick; more code to make them work, yo. | Rick Bradley | 2007-10-15 | 3 | -23/+106 | |
| | | | | | | ||||||
| * | | | | | Pushing functionality down to webrick/mongrel classes now; cleanup in the ↵ | Rick Bradley | 2007-10-15 | 2 | -39/+85 | |
| | | | | | | | | | | | | | | | | | | | | | | | | base server / http server classes + specs. | |||||
| * | | | | | Merge branch 'master' of git://reductivelabs.com/puppet into routing | Rick Bradley | 2007-10-13 | 8 | -14/+252 | |
| |\ \ \ \ \ | ||||||
| * | | | | | | more stuff for the interim commit | Rick Bradley | 2007-10-12 | 2 | -0/+58 | |
| | | | | | | | ||||||
| * | | | | | | interim checkin of network stuffs | Rick Bradley | 2007-10-12 | 2 | -216/+190 | |
| | | | | | | | ||||||
| * | | | | | | Merge branch 'master' of git://reductivelabs.com/puppet into routing | Rick Bradley | 2007-10-09 | 5 | -47/+380 | |
| |\ \ \ \ \ \ | ||||||
| * \ \ \ \ \ \ | Merge branch 'master' of git://reductivelabs.com/puppet into routing | Rick Bradley | 2007-10-06 | 10 | -122/+131 | |
| |\ \ \ \ \ \ \ |