summaryrefslogtreecommitdiffstats
path: root/lib/puppet/network/handler/configuration.rb
Commit message (Collapse)AuthorAgeFilesLines
* Modified the 'master' handler to use the Catalog class toLuke Kanies2008-04-111-184/+0
| | | | | | | | | | compile node configurations, rather than using the Configuration handler, which was never used directly. I removed the Configuration handler as a result. Modified the 'master' handler (responsible for sending configurations to clients) to always return Time.now as its compile date, so configurations will always get recompiled.
* Fixing #951 -- external nodes work again, but you have toLuke Kanies2007-12-101-2/+2
| | | | set the 'node_terminus' setting to 'exec'.
* All tests should now pass again.Luke Kanies2007-10-081-8/+2
| | | | | | | | | | | | | | This is the first real pass towards using caching. The `puppet` executable actually uses the indirection work, instead of handlers and such (and man! is it cleaner). Most of this work was a result of trying to get the client-side story working, with correct yaml caching of configurations, which means this commit also covers converting configurations to yaml, which was a much bigger PITA than it needed to be. I still need to write integration tests, and I also need to cover the server-side story of a normal configuration retrieval.
* Another round of test-fixing around the changes I madeLuke Kanies2007-10-051-32/+13
| | | | | | | | | to the configuration system. 'puppet' itself still works, even with -e, but I expect that puppetd and puppetmasterd are broken, and there are still quite a few broken tests because the default fact store can't write but that's the default behaviour for a networked configuration master.
* Fixing #814 -- when files are missing, the exceptions shouldLuke Kanies2007-10-031-10/+7
| | | | now be more reasonable.
* Another intermediate commit. The node and fact classes are now functional ↵Luke Kanies2007-09-121-1/+1
| | | | and are used instead of the network handlers, which have been removed. There are some failing tests as a result, but I want to get this code committed before I massage the rest of the system to make it work again.
* The Node handler is now obsolete. Node searching is handled through the ↵Luke Kanies2007-09-111-10/+2
| | | | indirector. I have not yet added the tests for the node handlers themselves, which is next.
* Fixing #807. The exception handling should more closely resemble how it ↵Luke Kanies2007-09-061-1/+3
| | | | used to be done.
* Flipped the switch so that compiles now return a Configuration instance ↵Luke Kanies2007-09-041-3/+3
| | | | instead of pre-extracting the configuration.
* Making a couple of small bugfixes in the configuration subsystemLuke Kanies2007-08-271-0/+5
|
* Multiple environment support now works, and I have even tested it in real ↵Luke Kanies2007-08-261-2/+6
| | | | 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-261-9/+5
| | | | various bug fixes around the network tree.
* Everything up to the parser (and the Modules) is ready to support multiple ↵Luke Kanies2007-08-231-7/+11
| | | | 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).
* The last commits before I actually start on the multi-environment support. ↵Luke Kanies2007-08-221-1/+1
| | | | There are still failing tests, but apparently only those that are also failing in trunk.
* A round of bugfixing. Many more tests now pass -- I think we are largely ↵Luke Kanies2007-08-201-1/+1
| | | | down to tests that (yay!) fail in trunk.
* The first pass where at least all of the snippet tests pass. I have ↵Luke Kanies2007-08-201-1/+6
| | | | 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.
* Refactoring a small part of the interface between the configuration handler ↵Luke Kanies2007-08-151-4/+6
| | | | and the interpreter.
* The new configuration handler looks to be ready for usage. Now I just need ↵Luke Kanies2007-08-151-157/+133
| | | | to convert the interpreter to use SimpleNode objects, then continue with the Configuration object.
* An intermediate commit in the work towards adding multi-environment support.Luke Kanies2007-08-141-0/+226
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.