summaryrefslogtreecommitdiffstats
path: root/spec/unit/parser/resource
Commit message (Collapse)AuthorAgeFilesLines
* Fixing #1755 - handling fully qualified classes correctly.Luke Kanies2008-11-261-0/+20
| | | | | | | This involves lexing '::class' tokens along with correctly looking them up from the Resource::Reference class. Signed-off-by: Luke Kanies <luke@madstop.com>
* Changing the name of the Compile class to Compiler,Luke Kanies2008-02-111-4/+4
| | | | | since it's stupid to have a class named after a verb.
* Fixing #967 -- relationships now work when running 0.23.x clientsLuke Kanies2007-12-181-2/+7
| | | | against 0.24.0 servers.
* Theoretically, this patch is to fix #917 (which it does), butLuke Kanies2007-11-281-6/+10
| | | | | | | | | | | | | | | | | | | there were enough problems fixing it that I decided something more drastic needed to be done. This uses the new Puppet::ResourceReference class to canonize what a resource reference looks like and how to retrieve resources via their references. Specifically, it guarantees that resource types are always capitalized, even when they include '::' in them. While many files are modified in this commit, the majority of changes are quite small, and most of the changes are fixing the tests to use capitalized types. As we look at consolidating some of our resource types, we could consolidate the ResourceReference stuff at the same time, but at least the Puppet::Parser::ResourceReference class subclasses the main Puppet::ResourceReference class.
* Doing a small amount of refactoring, toward being able to use Parser ↵Luke Kanies2007-09-031-0/+66
resources to evaluate classes and nodes, not just definitions. This will hopefully simplify some of the parsing work, and it will enable the use of a Configuration object that more completely models a configuration.