summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* 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.
* 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 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 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.
* | | 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.
| * | Demoting the "file does not exist" log to debug from noticeLuke Kanies2007-09-251-1/+1
| | |
| * | Merge branch 'indirection' of git://reductivelabs.com/puppet-lukeLuke Kanies2007-09-2566-1233/+1888
| |\ \
| * | | Fixing a small problem with the mailman typeLuke Kanies2007-09-251-2/+2
| | |/ | |/|
| * | Merge branch 'testing'Luke Kanies2007-09-115-706/+673
| |\ \
| | * | 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-103-576/+553
| | | | | | | | | | | | | | | | | | | | lexer. Updated CLASSREF token regex in the lexer.
| | * | | Fixed #774, which fixed fully qualified collection statementsMichael V. O'Brien2007-09-102-630/+624
| | | | |
* | | | | I changed the Terminus class to switch camelcaseLuke Kanies2007-09-241-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | to underscore-separated words, e.g., FactStore becomes fact_store.
* | | | | Removing obsolete fact stores and node sources. The functionality has been ↵Luke Kanies2007-09-244-239/+0
| |_|_|/ |/| | | | | | | | | | | moved into the indirector.
* | | | Taking a first stab at moving configuration compilingLuke Kanies2007-09-235-10/+193
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into the indirection system. There are still quite a few unanswered questions, the two most notable being embodied in unimplemented tests in the Configuration Code terminus. This also requires changing the behaviour in a few places. In particular, 'puppet' and the 'module_puppet' cfengine module need to store a Node object in memory with the appropriate classes, since that's now the only way to communicate with the compiler. That integration work has not yet been done, partially because the old configuration handler (which the soon-to-be-deprecated master handler now uses) still exists.
* | | | Adding a "memory" node terminus, which willLuke Kanies2007-09-232-0/+29
| | | | | | | | | | | | | | | | | | | | | | | | be used by 'puppet' and the Cfengine 'module_puppet', since they need to set up the node specially with classes and other weird things.
* | | | Adding my first integration test, verifying thatLuke Kanies2007-09-233-16/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | checksum interaction behaves as I expect when interacting with the file terminus. I've also changed how files and checksums behave a bit. Files now create model instances with the content as the only argument during initialization, and checksums now calculate their checksums rather than having them passed in.