Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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. | |||||
* | Fixing the expire method (it wasn't using a request | Luke Kanies | 2008-04-10 | 4 | -12/+51 | |
| | | | | | | internally), and fixing the Facts class so it auto-expires any associated cached nodes when facts are saved. | |||||
* | Moved the request creation into the Indirection | Luke Kanies | 2008-04-10 | 5 | -200/+275 | |
| | | | | | | class instead of the Indirector module. Also, added an 'expire' method to the indirector, so there's an easy way to expire cached instances. | |||||
* | Making the log messages around caching better. | Luke Kanies | 2008-04-08 | 1 | -3/+3 | |
| | ||||||
* | Fixing the executables to use the new indirection api. | Luke Kanies | 2008-04-08 | 2 | -2/+2 | |
| | ||||||
* | Ported the rest of the indirection terminuses over to | Luke Kanies | 2008-04-08 | 22 | -241/+246 | |
| | | | | expecting requests instead of having a random interface. | |||||
* | Intermediate commit. | Luke Kanies | 2008-04-08 | 31 | -395/+473 | |
| | | | | | | | | | | | | | | | | | This commit adds a Request instance into the indirection, pushing it all the way to the terminus instances. It's a big commit because it requires modifying every terminus class. There are still some thorny design issues. In particular, who should be responsible for making the request object? I've tried having both the indirection class and the Indirector module creating it, and both have their issues. Also, the Catalog class previously allowed passing Node instances directly to the find method, which is now no longer possible because the Request class would treat the node as the instance being found. We need the request class to have two modes, one when it's passed an instance and one when it's passed a key. | |||||
* | Fixing some tests that were failing because new base types | Luke Kanies | 2008-04-08 | 3 | -31/+45 | |
| | | | | | were added to Naginator, but no new related resource types were added. | |||||
* | Adding the ability for indirection requests to be created | Luke Kanies | 2008-04-08 | 2 | -2/+24 | |
| | | | | with instances instead of just keys. | |||||
* | Fixing an errant comment | Luke Kanies | 2008-04-08 | 1 | -1/+1 | |
| | ||||||
* | Fixing the tests that were failing because of the use | Luke Kanies | 2008-04-08 | 2 | -97/+113 | |
| | | | | of the indirection request object. | |||||
* | Adding a Request class to the Indirection layer. This | Luke Kanies | 2008-04-08 | 4 | -137/+221 | |
| | | | | | | | | | class is currently only used internally by the Indirection instances, but I expect that I will soon be pushing it to all of the terminus types. I still need to fix a couple of tests that will get broken by this commit. | |||||
* | Fixing the integration tests related to the destroy fix. Yay. | Luke Kanies | 2008-04-08 | 2 | -2/+2 | |
| | ||||||
* | Fixing one other test that was failing because of the change | Luke Kanies | 2008-04-08 | 1 | -3/+1 | |
| | | | | to Indirection#destroy. | |||||
* | Changing how destroy works, just a bit -- it now accepts | Luke Kanies | 2008-04-08 | 5 | -21/+22 | |
| | | | | | the name of the instance to be destroyed, rather than the instance itself. | |||||
* | Reworking the caching layer to use TTLs instead of versions | Luke Kanies | 2008-04-08 | 2 | -461/+562 | |
| | | | | | | based on timestamps. This just modifies the indirection class itself, there is still some work to do to remove version code from other classes. | |||||
* | Removing unused code from the file_serving/metadata class. | Luke Kanies | 2008-04-08 | 1 | -9/+0 | |
| | ||||||
* | Adding an envelope module to handle indirected instance | Luke Kanies | 2008-04-08 | 2 | -0/+60 | |
| | | | | expiration. | |||||
* | Changing the default environment to production. | Luke Kanies | 2008-04-08 | 2 | -1/+3 | |
| | ||||||
* | Adding validation to the user type to confirm that the | Luke Kanies | 2008-04-08 | 2 | -0/+9 | |
| | | | | | group list does not contain any commas. This seems to be a common problem. | |||||
* | Merge commit 'turnbull/0.24.x' into 0.24.x | Luke Kanies | 2008-04-08 | 1 | -5/+5 | |
|\ | ||||||
| * | Additional fix for emacs syntax for ticket #1160 | James Turnbull | 2008-04-04 | 1 | -5/+5 | |
| | | ||||||
| * | Revert "Additional fix to emacs for ticket #1160" | James Turnbull | 2008-04-04 | 2 | -6/+6 | |
| | | | | | | | | This reverts commit bb65226e54d5e476581118e7c2c5e42275a6b290. | |||||
| * | Additional fix to emacs for ticket #1160 | James Turnbull | 2008-04-04 | 2 | -6/+6 | |
| | | ||||||
* | | Making a test executable | Luke Kanies | 2008-04-08 | 1 | -0/+0 | |
| | | ||||||
* | | Used stubs to decouple our code behavior from the behavior of the underlying ↵ | Paul Lathrop | 2008-04-07 | 1 | -19/+23 | |
| | | | | | | | | filesystem, as well as removing the need to sleep (which caused the tests to take a long time). | |||||
* | | Merge branch '0.24.x' of git://reductivelabs.com/puppet into unit-tests | Paul Lathrop | 2008-04-06 | 11 | -92/+141 | |
|\| | ||||||
| * | Extend workaround from 56aad69f8cdf8b0b08fdb7985014986223fa4455 to not only ↵ | Andreas Rogge | 2008-04-03 | 2 | -9/+15 | |
| | | | | | | | | | | | | | | | | | | fix UIDs but also GIDs Fixes #1169 Fixes #804 (workaround was probably incomplete, as required changes in lib/puppet/util/posix.rb were missing) Signed-off-by: Andreas Rogge <a.rogge@solvention.de> | |||||
| * | Changed some non-standard Ruby locations to env ruby shebangs | James Turnbull | 2008-04-04 | 2 | -2/+2 | |
| | | ||||||
| * | Fixes debian service enabled/disable issue as detailed in #1161. | James Turnbull | 2008-04-03 | 1 | -1/+1 | |
| | | ||||||
| * | Committed patch from #1160 | James Turnbull | 2008-04-03 | 1 | -76/+89 | |
| | | ||||||
| * | Merge branch '0.24.x' of git://reductivelabs.com/puppet into 0.24.x | James Turnbull | 2008-04-03 | 1 | -0/+23 | |
| |\ | ||||||
| | * | Merge commit 'turnbull/0.24.x' into 0.24.x | Luke Kanies | 2008-03-31 | 3 | -3/+10 | |
| | |\ | ||||||
| | * | | Adding the report reference back; I don't really know | Luke Kanies | 2008-03-31 | 1 | -0/+23 | |
| | | | | | | | | | | | | | | | | why I removed it, since the information in it isn't anywhere else. | |||||
| * | | | Pushed patch to fix #1174 | James Turnbull | 2008-04-02 | 1 | -1/+1 | |
| | |/ | |/| | ||||||
| * | | Updates to rrdgraph documentation | James Turnbull | 2008-04-01 | 1 | -2/+4 | |
| | | | ||||||
| * | | Better fix for #1020 | James Turnbull | 2008-04-01 | 1 | -0/+5 | |
| | | | ||||||
| * | | Revert "Added updated fix for #1020" | James Turnbull | 2008-04-01 | 1 | -5/+1 | |
| | | | | | | | | | | | | This reverts commit 4f8df9803a9ad2f31d3e86418732a230b5cee3f3. | |||||
| * | | Fixed duplicate oid for parentnode and environment in schema - addresses #1170 | James Turnbull | 2008-04-01 | 1 | -1/+1 | |
| | | |