summaryrefslogtreecommitdiffstats
path: root/spec/unit
Commit message (Collapse)AuthorAgeFilesLines
...
| | | * converting facter indirector specs from setup/teardown to before/afterRick Bradley2008-02-181-29/+26
| | | |
| | | * converting indirector checksum file specs from setup/teardown to before/afterRick Bradley2008-02-181-89/+87
| | | |
| | | * converting parser compilerspecs from setup/teardown to before/afterRick Bradley2008-02-181-391/+379
| | | |
| | | * converting mount provider specs from setup/teardown to before/afterRick Bradley2008-02-181-88/+84
| | | |
| | | * converting indirector terminus specs from setup/teardown to before/afterRick Bradley2008-02-181-129/+126
| | | |
| | | * converting file serving configuration specs from setup/teardown to before/afterRick Bradley2008-02-181-196/+193
| | | |
| | | * converting indirector ldap node specs from setup/teardown to before/afterRick Bradley2008-02-181-112/+110
| | | |
| | | * converting indirector direct file server specs from setup/teardown to ↵Rick Bradley2008-02-181-55/+52
| | | | | | | | | | | | | | | | before/after
| | | * converting parsed mount provider specs from setup/teardown to before/afterRick Bradley2008-02-181-78/+81
| | | |
| | | * converting mount type specs from setup/teardown to before/afterRick Bradley2008-02-181-94/+91
| | | |
| | | * converting indirector file specs from setup/teardown to before/afterRick Bradley2008-02-181-101/+99
| | | |
| | | * converting package type specs from setup/teardown to before/afterRick Bradley2008-02-181-91/+94
| | | |
| | | * converting fileserving/configuration/parser specs from setup/teardown to ↵Rick Bradley2008-02-181-86/+89
| | | | | | | | | | | | | | | | before/after
| | | * converting indirector/module_files specs from setup/teardown to before/afterRick Bradley2008-02-181-189/+187
| | | |
| | | * converting ral/types/schedule specs away from setup/teardownRick Bradley2008-02-181-243/+210
| | | |
| | | * converting indirection specs away from setup/teardown to rspec compatible ↵Rick Bradley2008-02-181-232/+227
| | | | | | | | | | | | | | | | before/after usage
| | | * moving setup() methods to before :each, so that the tests will run with ↵Rick Bradley2008-02-181-114/+109
| | | | | | | | | | | | | | | | rspec, as opposed to just rake (which calls them directly with ruby, as opposed to any spec binary)
| | * | Fixed #1018 -- resources now have their namevars added asLuke Kanies2008-02-181-0/+13
| | | | | | | | | | | | | | | | | | | | aliases in the resource catalog, just like they were added in the resource classes.
| | * | Fixed #1037 -- remote unreadable files no longer have theLuke Kanies2008-02-181-11/+44
| | |/ | | | | | | | | | | | | permission denied exceptions caught, thus forbidding them from being replaced with 'nil'.
| | * Fixing a failing test that resulted from a changeLuke Kanies2008-02-181-1/+2
| | | | | | | | | | | | in how checksums are created.
| * | Merge branch '0.24.x'Luke Kanies2008-02-183-1/+111
| |\| | | | | | | | | | | | | | | | | | | Conflicts: CHANGELOG man/man8/puppet.8
| | * Refactoring the incremental checksum generationLuke Kanies2008-02-141-18/+12
| | | | | | | | | | | | slightly based on the code in type/file/checksum.rb.
| | * Enhancing the stand-alone checksums utility moduleLuke Kanies2008-02-141-0/+105
| | | | | | | | | | | | | | | | | | with the rest of the checksums we're likely to use, and adding tests, which I somehow missed when I wrote this file.
| | * Renaming the 'pfile' and 'pfilebucket' files to plainLuke Kanies2008-02-131-1/+1
| | | | | | | | | | | | | | | 'file' and 'filebucket'. This should have been done years ago.
| | * Fixed #1021 -- the problem was that my method of determiningLuke Kanies2008-02-131-0/+11
| | | | | | | | | | | | | | | the in-degree sometimes resulted in a lower number than the number of in-edges.
| * | Merge branch '0.24.x'Luke Kanies2008-02-123-7/+7
| |\|
| | * 'rake' within the spec dir works now, anyway, which isLuke Kanies2008-02-123-7/+7
| | | | | | | | | | | | a good start. Autotest still doesn't work, though.
| * | Merge branch '0.24.x'Luke Kanies2008-02-1218-408/+1788
| |\| | | | | | | | | | | | | | | | Conflicts: CHANGELOG
| | * Adding an inflection util class.Luke Kanies2008-02-121-0/+70
| | |
| | * Fixed #997 -- virtual defined types are no longer evaluated.Luke Kanies2008-02-121-4/+13
| | | | | | | | | | | | | | | | | | | | | 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-0/+275
| | | | | | | | | | | | | | | | | | | | | *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-75/+75
| | | | | | | | | | | | removing the bangs from 'add_vertex!' and 'add_edge!'.
| | * Added a 'tagged?' method to the Tagging module.Luke Kanies2008-02-111-0/+9
| | |
| | * Switching the Node Catalog to using a separate methodLuke Kanies2008-02-111-0/+6
| | | | | | | | | | | | | | | | | | for validating that a given resource is unique within the catalog. This no longer allows any duplication, even with Execs.
| | * Changing the name of the Compile class to Compiler,Luke Kanies2008-02-118-191/+191
| | | | | | | | | | | | | | | since it's stupid to have a class named after a verb.
| | * Refactoring the interface between the Compile classLuke Kanies2008-02-111-26/+15
| | | | | | | | | | | | | | | and the AST::Node class to match that to the definitions and AST classes.
| | * Changing some methods in the Compile class toLuke Kanies2008-02-112-25/+25
| | | | | | | | | | | | | | | 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-112-113/+224
| | | | | | | | | | | | | | | | | | 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-111-30/+13
| | | | | | | | | | | | | | | 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-31/+333
| | | | | | | | | | | | | | | | | | 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-082-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-082-6/+6
| | | | | | | | | | | | | | | | | | 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.
| | * Fixing the Settings class so that it correctly handlesLuke Kanies2008-02-071-0/+6
| | | | | | | | | | | | file values that are false.
| | * Fix ticket 974. My original "fix" wasn't. This actually fixes the problem by ↵Paul Lathrop2008-02-051-0/+6
| | | | | | | | | | | | using a regular expression that matches only up to the first square bracket.
| | * Significantly refactoring the lexer, including adding Token and TokenListLuke Kanies2008-01-301-0/+465
| | | | | | | | | | | | | | | | | | classes for managing how the tokens work. I also moved they tests to RSpec, but I didn't rewrite all of them.
| | * I think I've finally fixed #959, by having the SettingsLuke Kanies2008-01-201-0/+10
| | | | | | | | | | | | class skip any resources that are already in memory.
| | * Fixing #976 -- both the full name of qualified classes andLuke Kanies2008-01-192-0/+139
| | | | | | | | | | | | | | | | | | the class parts are now added as tags. I've also created a Tagging module that we should push throughout the rest of the system that uses tags.
| * | Environments are now available as variables in manifests,Luke Kanies2008-01-201-0/+16
| | | | | | | | | | | | and specs can be directly executed again.
| * | Merge branch '0.24.x'Luke Kanies2008-01-197-39/+239
| |\|
| * | Removed remaining elements of old_parse - closing Ticket #990James Turnbull2008-01-191-5/+0
| | |