summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Fixing #923 (again). The host storage method was notLuke Kanies2007-12-101-3/+1
| | | | | | correctly searching for the host, so it was creating a new host on each run, which is what was causing the conflict.
* Fixing #923. Resources that are collected on the localLuke Kanies2007-12-061-1/+0
| | | | host are no longer marked as not exported.
* Applying patch by whaymond_home to further fix part of #896.Luke Kanies2007-12-061-1/+1
|
* As per lutter; augmented fix for #896 to be configurable and defaulting to ↵Jeffrey J McCune2007-11-292-1/+9
| | | | validate the server certificate, honoring CVE-2007-5162.
* Renaming @model to @resource in a providerLuke Kanies2007-11-281-1/+1
|
* Fixing #892 -- filesystem mounts are no longer remounted.Luke Kanies2007-11-281-1/+1
|
* Fixing #527 (rewrote service tests), #766 (services only restart when theyLuke Kanies2007-11-283-165/+23
| | | | | | | are running), and #918 (service tests fail when hddtemp is not installed). Mostly, I just rewrote the service tests, but I cleaned up the cruft from the Service class, too.
* Merge branch 'master' of ssh://reductivelabs.com/opt/rl/git/puppetLuke Kanies2007-11-281-3/+10
|\
| * Making a few changes to the transportable class to enhance backward ↵Luke Kanies2007-11-281-3/+10
| | | | | | | | compatibility
* | Another backward compatibility patch, this time helping with a new server ↵Luke Kanies2007-11-281-1/+1
|/ | | | and old client
* Theoretically, this patch is to fix #917 (which it does), butLuke Kanies2007-11-2814-144/+89
| | | | | | | | | | | | | | | | | | | there were enough problems fixing it that I decided something more drastic needed to be done. This uses the new Puppet::ResourceReference class to canonize what a resource reference looks like and how to retrieve resources via their references. Specifically, it guarantees that resource types are always capitalized, even when they include '::' in them. While many files are modified in this commit, the majority of changes are quite small, and most of the changes are fixing the tests to use capitalized types. As we look at consolidating some of our resource types, we could consolidate the ResourceReference stuff at the same time, but at least the Puppet::Parser::ResourceReference class subclasses the main Puppet::ResourceReference class.
* Adding a top-level ResourceReference class that everythingLuke Kanies2007-11-281-0/+61
| | | | else can use to canonize how we refer to resources. Finally.
* Fixing the first half of #917 -- the ResourcReferenceLuke Kanies2007-11-281-2/+2
| | | | | | AST code now correctly finds the resource. It's getting lost in the configuration translation, though, so I need to fix that, too.
* Fixing the error message as requested in #893.Luke Kanies2007-11-271-3/+1
|
* Applying patches from #823 by wyvernLuke Kanies2007-11-271-0/+10
|
* Fixing the markup on the pkgdmg provider so it is a bit betterLuke Kanies2007-11-283-6/+8
|
* Fixing #781, from what I can tell. I'm leaving it withLuke Kanies2007-11-271-11/+29
| | | | | no tests for now, since it's a very small chunk of code and it's *insanely* difficult to test this kind problem.
* Fixing #810 -- I catch the error and prefix it with somethingLuke Kanies2007-11-271-1/+6
| | | | a bit more useful.
* Fixing #796 -- the fileserver can now start with noLuke Kanies2007-11-271-16/+52
| | | | | | configuration file (it creates both default mount points if it does) and puppetmasterd no longer requires the configuration file to exist.
* Fixing the asuser method in Puppet::Util::SUIDManagerLuke Kanies2007-11-271-15/+13
| | | | | | | | so that it correctly just yields if you're not root. It also no longer tries to set :uid or :gid; just :euid and :egid, and it once again sets :egid before it sets :euid, which is important because you usually can't change your group after you've changed your user id.
* Merge commit 'mccune/pending/fix-896r2'Luke Kanies2007-11-272-0/+7
|\
| * Fix #896 - Always disable DNS checking of certificate when making https ↵Jeffrey J McCune2007-11-242-0/+7
| | | | | | | | connections.
* | Fixing #931 by keeping track in configurations ofLuke Kanies2007-11-275-78/+22
| | | | | | | | | | | | | | | | | | | | what transportable resources get converted to, so different names don't throw it off. I also got rid of the Puppet::Type#merge method, which has been deprecated for ages but was still in there. I had to fix a few tests that weren't cleaning up after themselves as a result.
* | Fixing the persistent and periodic schedule test failuresLuke Kanies2007-11-271-14/+18
| | | | | | | | by rewriting the schedule tests entirely.
* | Fixing the breakage that I caused when I added the 'declared_feature?'Luke Kanies2007-11-261-1/+1
| | | | | | | | method to provider features.
* | Fixing #920 -- I have replaced the existing mount test with anLuke Kanies2007-11-262-13/+8
| | | | | | | | | | rspec version. It's not perfect, in that it only tests the :ensure state, but that's where 90% of the behaviour is.
* | Rewriting the tests for the package resource type, fixing #930.Luke Kanies2007-11-266-138/+78
| |
* | Fixing #921, mostly by just deleting the existing test. I hadLuke Kanies2007-11-261-2/+4
| | | | | | | | | | | | already migrated all of the tests into rspec but forgot about these tests -- they were only in the rails/ subdir because people kept not running the parser/ tests after modifying the Rails code.
* | Applying patch by trombik from #756.Luke Kanies2007-11-251-3/+1
| |
* | Merge commit 'mccune/pending/fix-906'Luke Kanies2007-11-251-2/+5
|\ \
| * | Fixed #906 - Augmented Cert DN regexp check to work with Pound and Apache.Jeffrey J McCune2007-11-241-2/+5
| | |
* | | Merge branch 'plugins_mount', fixing #891.Luke Kanies2007-11-245-85/+247
|\ \ \ | |_|/ |/| | | | | | | | | | | Conflicts: CHANGELOG
| * | Integrating Matt Palmer's patch to provide a 'plugins'Luke Kanies2007-11-245-55/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mount, fixing #891. The patch was ported to the current code by David Schmitt, I applied the rest of Matt's patches, and I then fixed all of the code so that the tests passed. The primary change I had to make to the patch was reenabling host expansion in paths -- his patch had disabled it.
| * | Applying the rest of Matt Palmer's patchesLuke Kanies2007-11-242-27/+75
| | | | | | | | | | | | related to providing a plugin mount.
| * | Merge commit 'davids-bugfixes/rest/fix-891' into plugins_mountLuke Kanies2007-11-232-79/+191
| |\ \
| | * | fix #891: create a plugins mount which collects all modules' plugins/ subdirsDavid Schmitt2007-11-082-79/+191
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This is Matthew Palmer's work, from his debian package at http://theshed.hezmatt.org/mattshacks/puppet/_patches/load_plugins_from_modules/20070831054902-6856b-0fd1481621def5d0c4d1ae48fb2f1dc357767c1e.patch I just wriggled a few hunks so they apply.
* | | | Implementing the test for setting the RailsLuke Kanies2007-11-241-22/+23
| | | | | | | | | | | | | | | | log level.
* | | | Merge commit 'danp/rails_socket_and_tests'Luke Kanies2007-11-241-4/+8
|\ \ \ \
| * | | | mock all use of Puppet[] in Puppet::Rails.database_argumentsDan Peterson2007-11-231-4/+8
| | | | |
| * | | | fix socket argument to AR and add rails specDan Peterson2007-11-231-1/+1
| | |_|/ | |/| |
* | | | Incorporating patch ↵Luke Kanies2007-11-241-89/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 20071030034736-6856b-6004090b3968cdbf7d366a03ee1c44e2160a3fe0.patch from womble, and rewriting and significantly enhancing the unit tests for the Puppet::Parser::Collector class; it should have full coverage now. There are no integration tests for it, so there's still no guarantee that it works at all, but hey, we're a lot better off than we were.
* | | | Merge branch 'wombles-patches'Luke Kanies2007-11-247-41/+86
|\ \ \ \ | |/ / / |/| | |
| * | | Integrating most of Matt Palmer's fromLuke Kanies2007-11-242-43/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | http://theshed.hezmatt.org/mattshacks/puppet/_patches/puppet-0.23.2/. There are still a few that haven't made it in, notably those related to the plugins module, which I'm planning on integrating separately.
| * | | Adding patch ↵Luke Kanies2007-11-231-0/+1
| | | | | | | | | | | | | | | | 20071030035457-6856b-bd1c45ed5ecd753b2cb4f05347061f7245cc175a.patch from womble -- Force removal of directories during pluginsync
| * | | Adding patch ↵Luke Kanies2007-11-231-1/+10
| | | | | | | | | | | | | | | | 20070927050018-6856b-7fa134180aceb9cee2e667630345f5f8467a9d0c.patch from womble -- Catch more retryable errors in the XMLRPC call wrapper
| * | | Adding patch ↵Luke Kanies2007-11-232-7/+5
| | | | | | | | | | | | | | | | 20070927042000-6856b-38a0c82fd0a0d950937e7fe5a38b9901743402b3.patch from womble -- Recycle the connection more aggressively, to stop problems with clients that are newly requesting certificates
| * | | Adding patch ↵Luke Kanies2007-11-231-8/+32
| | | | | | | | | | | | | | | | 20070926235454-6856b-079fc12a9b63d59afd59aa205bc8bfeb350b097a.patch from womble -- Recycle the connection if we're presented with an EPIPE
| * | | Adding patch ↵Luke Kanies2007-11-231-1/+1
| | | | | | | | | | | | | | | | 20070913032650-6856b-b1cca1c249415c6076ffcecb9df1525a728457c7.patch from womble -- Fix annoying database deletion error for ParamValue objects.
| * | | Adding patch ↵Luke Kanies2007-11-231-1/+1
| | | | | | | | | | | | | | | | 20070913032546-6856b-0de200e8450920e7f712c54bf287ae43c7fda8af.patch from womble -- Only set dbuser if explicitly asked for
| * | | Adding patch ↵Luke Kanies2007-11-231-2/+1
| | | | | | | | | | | | | | | | 20070913010926-6856b-eb64be3b5169b7af674388124b406a1db7470880.patch from womble -- More restrictive permissions on some puppet-related directories