summaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
...
| * | Merge branch '0.24.x'Luke Kanies2008-02-1237-1681/+10
| |\|
| | * Loading the mocha gem from the puppettest.rb file.Luke Kanies2008-02-121-1/+10
| | |
| | * Trying to upgrade rspec, but not having much luck.Luke Kanies2008-02-1236-1680/+0
| | |
| * | Merge branch '0.24.x'Luke Kanies2008-02-1224-1420/+191
| |\| | | | | | | | | | | | | | | | Conflicts: CHANGELOG
| | * Fixed #997 -- virtual defined types are no longer evaluated.Luke Kanies2008-02-124-38/+34
| | | | | | | | | | | | | | | | | | | | | NOTE: This introduces a behaviour change, in that you previously could realize a resource within a virtual defined resource, and now you must realize the entire defined resource, rather than just the contained resource.
| | * Moving the ast node tests to rspec (which I could haveLuke Kanies2008-02-122-234/+0
| | | | | | | | | | | | | | | | | | | | | *sworn* I did this weekend). In the process, I fixed a couple of bugs related to differentiating between nodes and classes, and then cleaned up quite a few error messages.
| | * Removing the last remaining vestiges of GRATR --Luke Kanies2008-02-114-9/+9
| | | | | | | | | | | | removing the bangs from 'add_vertex!' and 'add_edge!'.
| | * Changing the name of the Compile class to Compiler,Luke Kanies2008-02-1110-40/+40
| | | | | | | | | | | | | | | since it's stupid to have a class named after a verb.
| | * Changing some methods in the Compile class toLuke Kanies2008-02-112-3/+3
| | | | | | | | | | | | | | | be more internally consistent (switched store_resource to add_resource, and store_override to add_override).
| | * Fixed #1030 - class and definition evaluation has been significantlyLuke Kanies2008-02-111-184/+0
| | | | | | | | | | | | | | | | | | refactored, fixing this problem and making the whole interplay between the classes, definitions, and nodes, and the Compile class much cleaner.
| | * Converting the Compile class to use a Node::Catalog instanceLuke Kanies2008-02-114-574/+1
| | | | | | | | | | | | | | | as its resource container, instead of having its own behaviour around resource uniqueness.
| | * Moving all of the tests for Puppet::Parser::Compile toLuke Kanies2008-02-111-33/+0
| | | | | | | | | | | | | | | | | | rspec, so I can refactor the class to more heavily rely on a Node::Catalog instead of doing its own resource container management.
| | * More AST refactoring -- each of the code wrapping classesLuke Kanies2008-02-085-63/+81
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | just returns a resource from its evaluate() method, and all of the work is done in the evaluate_code method. This makes the code cleaner, because it means 1) evaluate() has the same prototype as all of the other AST classes, 2) evaluate() is no longer called indirectly through the Parser Resource class, and 3) the classes themselves are responsible for creating the resources, rather than it being done in the Compile class.
| | * Refactoring the AST classes just a bit. I realized thatLuke Kanies2008-02-0812-63/+62
| | | | | | | | | | | | | | | | | | all of the evaluate() methods only ever accepted a scope, and sometimes one other option, so I switched them all to use named arguments instead of a hash.
| | * Stubbing Facter during the snippet tests, so they are faster and work with ↵Luke Kanies2008-02-081-0/+2
| | | | | | | | | | | | no network
| | * Added :env parameter for backwards-compatibility, with warning about ↵Paul Lathrop2008-02-051-0/+40
| | | | | | | | | | | | deprecation. :env parameter sets new :environment parameter. Changed instances of :env to :environment for consistency with other types. Added tests for new parameters. This cimmit fixes ticket 1007.
| | * Merge branch '0.24.x' of git://wormwood.lovedthanlost.net/puppet into 0.24.xLuke Kanies2008-02-051-1/+8
| | |\
| | | * Added hostname test for hosts typeJames Turnbull2008-02-061-1/+8
| | | |
| | * | Merge commit 'turnbull/0.24.x' into 0.24.xLuke Kanies2008-02-041-0/+9
| | |\|
| | | * Updated fix for ticket #151 and added a testJames Turnbull2008-02-051-0/+9
| | | |
| | * | Fixing #1017 -- environment-specific modulepath is noLuke Kanies2008-02-042-2/+14
| | |/ | | | | | | | | | longer ignored. (Cherry-picked from master.)
| | * Significantly refactoring the lexer, including adding Token and TokenListLuke Kanies2008-01-301-276/+0
| | | | | | | | | | | | | | | | | | classes for managing how the tokens work. I also moved they tests to RSpec, but I didn't rewrite all of them.
| | * Fixing a couple of tests, one related to recent tagging changesLuke Kanies2008-01-282-4/+4
| | | | | | | | | | | | | | | and one that somehow slipped through when I removed the GRATR code.
| * | Fixing #1017 -- environment-specific modulepath is noLuke Kanies2008-01-202-2/+14
| | | | | | | | | | | | longer ignored.
| * | Merge branch '0.24.x'Luke Kanies2008-01-192-1/+6
| |\|
| * | Removed remaining elements of old_parse - closing Ticket #990James Turnbull2008-01-191-63/+0
| | |
* | | More fixes to the testing.Luke Kanies2008-01-152-13/+9
| | |
* | | Another round of test-fixes toward eliminating global resourceLuke Kanies2008-01-1417-116/+5
| | | | | | | | | | | | | | | | | | references. This should have gotten rid of all of them, and now it's just a question of fixing a few hopefully unrelated failing tests.
* | | Fixing automatic relationships. I was previously looking themLuke Kanies2008-01-142-11/+0
| | | | | | | | | | | | | | | up in the relationship graph, which only stores the vertices, not the resource table.
* | | Another round of fixes toward making global resources work.Luke Kanies2008-01-098-212/+81
| | | | | | | | | | | | | | | | | | The only remaining failures are more complicated ones (which I'll need to not be on a plane to debug, for battery reasons) or those related to the broken directory_service providers.
* | | Lots o' bug-fixes toward getting rid of global resources.Luke Kanies2008-01-0814-197/+78
| |/ |/| | | | | | | | | We still have about 60 failing tests, but some of them are the failing directory service tests (probably 20 or so), and most are simple fixes to the tests themselves.
* | Fixing #982 -- I have completely removed the GRATR graph libraryLuke Kanies2008-01-071-1/+1
| | | | | | | | from the system, and implemented my own topsort method.
* | Fixing the inability to manage '/' directly. It was a resultLuke Kanies2007-12-271-0/+5
|/ | | | of stripping extra and trailing slashes.
* Further fixes toward #965. Turned out that the previous fixLuke Kanies2007-12-212-50/+0
| | | | | | | caused other problems. This whole thing will hopefully get *drastically* easier once we get rid of global resources.
* Fixing #967 -- default resources no longer conflict withLuke Kanies2007-12-191-3/+18
| | | | managed resources.
* Entirely refactoring http keep-alive. There's nowLuke Kanies2007-12-194-70/+12
| | | | | | | | a central module responsible for managing the http pool (Puppet::Network::HttpPool), and it also handles setting certificate information. This gets rid of what were otherwise long chains of method calls, and it makes the code paths much clearer.
* Fixing #967 -- relationships now work when running 0.23.x clientsLuke Kanies2007-12-181-5/+5
| | | | against 0.24.0 servers.
* Fixing some tests that were failing with the recent ruby that hasLuke Kanies2007-12-184-0/+10
| | | | ssl issues.
* Fixing the webrick test to provide a correct hostLuke Kanies2007-12-121-1/+1
| | | | name so the stupid ssl checks pass during the test.
* Renaming 'configuration' to 'catalog', fixing #954.Luke Kanies2007-12-1130-136/+136
|
* Applying patch by josb in #884 to provide patternLuke Kanies2007-12-111-0/+52
| | | | matching in the tidy type.
* Fixing #951 -- external nodes work again, but you have toLuke Kanies2007-12-101-1/+1
| | | | set the 'node_terminus' setting to 'exec'.
* Fixing #923 (again). The host storage method was notLuke Kanies2007-12-101-4/+5
| | | | | | correctly searching for the host, so it was creating a new host on each run, which is what was causing the conflict.
* Updated tests for http_enable_post_connection_check configuration setting.Jeffrey J McCune2007-11-291-5/+0
|
* Better test to match the behavior of the code.Jeffrey J McCune2007-11-291-1/+5
|
* Fixed test case for http_enable_post_connection_checkJeffrey J McCune2007-11-291-1/+1
|
* Fixing another failing test I somehow missed in my last big commitLuke Kanies2007-11-281-1/+1
|
* Fixing #527 (rewrote service tests), #766 (services only restart when theyLuke Kanies2007-11-281-234/+0
| | | | | | | are running), and #918 (service tests fail when hddtemp is not installed). Mostly, I just rewrote the service tests, but I cleaned up the cruft from the Service class, too.
* Theoretically, this patch is to fix #917 (which it does), butLuke Kanies2007-11-2811-27/+29
| | | | | | | | | | | | | | | | | | | 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.
* Fixing the first half of #917 -- the ResourcReferenceLuke Kanies2007-11-281-0/+12
| | | | | | AST code now correctly finds the resource. It's getting lost in the configuration translation, though, so I need to fix that, too.