Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge commit 'plathrop/fix-1228' into 0.24.x | Luke Kanies | 2008-05-19 | 1 | -0/+4 |
|\ | |||||
| * | Another refactor based on feedback from Luke. This includes adding an ↵ | Paul Lathrop | 2008-05-18 | 1 | -0/+4 |
| | | | | | | | | accessor for @@state to make testing a bit cleaner. | ||||
* | | Refactoring how the provider confine tests work, again. | Luke Kanies | 2008-05-19 | 9 | -70/+174 |
| | | | | | | | | | | | | | | | | | | | | Now each of the test types is a separate subclass of Confine, so that they can have all of their own logging and summarizing behaviour. Also, added a 'feature' type, which can test for the availability of Puppet features (and log their absence more usefully). | ||||
* | | Modified the 'factpath' setting to automatically configure | Luke Kanies | 2008-05-16 | 1 | -3/+5 |
| | | | | | | | | | | Facter to load facts there if a new enough version of Facter is used. | ||||
* | | Moving all confine code out of the Provider class, and fixing #1197. | Luke Kanies | 2008-05-15 | 4 | -73/+84 |
| | | | | | | | | | | | | | | | | | | I created a Confiner module for the Provider class methods, and then I enhanced the interface between it and the Confine class to make sure binary paths are searched for fresh each time. This fixes #1197, which was a result of binary paths being searched for at startup, rather than at execution. | ||||
* | | Switching the Provider class to use the new Confiner class. | Luke Kanies | 2008-05-15 | 1 | -68/+11 |
| | | |||||
* | | Moving the 'confine' handling to separate classes. | Luke Kanies | 2008-05-15 | 2 | -0/+117 |
| | | |||||
* | | Added the ability to add arbitrary attributes to ldap. | Gunnar Wrobel | 2008-05-15 | 2 | -0/+33 |
|/ | | | | This fixes #1179. | ||||
* | Merge commit 'ctrlaltdel/ssh-authorized-key' into 0.24.x | Luke Kanies | 2008-05-14 | 2 | -5/+1 |
|\ | |||||
| * | Cosmetic fix | Francois Deppierraz | 2008-05-09 | 1 | -2/+1 |
| | | |||||
| * | Removed "none" as a valid type attribute value, it was useless anyway | Francois Deppierraz | 2008-05-09 | 1 | -3/+0 |
| | | |||||
* | | Correcting whitespace in the templatewrapper code. | Luke Kanies | 2008-05-13 | 1 | -6/+6 |
| | | | | | | | | Also slightly modified the wording of some of the tests. | ||||
* | | Adding has_variable? support, fixing ticket #1177 | Adam Jacob | 2008-05-13 | 1 | -0/+9 |
| | | |||||
* | | Merge branch 'authorized_keys' into 0.24.x | Luke Kanies | 2008-05-12 | 2 | -0/+97 |
|\| | |||||
| * | New native ssh_authorized_key type | Francois Deppierraz | 2008-05-07 | 2 | -0/+97 |
| | | |||||
* | | Adding ldap providers for the user and group type. | Luke Kanies | 2008-05-12 | 7 | -0/+677 |
| | | | | | | | | | | | | These providers use posixAccount and posixGroup. This is a collapsed merge, fwiw. | ||||
* | | Applying patch by martin to fix #1207. | Luke Kanies | 2008-05-12 | 1 | -1/+1 |
| | | | | | | | | The -o flag is now only used when the uid is being changed. | ||||
* | | Merge commit 'turnbull/0.24.x' into 0.24.x | Luke Kanies | 2008-05-12 | 2 | -4/+4 |
|\ \ | |||||
| * | | Fix for urpmi provider that fixes #1217 | James Turnbull | 2008-05-11 | 1 | -3/+3 |
| | | | |||||
| * | | 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. | ||||
* | Add values for dump parameter for the mount type closing #1212 | James Turnbull | 2008-05-05 | 1 | -1/+3 |
| | |||||
* | Fixing an error message to be more clear | Luke Kanies | 2008-05-01 | 1 | -1/+1 |
| | |||||
* | 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 | ||||
* | 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 |
| | |||||
* | Pushed schema patch for #1193 | James Turnbull | 2008-04-17 | 2 | -0/+10 |
| | |||||
* | Fixishing some pending tests, including filling in | Luke Kanies | 2008-04-11 | 1 | -2/+2 |
| | | | | the connection information. | ||||
* | Making the changes necessary to get the REST support | Luke Kanies | 2008-04-11 | 1 | -8/+8 |
| | | | | | 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 | 1 | -2/+2 |
| | | | | | 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 | 1 | -4/+8 |
| | |||||
* | adding rest_connection_details helper to Indirector::REST -- will need to be ↵ | Rick Bradley | 2008-04-11 | 1 | -0/+5 |
| | | | | overridden to lookup the real connection details | ||||
* | removed a debugging helper from the Indirector::Rest#save method | Rick Bradley | 2008-04-11 | 1 | -3/+1 |
| | |||||
* | adding REST save support, with integration tests. A handful of unit tests ↵ | Rick Bradley | 2008-04-11 | 2 | -18/+21 |
| | | | | 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 | 1 | -8/+27 |
| | | | | | | | | 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. | ||||
* | making search work over REST, w/ unit & integration specs | Rick Bradley | 2008-04-11 | 2 | -4/+2 |
| | |||||
* | unit specs and implementation for Indirector::REST#search method | Rick Bradley | 2008-04-11 | 1 | -0/+8 |
| | |||||
* | Make mongrel happy like WEBrick. | Rick Bradley | 2008-04-11 | 2 | -7/+4 |
| | | | | 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 | 1 | -1/+1 |
| | | | | re-raised (integration-tested) | ||||
* | Much larger commit than I would like to land at once. This is all ↵ | Rick Bradley | 2008-04-11 | 5 | -24/+42 |
| | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | 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 | 6 | -19/+44 |
| | | | | | | | | | | | | | | | | 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 | 4 | -12/+0 |
| | | | | 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 | 1 | -7/+3 |
| | | | | | | | 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. |