summaryrefslogtreecommitdiffstats
path: root/test/network/handler/configuration.rb
Commit message (Collapse)AuthorAgeFilesLines
* Modified the 'master' handler to use the Catalog class toLuke Kanies2008-04-111-160/+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-1/+1
| | | | set the 'node_terminus' setting to 'exec'.
* Changing the test/ classes so that they work from the mainLuke Kanies2007-10-261-1/+1
| | | | | | test/ dir or from their own working dir, like the specs do. This was just a question of changing how their libraries are loaded.
* All tests should now pass again.Luke Kanies2007-10-081-20/+7
| | | | | | | | | | | | | | 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 intermediate commit. The node and fact classes are now functional ↵Luke Kanies2007-09-121-2/+2
| | | | 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-20/+2
| | | | indirector. I have not yet added the tests for the node handlers themselves, which is next.
* Multiple environment support now works, and I have even tested it in real ↵Luke Kanies2007-08-261-9/+13
| | | | 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-4/+2
| | | | various bug fixes around the network tree.
* A round of bugfixing. Many more tests now pass -- I think we are largely ↵Luke Kanies2007-08-201-2/+2
| | | | down to tests that (yay!) fail in trunk.
* Refactoring a small part of the interface between the configuration handler ↵Luke Kanies2007-08-151-2/+24
| | | | and the interpreter.
* The new configuration handler looks to be ready for usage. Now I just need ↵Luke Kanies2007-08-151-0/+167
to convert the interpreter to use SimpleNode objects, then continue with the Configuration object.