| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
asked about, rather than when it is defined.
|
|
|
|
| |
indirector. I have not yet added the tests for the node handlers themselves, which is next.
|
| |
|
|
|
|
| |
autoload, which could class with Kernel.autoload.
|
|\ |
|
| | |
|
| |\ |
|
| |\ \ |
|
| |\ \ \ |
|
| |\ \ \ \ |
|
| |\ \ \ \ \ |
|
| |_|_|_|_|/
|/| | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
problem was that the autoload tests were somehow clearing all loaded classes, including the providers. This is fixed now.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
tests pass again, dammit.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
apparently broke this test.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
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.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
but it is unfortunately disabled because we cannot realistically fix it using the current design. It will be easy after the REST refactor, though.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
qualified by prepending the wd to unqualified path names.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
parent classes can use tagged() to test if a node is a member of a subclass.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
used to be done.
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
type, just like resource references do, which causes the resource and reference to again agree on the full name of a given defined type.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
I still do not really know how i will use it, though.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
keep any of this, but i wanted to store a copy before i got much further.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
instead of pre-extracting the configuration.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
again. This is the majority of the work necessary to make the separate "configuration" object work.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
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.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
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.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
The work is done in either AST::ResourceDef#evaluate or Compile#store_resource.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
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.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
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.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
"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.
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
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.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
life. This commit is mostly a bug-fix commit, resulting from the difference between real-life testing and unit testing.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
various bug fixes around the network tree.
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
especially WRT the environment.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
especially WRT the environment.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
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).
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
rspec
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
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.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
unit/ subdir
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
environment-specific module paths.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Now I just need to go through the whole system and use the search path in addition to the parameter name itself.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
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.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
significantly changing its internals and the current tests, I think, will be harder to migrate than just writing rspec tests from scratch.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
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).
|
| | | | | | |
|