summaryrefslogtreecommitdiffstats
path: root/spec/integration/node
Commit message (Collapse)AuthorAgeFilesLines
* Renaming Puppet::Node::Catalog to Puppet::Resource::CatalogLuke Kanies2008-12-181-54/+0
| | | | Signed-off-by: Luke Kanies <luke@madstop.com>
* Changing the Cacher.invalidate method to Cacher.expire.Luke Kanies2008-11-112-2/+2
| | | | Signed-off-by: Luke Kanies <luke@madstop.com>
* Merge branch '0.24.x' into mergingLuke Kanies2008-07-291-0/+10
|\ | | | | | | | | | | Conflicts: test/ral/type/filesources.rb
| * Fixing #1408 - --loadclasses works again.Luke Kanies2008-07-101-0/+10
| | | | | | | | | | | | | | | | | | The problem was that the mechanism I was using for passing the node to the compiler was conflicting with the Indirector::Request's method of handling node authentication. Signed-off-by: Luke Kanies <luke@madstop.com>
* | Merge branch '0.24.x'Luke Kanies2008-07-082-6/+6
|\| | | | | | | | | | | Conflicts: CHANGELOG
| * Fixing #1401 - integration tests now work regardless of the yamldir.Luke Kanies2008-07-072-6/+6
| | | | | | | | Signed-off-by: Luke Kanies <luke@madstop.com>
* | Merge branch '0.24.x'Luke Kanies2008-05-201-0/+6
|\| | | | | | | | | | | | | | | | | | | Conflicts: CHANGELOG spec/integration/defaults.rb spec/integration/node/catalog.rb spec/unit/rails.rb spec/unit/type/mount.rb
| * Mocking Facter in an integration test, so it works with no networkingLuke Kanies2008-05-191-0/+6
| |
* | Using the new Cacher class for handling cached data.Luke Kanies2008-05-132-3/+5
|/ | | | | This provides a single, global bit for determining whether a given piece of cached data is still valid.
* Fixing the expire method (it wasn't using a requestLuke Kanies2008-04-101-1/+8
| | | | | | internally), and fixing the Facts class so it auto-expires any associated cached nodes when facts are saved.
* Moved the request creation into the IndirectionLuke Kanies2008-04-101-0/+4
| | | | | | class instead of the Indirector module. Also, added an 'expire' method to the indirector, so there's an easy way to expire cached instances.
* Ported the rest of the indirection terminuses over toLuke Kanies2008-04-082-3/+41
| | | | expecting requests instead of having a random interface.
* Intermediate commit.Luke Kanies2008-04-081-0/+34
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.