summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| | | * | More spec and indirector updates.Rick Bradley2007-09-202-105/+46
| | | | |
| | | * | Finally, some progress. Closing the loops and delegating registered class ↵Rick Bradley2007-09-191-9/+38
| | | | | | | | | | | | | | | | | | | | calls out to the actual Terminus.
| | | * | Reworking the Indirector code. Continuing to fight the classgen and ↵Rick Bradley2007-09-192-118/+225
| | | | | | | | | | | | | | | | | | | | instance_loader "utilities".
| | * | | Merge branch 'indirection' of http://git.rickbradley.com/puppet into indirectionLuke Kanies2007-09-176-13/+113
| | |\| | | | | |/ | | |/|
| | | * Updates to indirection stuffs. Making a better spec and migrating to it.Rick Bradley2007-09-176-13/+113
| | | |
| | * | Removing the completely obsolete passwd2puppet and the obsolete component.rbLuke Kanies2007-09-132-269/+0
| | |/
| | * Moving the resource container behaviour to the Configuration object, rather ↵Luke Kanies2007-09-125-53/+50
| | | | | | | | | | | | than the base PGraph class. I expect I will just do away with PGraph, but for now, I am at least going to keep configuration-related code in that class.
| | * Adding a to_graph method to TransBuckets, so that the buckets can directly ↵Luke Kanies2007-09-1210-337/+629
| | | | | | | | | | | | generate a graph, rather than having to first convert to RAL types and then have them convert to a graph. This allows us to make it so components do not need a @children array at all. This was all done because I am having the "already a parent of" problem again, and I have gotten far enough that it is relatively easy to just make this problem go away once and for all.
| | * Another intermediate commit. The node and fact classes are now functional ↵Luke Kanies2007-09-1234-475/+776
| | | | | | | | | | | | 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.
| | * Adding setup/teardown hooks to rspec, so we can use test/unit methodsLuke Kanies2007-09-111-0/+7
| | |
| | * Refactoring the feature support so it loads libraries when a feature is ↵Luke Kanies2007-09-112-24/+31
| | | | | | | | | | | | asked about, rather than when it is defined.
| | * The Node handler is now obsolete. Node searching is handled through the ↵Luke Kanies2007-09-1110-1031/+215
| | | | | | | | | | | | indirector. I have not yet added the tests for the node handlers themselves, which is next.
| | * Doing an intermediate commit so rick can look at the work I have done so far.Luke Kanies2007-09-1114-34/+774
| | |
| * | Fixing a small problem with the mailman typeLuke Kanies2007-09-251-2/+2
| | |
* | | Renamed princs to principals in the k5login type.Michael V. O'Brien2007-09-241-7/+7
| | |
* | | Added k5login type written by Digant Kasundra. This is for ticket #759.Digant Kasundra2007-09-241-0/+87
| | |
* | | Partial fix for #772. The SIGHUP now produces a EOPNOTSUPP instead of ↵Michael V. O'Brien2007-09-141-1/+1
|/ / | | | | | | NameError.
* | Merge branch 'testing'Luke Kanies2007-09-117-707/+700
|\ \ | |/ |/|
| * Fixed #797. Removed the warning message about specifying 'enable' or ↵Michael V. O'Brien2007-09-111-4/+0
| | | | | | | | 'ensure' when initializing a service.
| * Merge branch 'master' of git://reductivelabs.com/puppetMichael V. O'Brien2007-09-112-2/+2
| |\
| * | Fixed #784 by applying patch by vvidic.Michael V. O'Brien2007-09-111-1/+1
| | |
| * | Removed TYPE token, replacing it with CLASSREF token, in the grammar and ↵Michael V. O'Brien2007-09-104-577/+572
| | | | | | | | | | | | lexer. Updated CLASSREF token regex in the lexer.
| * | Fixed #774, which fixed fully qualified collection statementsMichael V. O'Brien2007-09-103-630/+632
| | |
* | | Renaming the instance loader method to "instance_load". It was previously ↵Luke Kanies2007-09-105-8/+8
| |/ |/| | | | | autoload, which could class with Kernel.autoload.
* | Merge branch 'master' of http://northstarlabs.net/git/puppetLuke Kanies2007-09-101-1/+1
|\ \
| * | Fixed hdiutil syntax for ticket 812Jeffrey J McCune2007-09-101-1/+1
| | |
| * | Merge branch 'master' of git://reductivelabs.com/puppetJeffrey J McCune2007-09-10260-10603/+9317
| |\|
| * | Merge branch 'master' of git://reductivelabs.com/puppetJeffrey J McCune2007-08-161-29/+29
| |\ \
| * \ \ Merge commit 'aabad8e'Jeffrey J McCune2007-08-1515-754/+1648
| |\ \ \
| * \ \ \ Merge branch 'master' of git://reductivelabs.com/puppetJeffrey J McCune2007-08-154-36/+139
| |\ \ \ \
| * \ \ \ \ Merge branch 'master' of git://reductivelabs.com/puppetJeffrey J McCune2007-08-141-5/+5
| |\ \ \ \ \
* | | | | | | Removing extraneous logging from the node handlerLuke Kanies2007-09-101-1/+1
| |_|_|_|_|/ |/| | | | |
* | | | | | *Finally* fixing the tests that were failing around users and groups. The ↵Luke Kanies2007-09-078-54/+25
| | | | | | | | | | | | | | | | | | | | | | | | problem was that the autoload tests were somehow clearing all loaded classes, including the providers. This is fixed now.
* | | | | | Fixing some failed tests. Mostly cleanup. Next is to make all of the user ↵Luke Kanies2007-09-0711-216/+61
| | | | | | | | | | | | | | | | | | | | | | | | tests pass again, dammit.
* | | | | | Fixing a path test. I have now made the path stuff a lot cleaner, but it ↵Luke Kanies2007-09-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | apparently broke this test.
* | | | | | Fixing #801 -- resources that have changes when running in noop mode do not ↵Luke Kanies2007-09-072-3/+29
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | | Fixing some broken tests in the master client, and adding a test for #800 ↵Luke Kanies2007-09-064-34/+38
| | | | | | | | | | | | | | | | | | | | | | | | but it is unfortunately disabled because we cannot realistically fix it using the current design. It will be easy after the REST refactor, though.
* | | | | | Fixing #795 -- configuration elements now make sure all file paths are fully ↵Luke Kanies2007-09-062-2/+21
| | | | | | | | | | | | | | | | | | | | | | | | qualified by prepending the wd to unqualified path names.
* | | | | | Fixing #802 -- tags are now applied before parent classes are evaluated, so ↵Luke Kanies2007-09-064-7/+31
| | | | | | | | | | | | | | | | | | | | | | | | parent classes can use tagged() to test if a node is a member of a subclass.
* | | | | | Fixing #807. The exception handling should more closely resemble how it ↵Luke Kanies2007-09-064-11/+32
| | | | | | | | | | | | | | | | | | | | | | | | used to be done.
* | | | | | Renaming some ast resource classes and files so they make a lot more sense.Luke Kanies2007-09-0611-31/+31
| | | | | |
* | | | | | Fixing #806. Resources correctly look up their fully qualified definition ↵Luke Kanies2007-09-066-21/+98
| | | | | | | | | | | | | | | | | | | | | | | | type, just like resource references do, which causes the resource and reference to again agree on the full name of a given defined type.
* | | | | | A small change to the indirector, moving it to a module instead of a class. ↵Luke Kanies2007-09-061-64/+19
| | | | | | | | | | | | | | | | | | | | | | | | I still do not really know how i will use it, though.
* | | | | | Adding my indirector class before i rewrite it. I am probably not going to ↵Luke Kanies2007-09-061-0/+121
| | | | | | | | | | | | | | | | | | | | | | | | keep any of this, but i wanted to store a copy before i got much further.
* | | | | | Flipped the switch so that compiles now return a Configuration instance ↵Luke Kanies2007-09-0412-57/+53
| | | | | | | | | | | | | | | | | | | | | | | | instead of pre-extracting the configuration.
* | | | | | Successfully modified all tests and code so that all language tests pass ↵Luke Kanies2007-09-0417-358/+316
| | | | | | | | | | | | | | | | | | | | | | | | again. This is the majority of the work necessary to make the separate "configuration" object work.
* | | | | | We now have a real configuration object, as a subclass of GRATR::Digraph, ↵Luke Kanies2007-09-0438-658/+378
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | | More refactoring. I have removed a few more extraneous methods from Scope, ↵Luke Kanies2007-09-0311-126/+70
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | | Removing the Scope#setresource method, since it was essentially redundant. ↵Luke Kanies2007-09-034-29/+12
| | | | | | | | | | | | | | | | | | | | | | | | The work is done in either AST::ResourceDef#evaluate or Compile#store_resource.
* | | | | | Doing a small amount of refactoring, toward being able to use Parser ↵Luke Kanies2007-09-0311-293/+240
| | | | | | | | | | | | | | | | | | | | | | | | 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.