summaryrefslogtreecommitdiffstats
path: root/spec/shared_behaviours
Commit message (Collapse)AuthorAgeFilesLines
* Adding pluginsyncing support to the IndirectorLuke Kanies2009-02-192-4/+5
| | | | | | | | | This switches away from the use of terminii for each type of fileserving - it goes back to the traditional fileserving method, and is much cleaner and simpler as a result. Signed-off-by: Luke Kanies <luke@madstop.com>
* Fix #1834 part1 - Fix tempfile failing testsBrice Figureau2008-12-201-1/+2
| | | | Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
* Changing the Cacher.invalidate method to Cacher.expire.Luke Kanies2008-11-111-1/+1
| | | | Signed-off-by: Luke Kanies <luke@madstop.com>
* Adding automatic attribute collection to the new fileserving code.Luke Kanies2008-08-261-9/+11
| | | | | | | | | | | Basically, this just includes a consistent method for collecting info (either content or metadata) and then calls that method when returning instances via the indirector. It's such a large commit mostly because of small changes in the normal code and large changes in the testing to accomodate those small changes. Signed-off-by: Luke Kanies <luke@madstop.com>
* Removing the last vestiges of the 'puppetmounts' protocol marker.Luke Kanies2008-08-261-1/+1
| | | | | | | I created this when I first designed the fileserving Indirection hooks, and it's unnecessary. Signed-off-by: Luke Kanies <luke@madstop.com>
* Removing the yaml conversion code from FileContent.Luke Kanies2008-08-261-14/+9
| | | | | | | | Also fixing some integration tests that were failing because of the change to the terminus selection code for file serving. Signed-off-by: Luke Kanies <luke@madstop.com>
* Merge branch '0.24.x' into mergingLuke Kanies2008-07-292-7/+19
|\ | | | | | | | | | | Conflicts: test/ral/type/filesources.rb
| * Fixed all of the fileserving termini so they use indirection requests.Luke Kanies2008-07-182-7/+19
| | | | | | | | | | | | | | | | This looks like a much larger commit than it is -- it doesn't change any behaviour at all, it just adds some integration tests (which expose the problem) and then switches from an ad-hoc api to a request-based api. Signed-off-by: Luke Kanies <luke@madstop.com>
* | Using the new Cacher class for handling cached data.Luke Kanies2008-05-131-1/+1
|/ | | | | This provides a single, global bit for determining whether a given piece of cached data is still valid.
* Intermediate commit.Luke Kanies2008-04-082-6/+38
| | | | | | | | | | | | | | | | | 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.
* Copying over Rick's work from the master branch supporting autotest andLuke Kanies2008-02-122-0/+94
cleaning up the rspec support.