summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | Deleting old documentation that somehow made it back into the tree in the ↵Luke Kanies2007-09-0127-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 Kanies2007-08-282-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 Kanies2007-08-283-33/+8
| | | | | |
* | | | | | Making a couple of small bugfixes in the configuration subsystemLuke Kanies2007-08-275-16/+31
| | | | | |
* | | | | | Adding support for providing a diff when files are being changed. Currently ↵Luke Kanies2007-08-2710-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 Kanies2007-08-268-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 Kanies2007-08-269-29/+64
| | | | | | | | | | | | | | | | | | | | | | | | various bug fixes around the network tree.
* | | | | | Adding a bit of testing for node names.Luke Kanies2007-08-262-1/+14
| | | | | |
* | | | | | Moving the node tests to rspec, and cleaning up the spec of the node, ↵Luke Kanies2007-08-262-74/+108
| | | | | | | | | | | | | | | | | | | | | | | | especially WRT the environment.
* | | | | | Moving the node tests to rspec, and cleaning up the spec of the node, ↵Luke Kanies2007-08-261-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | especially WRT the environment.
* | | | | | And we have multiple environment support in the parser. The only remaining ↵Luke Kanies2007-08-2513-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 Kanies2007-08-251-755/+0
| | | | | | | | | | | | | | | | | | | | | | | | rspec
* | | | | | Renaming the "configuration" object to "compile", because it is only a ↵Luke Kanies2007-08-2511-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 Kanies2007-08-251-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | unit/ subdir
* | | | | | Modules are now tested with spec, and they now can handle ↵Luke Kanies2007-08-256-104/+193
| | | | | | | | | | | | | | | | | | | | | | | | environment-specific module paths.
* | | | | | The config class now has support for add an environment to its search path. ↵Luke Kanies2007-08-242-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 Kanies2007-08-244-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 Kanies2007-08-235-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 Kanies2007-08-2313-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 commitLuke Kanies2007-08-231-0/+1
| | | | | |
* | | | | | Building a stand-alone spec directory for creating the new spec-based tests.Luke Kanies2007-08-2386-0/+200
| | | | | |
* | | | | | Adding the second half of the rspec upgrade -- apparently the "git add" ↵Luke Kanies2007-08-2322-1417/+0
| | | | | | | | | | | | | | | | | | | | | | | | thing I used did not remove the old files, only add the new ones.
* | | | | | Upgrading rspec to version 1.0.8. This only includes the contents of the ↵Luke Kanies2007-08-2369-798/+3081
| | | | | | | | | | | | | | | | | | | | | | | | lib directory, and even then only the spec-related stuff, not the autotest stuff.
* | | | | | Adding environment information to the client fact list. The environment is ↵Luke Kanies2007-08-222-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | retrieved from the normal Puppet configuration, so it is set via puppet.conf or the cli, rather than being a normal fact.
* | | | | | Fixing the integration test between interpreter and configuration -- the ↵Luke Kanies2007-08-222-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | interpreter was not passing on that the config should use ast nodes
* | | | | | Merge branch 'master' of git://git.et.redhat.com/puppetLuke Kanies2007-08-221-0/+3
|\ \ \ \ \ \
| * | | | | | Sync to latest specfile in FedoraDavid Lutterkort2007-08-221-0/+3
| | | | | | |
* | | | | | | Merge branch 'master' of ssh://reductivelabs.com/home/michael/git/puppetLuke Kanies2007-08-223-9/+49
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | |
| * | | | | | Fixed CA race condition (#693)Michael V. O'Brien2007-08-223-9/+49
| | |_|_|_|/ | |/| | | |
* | | | | | Merging the multi_env branch with master. There are not actually any ↵Luke Kanies2007-08-2211-65/+254
|\| | | | | | | | | | | | | | | | | | | | | | | conflicts, so this commit might only be necessary because I did not pull sufficiently often.
| * | | | | Fixing the spec library so it correctly can see its versionLuke Kanies2007-08-161-29/+29
| | |_|/ / | |/| | |
| * | | | Merge branch 'master' of http://northstarlabs.net/git/puppetLuke Kanies2007-08-156-1/+87
| |\| | |
| | * | | Added optional per-module lib directory.Jeffrey J McCune2007-08-146-1/+87
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | | Merge /home/michael/git/puppetLuke Kanies2007-08-154-36/+139
| |\ \ \ \
| | * \ \ \ Merge ssh://michael@reductivelabs.com/home/michael/git/puppetMichael V. O'Brien2007-08-141-5/+5
| | |\ \ \ \ | | | | |/ / | | | |/| |
| | * | | | Added shortname support to config.rb and refactored addargsMichael V. O'Brien2007-08-144-36/+139
| | | |/ / | | |/| |
| * | | | Merge /opt/rl/git/puppetLuke Kanies2007-08-141-5/+5
| |\ \ \ \ | | | |/ / | | |/| |
| * | | | Merge /opt/rl/git/puppetluke2007-08-132-5/+22
| | | | | | | | | | | | | | | | | | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2773 980ebf18-57e1-0310-9a29-db15c13687c0
| * | | | Revert "Updating more milestone names"luke2007-08-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 61a747fc2d9bdfbf1b74c4ac3fcaf89114b020e0. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2772 980ebf18-57e1-0310-9a29-db15c13687c0
| * | | | Updating more milestone namesluke2007-08-131-1/+1
| | | | | | | | | | | | | | | | | | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2771 980ebf18-57e1-0310-9a29-db15c13687c0
* | | | | Merge branch 'multi_env'Luke Kanies2007-08-2257-3133/+3965
|\ \ \ \ \ | |_|/ / / |/| | | |
| * | | | The last commits before I actually start on the multi-environment support. ↵Luke Kanies2007-08-229-133/+143
| | | | | | | | | | | | | | | | | | | | There are still failing tests, but apparently only those that are also failing in trunk.
| * | | | Adding the topscope metadata to the configuration being returned to the ↵Luke Kanies2007-08-224-10/+20
| | | | | | | | | | | | | | | | | | | | client, just like it expects, and fixing how the resource handler calls the master type.
| * | | | A round of bugfixing. Many more tests now pass -- I think we are largely ↵Luke Kanies2007-08-2022-228/+141
| | | | | | | | | | | | | | | | | | | | down to tests that (yay!) fail in trunk.
| * | | | All language tests now pass. I expect there are other failures elsewhere, ↵Luke Kanies2007-08-2020-667/+305
| | | | | | | | | | | | | | | | | | | | 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.
| * | | | The first pass where at least all of the snippet tests pass. I have ↵Luke Kanies2007-08-2021-1051/+718
| | | | | | | | | | | | | | | | | | | | 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.
| * | | | The new parser configuration object works now,Luke Kanies2007-08-167-585/+1067
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | | Adding node caching, so that node sources are not spammed during file ↵Luke Kanies2007-08-152-1/+47
| | | | | | | | | | | | | | | | | | | | serving and such
| * | | | Keeping the node names in the node object, so that they are available to the ↵Luke Kanies2007-08-152-1/+5
| | | | | | | | | | | | | | | | | | | | interpreter
| * | | | Refactoring a small part of the interface between the configuration handler ↵Luke Kanies2007-08-152-6/+30
| | | | | | | | | | | | | | | | | | | | and the interpreter.