Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | Removed TYPE token, replacing it with CLASSREF token, in the grammar and ↵ | Michael V. O'Brien | 2007-09-10 | 4 | -577/+572 | |
| | | | | | | | | | | | | lexer. Updated CLASSREF token regex in the lexer. | |||||
| * | | Fixed #774, which fixed fully qualified collection statements | Michael V. O'Brien | 2007-09-10 | 3 | -630/+632 | |
| | | | ||||||
* | | | Renaming the instance loader method to "instance_load". It was previously ↵ | Luke Kanies | 2007-09-10 | 5 | -8/+8 | |
| |/ |/| | | | | | autoload, which could class with Kernel.autoload. | |||||
* | | Merge branch 'master' of http://northstarlabs.net/git/puppet | Luke Kanies | 2007-09-10 | 1 | -1/+1 | |
|\ \ | ||||||
| * | | Fixed hdiutil syntax for ticket 812 | Jeffrey J McCune | 2007-09-10 | 1 | -1/+1 | |
| | | | ||||||
| * | | Merge branch 'master' of git://reductivelabs.com/puppet | Jeffrey J McCune | 2007-09-10 | 260 | -10603/+9317 | |
| |\| | ||||||
| * | | Merge branch 'master' of git://reductivelabs.com/puppet | Jeffrey J McCune | 2007-08-16 | 1 | -29/+29 | |
| |\ \ | ||||||
| * \ \ | Merge commit 'aabad8e' | Jeffrey J McCune | 2007-08-15 | 15 | -754/+1648 | |
| |\ \ \ | ||||||
| * \ \ \ | Merge branch 'master' of git://reductivelabs.com/puppet | Jeffrey J McCune | 2007-08-15 | 4 | -36/+139 | |
| |\ \ \ \ | ||||||
| * \ \ \ \ | Merge branch 'master' of git://reductivelabs.com/puppet | Jeffrey J McCune | 2007-08-14 | 1 | -5/+5 | |
| |\ \ \ \ \ | ||||||
* | | | | | | | Removing extraneous logging from the node handler | Luke Kanies | 2007-09-10 | 1 | -1/+1 | |
| |_|_|_|_|/ |/| | | | | | ||||||
* | | | | | | *Finally* fixing the tests that were failing around users and groups. The ↵ | Luke Kanies | 2007-09-07 | 8 | -54/+25 | |
| | | | | | | | | | | | | | | | | | | | | | | | | problem was that the autoload tests were somehow clearing all loaded classes, including the providers. This is fixed now. | |||||
* | | | | | | Fixing some failed tests. Mostly cleanup. Next is to make all of the user ↵ | Luke Kanies | 2007-09-07 | 11 | -216/+61 | |
| | | | | | | | | | | | | | | | | | | | | | | | | tests pass again, dammit. | |||||
* | | | | | | Fixing a path test. I have now made the path stuff a lot cleaner, but it ↵ | Luke Kanies | 2007-09-07 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | apparently broke this test. | |||||
* | | | | | | Fixing #801 -- resources that have changes when running in noop mode do not ↵ | Luke Kanies | 2007-09-07 | 2 | -3/+29 | |
| | | | | | | | | | | | | | | | | | | | | | | | | record that they were checked, so that they will be scheduled on the next run. This is a somewhat murky solution, but considering that no one had submitted this bug before, I expect it will not hit many people. | |||||
* | | | | | | Fixing some broken tests in the master client, and adding a test for #800 ↵ | Luke Kanies | 2007-09-06 | 4 | -34/+38 | |
| | | | | | | | | | | | | | | | | | | | | | | | | but it is unfortunately disabled because we cannot realistically fix it using the current design. It will be easy after the REST refactor, though. | |||||
* | | | | | | Fixing #795 -- configuration elements now make sure all file paths are fully ↵ | Luke Kanies | 2007-09-06 | 2 | -2/+21 | |
| | | | | | | | | | | | | | | | | | | | | | | | | qualified by prepending the wd to unqualified path names. | |||||
* | | | | | | Fixing #802 -- tags are now applied before parent classes are evaluated, so ↵ | Luke Kanies | 2007-09-06 | 4 | -7/+31 | |
| | | | | | | | | | | | | | | | | | | | | | | | | parent classes can use tagged() to test if a node is a member of a subclass. | |||||
* | | | | | | Fixing #807. The exception handling should more closely resemble how it ↵ | Luke Kanies | 2007-09-06 | 4 | -11/+32 | |
| | | | | | | | | | | | | | | | | | | | | | | | | used to be done. | |||||
* | | | | | | Renaming some ast resource classes and files so they make a lot more sense. | Luke Kanies | 2007-09-06 | 11 | -31/+31 | |
| | | | | | | ||||||
* | | | | | | Fixing #806. Resources correctly look up their fully qualified definition ↵ | Luke Kanies | 2007-09-06 | 6 | -21/+98 | |
| | | | | | | | | | | | | | | | | | | | | | | | | type, just like resource references do, which causes the resource and reference to again agree on the full name of a given defined type. | |||||
* | | | | | | A small change to the indirector, moving it to a module instead of a class. ↵ | Luke Kanies | 2007-09-06 | 1 | -64/+19 | |
| | | | | | | | | | | | | | | | | | | | | | | | | I still do not really know how i will use it, though. | |||||
* | | | | | | Adding my indirector class before i rewrite it. I am probably not going to ↵ | Luke Kanies | 2007-09-06 | 1 | -0/+121 | |
| | | | | | | | | | | | | | | | | | | | | | | | | keep any of this, but i wanted to store a copy before i got much further. | |||||
* | | | | | | Flipped the switch so that compiles now return a Configuration instance ↵ | Luke Kanies | 2007-09-04 | 12 | -57/+53 | |
| | | | | | | | | | | | | | | | | | | | | | | | | instead of pre-extracting the configuration. | |||||
* | | | | | | Successfully modified all tests and code so that all language tests pass ↵ | Luke Kanies | 2007-09-04 | 17 | -358/+316 | |
| | | | | | | | | | | | | | | | | | | | | | | | | again. This is the majority of the work necessary to make the separate "configuration" object work. | |||||
* | | | | | | We now have a real configuration object, as a subclass of GRATR::Digraph, ↵ | Luke Kanies | 2007-09-04 | 38 | -658/+378 | |
| | | | | | | | | | | | | | | | | | | | | | | | | that has a resource graph including resources for the container objects like classes and nodes. It is apparently functional, but I have not gone through all of the other tests to fix them yet. That is next. | |||||
* | | | | | | More refactoring. I have removed a few more extraneous methods from Scope, ↵ | Luke Kanies | 2007-09-03 | 11 | -126/+70 | |
| | | | | | | | | | | | | | | | | | | | | | | | | mostly just pointing directly to the compile, and I have begun (but commented out) the move to having resources to model each of the classes and nodes, in addition to the definitions. This will, again, enable a real Configuration object, and it will enable class versioning and similar features. | |||||
* | | | | | | Removing the Scope#setresource method, since it was essentially redundant. ↵ | Luke Kanies | 2007-09-03 | 4 | -29/+12 | |
| | | | | | | | | | | | | | | | | | | | | | | | | The work is done in either AST::ResourceDef#evaluate or Compile#store_resource. | |||||
* | | | | | | Doing a small amount of refactoring, toward being able to use Parser ↵ | Luke Kanies | 2007-09-03 | 11 | -293/+240 | |
| | | | | | | | | | | | | | | | | | | | | | | | | 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. | |||||
* | | | | | | Deleting old documentation that somehow made it back into the tree in the ↵ | Luke Kanies | 2007-09-01 | 27 | -3048/+478 | |
| | | | | | | | | | | | | | | | | | | | | | | | | switch to git, and refactoring the evaluate_classes method on the compile object so I can use resources as intermediaries, thus making classes do late-binding evaluation. | |||||
* | | | | | | Renaming the file containing all of the configuration defaults to ↵ | Luke Kanies | 2007-08-28 | 2 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | "defaults.rb", since I am going to create a separate "configuration" top-level directory to contain all of the classes related to managing the configuration for a given node. | |||||
* | | | | | | Fixing some failing unit tests. | Luke Kanies | 2007-08-28 | 3 | -33/+8 | |
| | | | | | | ||||||
* | | | | | | Making a couple of small bugfixes in the configuration subsystem | Luke Kanies | 2007-08-27 | 5 | -16/+31 | |
| | | | | | | ||||||
* | | | | | | Adding support for providing a diff when files are being changed. Currently ↵ | Luke Kanies | 2007-08-27 | 10 | -20/+132 | |
| | | | | | | | | | | | | | | | | | | | | | | | | uses a local diff binary, but could easily be changed to use the ruby diff/lcs library. Modified puppet and puppetd to automatically show file diffs when in noop mode, but can otherwise be enabled using --show_diff. This only works when running interactively, because the diffs are printed on stdout. | |||||
* | | | | | | Multiple environment support now works, and I have even tested it in real ↵ | Luke Kanies | 2007-08-26 | 8 | -52/+118 | |
| | | | | | | | | | | | | | | | | | | | | | | | | life. This commit is mostly a bug-fix commit, resulting from the difference between real-life testing and unit testing. | |||||
* | | | | | | The fileserver now uses an environment-specific module path. I also made ↵ | Luke Kanies | 2007-08-26 | 9 | -29/+64 | |
| | | | | | | | | | | | | | | | | | | | | | | | | various bug fixes around the network tree. | |||||
* | | | | | | Adding a bit of testing for node names. | Luke Kanies | 2007-08-26 | 2 | -1/+14 | |
| | | | | | | ||||||
* | | | | | | Moving the node tests to rspec, and cleaning up the spec of the node, ↵ | Luke Kanies | 2007-08-26 | 2 | -74/+108 | |
| | | | | | | | | | | | | | | | | | | | | | | | | especially WRT the environment. | |||||
* | | | | | | Moving the node tests to rspec, and cleaning up the spec of the node, ↵ | Luke Kanies | 2007-08-26 | 1 | -0/+0 | |
| | | | | | | | | | | | | | | | | | | | | | | | | especially WRT the environment. | |||||
* | | | | | | And we have multiple environment support in the parser. The only remaining ↵ | Luke Kanies | 2007-08-25 | 13 | -61/+68 | |
| | | | | | | | | | | | | | | | | | | | | | | | | piece to make this complete is to add multiple environment support to the fileserver. I also renamed Configuration.rb to Compile.rb (that is, I fixed all the classes that used to know it as a configuration). | |||||
* | | | | | | Removing this test for now; I do not have time to port it from test/unit to ↵ | Luke Kanies | 2007-08-25 | 1 | -755/+0 | |
| | | | | | | | | | | | | | | | | | | | | | | | | rspec | |||||
* | | | | | | Renaming the "configuration" object to "compile", because it is only a ↵ | Luke Kanies | 2007-08-25 | 11 | -29/+784 | |
| | | | | | | | | | | | | | | | | | | | | | | | | transitional object and I want the real "configuration" object to be the thing that I pass from the server to the client; it will be a subclass of GRATR::Digraph. | |||||
* | | | | | | Oops, created a test directory in the main spec dir, rather than in the ↵ | Luke Kanies | 2007-08-25 | 1 | -0/+0 | |
| | | | | | | | | | | | | | | | | | | | | | | | | unit/ subdir | |||||
* | | | | | | Modules are now tested with spec, and they now can handle ↵ | Luke Kanies | 2007-08-25 | 6 | -104/+193 | |
| | | | | | | | | | | | | | | | | | | | | | | | | environment-specific module paths. | |||||
* | | | | | | The config class now has support for add an environment to its search path. ↵ | Luke Kanies | 2007-08-24 | 2 | -31/+86 | |
| | | | | | | | | | | | | | | | | | | | | | | | | Now I just need to go through the whole system and use the search path in addition to the parameter name itself. | |||||
* | | | | | | I have added basic support for a search path, altho not yet with any ability ↵ | Luke Kanies | 2007-08-24 | 4 | -247/+261 | |
| | | | | | | | | | | | | | | | | | | | | | | | | to manipulate it. All config tests pass in both the old tests and the new ones, so it is time to add the hooks for manipulating the search path. | |||||
* | | | | | | Adding some rspec tests for Config.rb, because I am planning on ↵ | Luke Kanies | 2007-08-23 | 5 | -47/+345 | |
| | | | | | | | | | | | | | | | | | | | | | | | | significantly changing its internals and the current tests, I think, will be harder to migrate than just writing rspec tests from scratch. | |||||
* | | | | | | Everything up to the parser (and the Modules) is ready to support multiple ↵ | Luke Kanies | 2007-08-23 | 13 | -287/+186 | |
| | | | | | | | | | | | | | | | | | | | | | | | | environments, including the parser having an environment setting. I have also created my first spec-based tests, for the interpreter (and deleted the old test/unit tests). | |||||
* | | | | | | Oops, left out the spec rake file from the main spec commit | Luke Kanies | 2007-08-23 | 1 | -0/+1 | |
| | | | | | | ||||||
* | | | | | | Building a stand-alone spec directory for creating the new spec-based tests. | Luke Kanies | 2007-08-23 | 86 | -0/+200 | |
| | | | | | |