summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
...
| * | Adding a :code setting for specifying code to runLuke Kanies2007-10-054-32/+8
| | | | | | | | | | | | | | | | | | | | | | | | instead of a manifest, and removing all of the ambiguity around whether an interpreter gets its own file specified or uses the central setting. Most of the changes are around fixing existing tests to use this new system.
| * | This commit is focused on getting the 'puppet' executableLuke Kanies2007-10-057-36/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to work. As a result, it involves a lot of integration-level testing, and a lot of small design changes to make the code actually work. In particular, indirections can now have default termini, so that configurations and facts default to their code terminus Also, I've removed the ability to manually control whether ast nodes are used. I might need to add it back in later, but if so it will be in the form of a global setting, rather than the previous system of passing it through 10 different classes. Instead, the parser detects whether there are AST nodes defined and requires them if so or ignores them if not. About 75 tests are still failing in the main set of tests, but it's going to be a long slog to get them working -- there are significant design issues around them, as most of the failures are a result of tests trying to emulate both the client and server sides of a connection, which normally would have different fact termini but in this case must have the same terminus just because they're in the same process and are global. The next step, then, is to figure that process out, thus finding a way to make this all work.
| * | Adding the integration tests to the Rakefile for spec,Luke Kanies2007-10-041-0/+8
| |/ | | | | | | | | | | fixing the integration tests, and extending the Classmethods for the indirector so that indirected classes can set the terminus class and cache class.
* | Trivial tweak on HTTPServer module fileRick Bradley2007-10-051-1/+2
| |
* | Moving the webrick/mongrel "servers" over to HTTPServer module instead of ↵Rick Bradley2007-10-056-44/+71
| | | | | | | | Server. Using Server as the master class for client connections. Server (former RESTServer) will instantiate the appropriate subclass based upon Puppet configurator setting. There are now tests broken in the network section which I can't seem to figure out yet. Not a happy place to be.
* | Merge branch 'master' of git://reductivelabs.com/puppet into routingRick Bradley2007-10-057-48/+95
|\|
| * Merge branch 'master' of git://michaelobrien.info/puppetLuke Kanies2007-10-044-4/+56
| |\
| | * Fixed #838. Applied patch provided by DavidS to add more robustMichael V. O'Brien2007-10-041-0/+9
| | | | | | | | | | | | update functionality to the dpkg provider.
| | * Fixed #837. Added freebsd service provider by trombik.Michael V. O'Brien2007-10-041-0/+46
| | |
| | * Fixed #855, but I didn't add any tests.Michael V. O'Brien2007-10-041-2/+0
| | |
| | * Fixed #827. Applied a form of the patch provided by porridge andMichael V. O'Brien2007-10-041-2/+1
| | | | | | | | | | | | wrote a test.
| * | Adding another test to the ldap node source -- we makeLuke Kanies2007-10-041-2/+5
| | | | | | | | | | | | | | | sure we throw an appropriate exception if a parent is specified but we cannot find it.
| * | Switching the indirection from using settings for configurationLuke Kanies2007-10-042-42/+34
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | to requiring explicit configuration. This means that if you as an application developer want to use a different indirection terminus then you have to specify it; something like: Puppet::Node.terminus_class = :ldap Caches use the same kind of configuration: Puppet::Node.cache_class = :memory Accordingly, I've removed the existing setting definitions from the defaults.rb.
* | Minor tweaks.Rick Bradley2007-10-041-1/+1
| |
* | Allow for multiple REST servers to be active; some terminology changes in ↵Rick Bradley2007-10-041-21/+23
| | | | | | | | spec; fleshing out more behavior, implementing.
* | Added .listening to REST server, handle listen states and transitions.Rick Bradley2007-10-041-0/+15
| |
* | Updating first portion of the Network RESTServer spec with example code, ↵Rick Bradley2007-10-041-0/+18
| | | | | | | | getting the added examples to pass.
* | Merge branch 'master' of git://reductivelabs.com/puppet into routingRick Bradley2007-10-041-2/+2
|\|
| * Attempting to reproduce and fix #829 by applying patch by Paul. I could notLuke Kanies2007-10-041-2/+2
| | | | | | | | | | | | get a test to show the exception, nor could I figure out how the coding bug could have actually had an impact, but it's an innocent-enough fix, so I'm fine applying it.
* | Merge branch 'master' of git://reductivelabs.com/puppet into routingRick Bradley2007-10-04187-360/+60
|\|
| * Merge branch 'master' of ssh://reductivelabs.com/opt/rl/git/puppetLuke Kanies2007-10-044-118/+5
| |\
| | * Merge branch 'master' of ssh://reductivelabs.com/opt/rl/git/puppetLuke Kanies2007-10-03186-223/+40
| | |\ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: lib/puppet/defaults.rb lib/puppet/dsl.rb
| | * | I finally tracked down the problem that was causing providersLuke Kanies2007-10-033-112/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to sometimes suddenly disappear and thus tests to fail -- Kernel.require was not loading the normal ruby path (e.g., 'puppet/type/cron'), so if someone else loaded that then it would replace the in-memory type with a new one, but that new one couldn't load its own providers, because the Kernel would ignore the providers, thinking they were already loaded. This doesn't fix all of the autoloading problems, but at least we won't suddenly break a ton of tests.
| | * | Fixing the yaml path so that it is correctlyLuke Kanies2007-10-031-6/+3
| | | | | | | | | | | | | | | | created for puppetmasterd.
| * | | Fixing #817, mostly using the patch by DavidS. I couldLuke Kanies2007-10-032-20/+15
| | |/ | |/| | | | | | | | | | not directly use the patch because I have refactored too much.
| * | Removing the Id tags from all of the filesLuke Kanies2007-10-03179-179/+0
| | |
| * | Merge branch 'master' of git://michaelobrien.info/puppetLuke Kanies2007-10-031-3/+1
| |\ \
| | * | Fixed #854.Michael V. O'Brien2007-10-031-3/+1
| | | |
| * | | Fixing #813 -- empty configurations again work.Luke Kanies2007-10-031-2/+3
| |/ /
| * | Merge branch 'master' of git://michaelobrien.info/puppetLuke Kanies2007-10-034-7/+17
| |\ \
| | * | Merge branch 'master' of git://reductivelabs.com/puppetMichael V. O'Brien2007-10-031-6/+7
| | |\|
| | * | Fixed #832. Added the '--no-daemonize' option to puppetd and puppetmasterd.Michael V. O'Brien2007-10-033-3/+9
| | | | | | | | | | | | | | | | | | | | The default behavior of 'verbose' and 'debug' no longer cause puppetd and puppetmasterd to not daemonize.
| | * | Merge branch 'master' of git://reductivelabs.com/puppetMichael V. O'Brien2007-10-033-57/+113
| | |\ \
| | * \ \ Merge branch 'master' of git://reductivelabs.com/puppetMichael V. O'Brien2007-09-259-242/+66
| | |\ \ \
| | * | | | Updated the configuration doc to more clearly explain where puppet.conf is ↵Michael V. O'Brien2007-09-251-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | expected to be by default.
| | * | | | Merge branch 'master' of git://reductivelabs.com/puppetMichael V. O'Brien2007-09-2567-1236/+1891
| | |\ \ \ \
| * | | | | | Fixing #814 -- when files are missing, the exceptions shouldLuke Kanies2007-10-034-31/+19
| | |_|_|_|/ | |/| | | | | | | | | | | | | | | | now be more reasonable.
* | | | | | Merge branch 'master' of git://reductivelabs.com/puppet into routingRick Bradley2007-10-034-63/+120
|\| | | | |
| * | | | | Merge branch 'master' of ssh://reductivelabs.com/opt/rl/git/puppetLuke Kanies2007-10-033-57/+113
| |\ \ \ \ \ | | | |_|_|/ | | |/| | |
| | * | | | Use external helper script to talk to yum; should avoid any more trouble ↵David Lutterkort2007-10-023-57/+113
| | | |_|/ | | |/| | | | | | | | | | | | | | | | | | | | | | with "yum list". Fixes trac #836 Signed-off-by: David Lutterkort <dlutter@redhat.com>
| * / | | Adding more behaviours to the Puppet::Module spec,Luke Kanies2007-10-031-6/+7
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | and fixing some bugs in the process. Specifically, modules were no longer correctly handling fully qualified files, and they do so once again.
* | | | Interpreting "hidden" class from spec drafts as a REST Controller. This ↵Rick Bradley2007-10-031-0/+2
| | | | | | | | | | | | | | | | name, functionality, and/or location in the tree is subject to change, but it's down now somewhere so we can move forward on it.
* | | | Added partial spec for the serving of REST information, as well as some ↵Rick Bradley2007-10-033-0/+16
|/ / / | | | | | | | | | client-side REST terminus behavior.
* | | Adding more indirection termini, mostly focused on cachingLuke Kanies2007-09-253-0/+31
| | | | | | | | | | | | information in yaml.
* | | Adding cache support to indirection. If you haveLuke Kanies2007-09-251-1/+31
| | | | | | | | | | | | | | | a '<indirection>_cache' setting, then the indirection will use the value there as the name of the cache.
* | | Merge branch 'master' of ssh://reductivelabs.com/opt/rl/git/puppet into ↵Luke Kanies2007-09-259-710/+764
|\ \ \ | | | | | | | | | | | | indirection
| * | | Merge branch 'master' of git://michaelobrien.info/puppetLuke Kanies2007-09-252-1/+88
| |\| | | | |/ | |/|
| | * 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.