Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Adding an inflection util class. | Luke Kanies | 2008-02-12 | 2 | -0/+84 |
| | |||||
* | Fixed #997 -- virtual defined types are no longer evaluated. | Luke Kanies | 2008-02-12 | 6 | -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.x | Luke Kanies | 2008-02-12 | 1 | -2/+6 |
|\ | |||||
| * | Fix bug #997, only evaluate non-virtual definitions | Bart Vanbrabant | 2008-01-22 | 1 | -2/+6 |
| | | |||||
* | | Moving the ast node tests to rspec (which I could have | Luke Kanies | 2008-02-12 | 9 | -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 Kanies | 2008-02-11 | 16 | -111/+103 |
| | | | | | | | | removing the bangs from 'add_vertex!' and 'add_edge!'. | ||||
* | | Switching the Node catalog to use the Tagging module | Luke Kanies | 2008-02-11 | 1 | -25/+4 |
| | | | | | | | | instead of its own tag methods. | ||||
* | | Added a 'tagged?' method to the Tagging module. | Luke Kanies | 2008-02-11 | 2 | -0/+14 |
| | | |||||
* | | Switching the Node Catalog to using a separate method | Luke Kanies | 2008-02-11 | 2 | -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 Kanies | 2008-02-11 | 30 | -263/+263 |
| | | | | | | | | | | since it's stupid to have a class named after a verb. | ||||
* | | Refactoring the interface between the Compile class | Luke Kanies | 2008-02-11 | 2 | -29/+16 |
| | | | | | | | | | | and the AST::Node class to match that to the definitions and AST classes. | ||||
* | | Changing some methods in the Compile class to | Luke Kanies | 2008-02-11 | 9 | -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 significantly | Luke Kanies | 2008-02-11 | 8 | -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 instance | Luke Kanies | 2008-02-11 | 9 | -662/+54 |
| | | | | | | | | | | as its resource container, instead of having its own behaviour around resource uniqueness. | ||||
* | | Moving all of the tests for Puppet::Parser::Compile to | Luke Kanies | 2008-02-11 | 5 | -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 classes | Luke Kanies | 2008-02-08 | 13 | -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 that | Luke Kanies | 2008-02-08 | 36 | -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 class | Luke Kanies | 2008-02-08 | 1 | -39/+3 |
| | | |||||
* | | Ceasing autoloading ast files; loading them manually instead | Luke Kanies | 2008-02-08 | 1 | -7/+21 |
| | | |||||
* | | Stubbing Facter during the snippet tests, so they are faster and work with ↵ | Luke Kanies | 2008-02-08 | 1 | -0/+2 |
| | | | | | | | | no network | ||||
* | | Adding more information to dependencies that do not resolve | Luke Kanies | 2008-02-07 | 1 | -1/+1 |
| | | |||||
* | | Applying patch by Jay to fix #989 -- missing crl files are | Luke Kanies | 2008-02-07 | 6 | -8/+12 |
| | | | | | | | | | | correctly ignored, and you now use 'false' instead of 'none' to explicitly ignore them. | ||||
* | | Fixing the Settings class so that it correctly handles | Luke Kanies | 2008-02-07 | 2 | -7/+15 |
| | | | | | | | | file values that are false. | ||||
* | | Merge commit 'plathrop/fix-1007' into 0.24.x | Luke Kanies | 2008-02-07 | 2 | -7/+56 |
|\ \ | |||||
| * | | Added :env parameter for backwards-compatibility, with warning about ↵ | Paul Lathrop | 2008-02-05 | 2 | -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 Lathrop | 2008-02-05 | 1 | -8/+8 |
| | | | | | | | | | | | | 'env' | ||||
* | | | Fix ticket 974. My original "fix" wasn't. This actually fixes the problem by ↵ | Paul Lathrop | 2008-02-05 | 2 | -2/+8 |
| | | | | | | | | | | | | using a regular expression that matches only up to the first square bracket. | ||||
* | | | fix bug 974 - filenames with opening bracket characters generate exceptions | Paul Lathrop | 2008-02-05 | 1 | -1/+1 |
|/ / | |||||
* | | Merge branch '0.24.x' of git://wormwood.lovedthanlost.net/puppet into 0.24.x | Luke Kanies | 2008-02-05 | 1 | -1/+8 |
|\ \ | |||||
| * | | Added hostname test for hosts type | James Turnbull | 2008-02-06 | 1 | -1/+8 |
| | | | |||||
* | | | Merge commit 'bartv/pending/fix-933' into 0.24.x | Luke Kanies | 2008-02-05 | 1 | -0/+2 |
|\ \ \ | |||||
| * | | | Store a resource before adding relations to it otherwise activerecord will | Bart Vanbrabant | 2008-02-03 | 1 | -0/+2 |
| | |/ | |/| | | | | | | | complain. This fixes #933 | ||||
* | | | Updating the docs for the cron type | Luke Kanies | 2008-02-05 | 1 | -7/+18 |
| | | | |||||
* | | | Merge commit 'turnbull/0.24.x' into 0.24.x | Luke Kanies | 2008-02-04 | 8 | -15/+32 |
|\ \ \ | | |/ | |/| | |||||
| * | | Updated fix for ticket #151 and added a test | James Turnbull | 2008-02-05 | 2 | -3/+10 |
| | | | |||||
| * | | Merge branch '0.24.x' of git://reductivelabs.com/puppet into 0.24.x | James Turnbull | 2008-02-03 | 5 | -566/+857 |
| |\ \ | |||||
| * | | | Fixed tickt #1034 - doco typo | James Turnbull | 2008-01-31 | 1 | -2/+2 |
| | | | | |||||
| * | | | Fixed #1001 | James Turnbull | 2008-01-28 | 1 | -1/+1 |
| | | | | |||||
| * | | | Merge branch '0.24.x' of git://reductivelabs.com/puppet into 0.24.x | James Turnbull | 2008-01-28 | 2 | -4/+4 |
| |\ \ \ | |||||
| * | | | | Fixed #1028 - examples incorrect for 0.24.x | James Turnbull | 2008-01-28 | 2 | -7/+6 |
| | | | | | |||||
| * | | | | Removed womble-specific Debian build section | James Turnbull | 2008-01-28 | 1 | -4/+0 |
| | | | | | |||||
| * | | | | Fixed #1006 - changed ldapnodes to node_terminus | James Turnbull | 2008-01-28 | 1 | -1/+1 |
| | | | | | |||||
| * | | | | Second attempt to fix ticket #151 - host type now validates IP addresses and ↵ | James Turnbull | 2008-01-25 | 1 | -0/+15 |
| | | | | | | | | | | | | | | | | | | | | hostnames/FQDNs | ||||
| * | | | | Revert "Fixes ticket #151 - host type now validates IP addresses and ↵ | James Turnbull | 2008-01-25 | 1 | -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 Turnbull | 2008-01-22 | 1 | -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.x | James Turnbull | 2008-01-21 | 0 | -0/+0 |
| |\ \ \ \ | | | |_|/ | | |/| | | |||||
| * | | | | Merge branch '0.24.x' of git://reductivelabs.com/puppet into 0.24.x | James Turnbull | 2008-01-21 | 7 | -99/+54 |
| |\ \ \ \ | |||||
* | | | | | | Fixing #1017 -- environment-specific modulepath is no | Luke Kanies | 2008-02-04 | 4 | -3/+17 |
| |_|_|_|/ |/| | | | | | | | | | | | | | | longer ignored. (Cherry-picked from master.) | ||||
* | | | | | Significantly refactoring the lexer, including adding Token and TokenList | Luke Kanies | 2008-01-30 | 5 | -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 Kanies | 2008-01-28 | 1 | -22/+6 |
| |_|_|/ |/| | | |