| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
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.
|
|
|
|
| |
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).
|
|
|
|
| |
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.
|
|
|
|
| |
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).
|
|
|
|
| |
retrieved from the normal Puppet configuration, so it is set via puppet.conf or the cli, rather than being a normal fact.
|
|
|
|
| |
interpreter was not passing on that the config should use ast nodes
|
|\ |
|
| | |
|
|\|
| |
| |
| | |
conflicts, so this commit might only be necessary because I did not pull sufficiently often.
|
| |\ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Puppet now looks for a lib directory inside each module bundle, and adds
the directory to the list searched by Puppet::Util::Autoload.
The intent is to facilitate more sophisticated virtual types and flexibility
within modules.
|
| |\ \ |
|
| | |/
| |/| |
|
|\ \ \
| |_|/
|/| | |
|
| | |
| | |
| | |
| | | |
There are still failing tests, but apparently only those that are also failing in trunk.
|
| | |
| | |
| | |
| | | |
client, just like it expects, and fixing how the resource handler calls the master type.
|
| | |
| | |
| | |
| | | |
down to tests that (yay!) fail in trunk.
|
| | |
| | |
| | |
| | | |
but I want to commit this before delving into them. My method for fixing the tests was to do as little as possible, keeping the tests as bad or as good as they were before I started. Mostly this was about changing references to the interpreter into references to the parser (since that is where the new* methods are now for ast containers) and then dealing with the new config object and its relationship to scopes.
|
| | |
| | |
| | |
| | | |
unfortunately had to stop being so assiduous in my rewriting of tests, but I am in too much of a time crunch to do this "right". The basic structure is definitely in place, though, and from here it is a question of making the rest of the tests work and hopefully writing some sufficient new tests, rather than making the code itself work.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
but the rest of the compiling process is hosed
(although the parser itself should still be fine).
The configuration object is unifying a lot of work
that was scattered around either the interpreter or
the scopes, and it simplifies the whole system.
However, its new simplicity has made the complexity
of the rest of the system that much more apparent,
and I am resolved to fixing the system rather than
hacking it sufficiently to just make it work.
|
| | |
| | |
| | |
| | | |
serving and such
|
| | |
| | |
| | |
| | | |
interpreter
|
| | |
| | |
| | |
| | | |
and the interpreter.
|
| | |
| | |
| | |
| | | |
to convert the interpreter to use SimpleNode objects, then continue with the Configuration object.
|
| | | |
|
| | |
| | |
| | |
| | | |
just return an empty node.
|
| | |
| | |
| | |
| | |
| | | |
and knows how to retrieve data from those sources. Now I just need to fix
the language stuff to use this handler instead of the existing node stuff.
|
| |/
| |
| |
| |
| |
| |
| |
| | |
This has required splitting the interpreter up considerably, which is much
cleaner but is a large project. There is now a 'nodes' handler, but it is
currently non-functional, although all the support structure is there. It just
needs to have the individual methods fleshed out, and it needs to be connected
to the 'facts' handler.
|
|/
|
|
| |
confusing mention of "exists"
|
|
|
|
| |
command-line arguments
|
|
|
|
| |
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2769 980ebf18-57e1-0310-9a29-db15c13687c0
|
|
|
|
| |
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2768 980ebf18-57e1-0310-9a29-db15c13687c0
|
|
|
|
| |
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2764 980ebf18-57e1-0310-9a29-db15c13687c0
|