summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Adding an inflection util class.Luke Kanies2008-02-122-0/+84
|
* Fixed #997 -- virtual defined types are no longer evaluated.Luke Kanies2008-02-126-42/+53
| | | | | | | 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.
* Merge commit 'bartv/pending/fix-997' into 0.24.xLuke Kanies2008-02-121-2/+6
|\
| * Fix bug #997, only evaluate non-virtual definitionsBart Vanbrabant2008-01-221-2/+6
| |
* | Moving the ast node tests to rspec (which I could haveLuke Kanies2008-02-129-272/+299
| | | | | | | | | | | | | | *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-1116-111/+103
| | | | | | | | removing the bangs from 'add_vertex!' and 'add_edge!'.
* | Switching the Node catalog to use the Tagging moduleLuke Kanies2008-02-111-25/+4
| | | | | | | | instead of its own tag methods.
* | Added a 'tagged?' method to the Tagging module.Luke Kanies2008-02-112-0/+14
| |
* | Switching the Node Catalog to using a separate methodLuke Kanies2008-02-112-29/+33
| | | | | | | | | | | | 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-1130-263/+263
| | | | | | | | | | since it's stupid to have a class named after a verb.
* | Refactoring the interface between the Compile classLuke Kanies2008-02-112-29/+16
| | | | | | | | | | and the AST::Node class to match that to the definitions and AST classes.
* | Changing some methods in the Compile class toLuke Kanies2008-02-119-55/+55
| | | | | | | | | | 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-118-328/+264
| | | | | | | | | | | | 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-119-662/+54
| | | | | | | | | | 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-115-84/+350
| | | | | | | | | | | | 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-0813-333/+341
| | | | | | | | | | | | | | | | | | | | | | 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-0836-179/+136
| | | | | | | | | | | | 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.
* | Removing some obsolete code from the AST base classLuke Kanies2008-02-081-39/+3
| |
* | Ceasing autoloading ast files; loading them manually insteadLuke Kanies2008-02-081-7/+21
| |
* | Stubbing Facter during the snippet tests, so they are faster and work with ↵Luke Kanies2008-02-081-0/+2
| | | | | | | | no network
* | Adding more information to dependencies that do not resolveLuke Kanies2008-02-071-1/+1
| |
* | Applying patch by Jay to fix #989 -- missing crl files areLuke Kanies2008-02-076-8/+12
| | | | | | | | | | correctly ignored, and you now use 'false' instead of 'none' to explicitly ignore them.
* | Fixing the Settings class so that it correctly handlesLuke Kanies2008-02-072-7/+15
| | | | | | | | file values that are false.
* | Merge commit 'plathrop/fix-1007' into 0.24.xLuke Kanies2008-02-072-7/+56
|\ \
| * | Added :env parameter for backwards-compatibility, with warning about ↵Paul Lathrop2008-02-052-0/+49
| | | | | | | | | | | | 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.
| * | Fujin's patch for ticket #1007 - consistent use of 'environment' instead of ↵Paul Lathrop2008-02-051-8/+8
| | | | | | | | | | | | 'env'
* | | Fix ticket 974. My original "fix" wasn't. This actually fixes the problem by ↵Paul Lathrop2008-02-052-2/+8
| | | | | | | | | | | | using a regular expression that matches only up to the first square bracket.
* | | fix bug 974 - filenames with opening bracket characters generate exceptionsPaul Lathrop2008-02-051-1/+1
|/ /
* | 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 'bartv/pending/fix-933' into 0.24.xLuke Kanies2008-02-051-0/+2
|\ \ \
| * | | Store a resource before adding relations to it otherwise activerecord willBart Vanbrabant2008-02-031-0/+2
| | |/ | |/| | | | | | | complain. This fixes #933
* | | Updating the docs for the cron typeLuke Kanies2008-02-051-7/+18
| | |
* | | Merge commit 'turnbull/0.24.x' into 0.24.xLuke Kanies2008-02-048-15/+32
|\ \ \ | | |/ | |/|
| * | Updated fix for ticket #151 and added a testJames Turnbull2008-02-052-3/+10
| | |
| * | Merge branch '0.24.x' of git://reductivelabs.com/puppet into 0.24.xJames Turnbull2008-02-035-566/+857
| |\ \
| * | | Fixed tickt #1034 - doco typoJames Turnbull2008-01-311-2/+2
| | | |
| * | | Fixed #1001James Turnbull2008-01-281-1/+1
| | | |
| * | | Merge branch '0.24.x' of git://reductivelabs.com/puppet into 0.24.xJames Turnbull2008-01-282-4/+4
| |\ \ \
| * | | | Fixed #1028 - examples incorrect for 0.24.xJames Turnbull2008-01-282-7/+6
| | | | |
| * | | | Removed womble-specific Debian build sectionJames Turnbull2008-01-281-4/+0
| | | | |
| * | | | Fixed #1006 - changed ldapnodes to node_terminusJames Turnbull2008-01-281-1/+1
| | | | |
| * | | | Second attempt to fix ticket #151 - host type now validates IP addresses and ↵James Turnbull2008-01-251-0/+15
| | | | | | | | | | | | | | | | | | | | hostnames/FQDNs
| * | | | Revert "Fixes ticket #151 - host type now validates IP addresses and ↵James Turnbull2008-01-251-13/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | hostnames/FQDNs - the regex for the latter is quite complex but I have found it bullet-proof in the past" This reverts commit 1ccc9c3b47e7e96f70fa48b2a21c5e10dc103d6e.
| * | | | Fixes ticket #151 - host type now validates IP addresses and hostnames/FQDNs ↵James Turnbull2008-01-221-0/+13
| | | | | | | | | | | | | | | | | | | | - the regex for the latter is quite complex but I have found it bullet-proof in the past
| * | | | Merge branch '0.24.x' of git://reductivelabs.com/puppet into 0.24.xJames Turnbull2008-01-210-0/+0
| |\ \ \ \ | | | |_|/ | | |/| |
| * | | | Merge branch '0.24.x' of git://reductivelabs.com/puppet into 0.24.xJames Turnbull2008-01-217-99/+54
| |\ \ \ \
* | | | | | Fixing #1017 -- environment-specific modulepath is noLuke Kanies2008-02-044-3/+17
| |_|_|_|/ |/| | | | | | | | | | | | | | longer ignored. (Cherry-picked from master.)
* | | | | Significantly refactoring the lexer, including adding Token and TokenListLuke Kanies2008-01-305-553/+860
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | classes for managing how the tokens work. I also moved they tests to RSpec, but I didn't rewrite all of them.
* | | | | Removing tons of unnecessary calls to "nil?" from the lexer.Luke Kanies2008-01-281-22/+6
| |_|_|/ |/| | |