summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fixing #923 (again). The host storage method was notLuke Kanies2007-12-102-7/+6
| | | | | | correctly searching for the host, so it was creating a new host on each run, which is what was causing the conflict.
* Adding basic unit tests for type/user by DavidS from #948.Luke Kanies2007-12-061-0/+58
|
* Fixing #923. Resources that are collected on the localLuke Kanies2007-12-062-14/+0
| | | | host are no longer marked as not exported.
* Merge commit 'mccune/pending/fix-896r3'Luke Kanies2007-12-062-5/+10
|\
| * Updated tests for http_enable_post_connection_check configuration setting.Jeffrey J McCune2007-11-292-5/+10
| |
* | Applying patch by whaymond_home to further fix part of #896.Luke Kanies2007-12-061-1/+1
|/
* Better test to match the behavior of the code.Jeffrey J McCune2007-11-291-1/+5
|
* Fixed test case for http_enable_post_connection_checkJeffrey J McCune2007-11-291-1/+1
|
* As per lutter; augmented fix for #896 to be configurable and defaulting to ↵Jeffrey J McCune2007-11-293-1/+14
| | | | validate the server certificate, honoring CVE-2007-5162.
* Fixing another failing test I somehow missed in my last big commitLuke Kanies2007-11-281-1/+1
|
* Renaming @model to @resource in a providerLuke Kanies2007-11-281-1/+1
|
* Fixing a couple of tests that were failing on a different platform or with a ↵Luke Kanies2007-11-282-2/+2
| | | | different version of ruby
* Fixing #892 -- filesystem mounts are no longer remounted.Luke Kanies2007-11-283-1/+10
|
* Fixing #527 (rewrote service tests), #766 (services only restart when theyLuke Kanies2007-11-287-401/+282
| | | | | | | 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-282-4/+21
|\
| * Making a few changes to the transportable class to enhance backward ↵Luke Kanies2007-11-282-4/+21
| | | | | | | | compatibility
* | Another backward compatibility patch, this time helping with a new server ↵Luke Kanies2007-11-282-2/+7
|/ | | | and old client
* Theoretically, this patch is to fix #917 (which it does), butLuke Kanies2007-11-2832-208/+214
| | | | | | | | | | | | | | | | | | | 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.
* Fixing puppetca so it passes its tests, duh. ApparentlyLuke Kanies2007-11-281-6/+8
| | | | | wyvern's patch broke things a bit and I was stupid enough not to run the tess right before accepting.
* Adding a top-level ResourceReference class that everythingLuke Kanies2007-11-282-0/+104
| | | | else can use to canonize how we refer to resources. Finally.
* Fixing the first half of #917 -- the ResourcReferenceLuke Kanies2007-11-282-2/+14
| | | | | | AST code now correctly finds the resource. It's getting lost in the configuration translation, though, so I need to fix that, too.
* Applying fix to xmlrpc client tests by Matt PalmerLuke Kanies2007-11-271-0/+1
|
* Fixing the error message as requested in #893.Luke Kanies2007-11-271-3/+1
|
* Applying patches from #823 by wyvernLuke Kanies2007-11-272-4/+22
|
* 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-273-30/+76
| | | | | | 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-272-24/+40
| | | | | | | | 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-2711-90/+64
| | | | | | | | | | | | | | | | | | | | 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 #927 -- rewriting the test to actually test what it'sLuke Kanies2007-11-271-4/+9
| | | | | | | | | | | | | | | | | | supposed to be doing and to skip the whole network connect thing. FTR, the reason this is happening is because the keepalive patch causes http instances to start immediately, which wasn't previously the case. I have been noticing that not all failures that should result from this happen consistently.
* | Fixing the persistent and periodic schedule test failuresLuke Kanies2007-11-273-370/+392
| | | | | | | | by rewriting the schedule tests entirely.
* | Fixing #924 -- clearing the configuration cache before andLuke Kanies2007-11-262-1/+3
| | | | | | | | after the test.
* | Fixing the breakage that I caused when I added the 'declared_feature?'Luke Kanies2007-11-262-4/+10
| | | | | | | | method to provider features.
* | Fixing #920 -- I have replaced the existing mount test with anLuke Kanies2007-11-265-378/+202
| | | | | | | | | | rspec version. It's not perfect, in that it only tests the :ensure state, but that's where 90% of the behaviour is.
* | Fixing #919 -- installed packages used for testing are just ignored,Luke Kanies2007-11-261-0/+2
| | | | | | | | rather than throwing a failure.
* | Fixing a test that was erroneously testing for the wrong featureLuke Kanies2007-11-261-1/+1
| |
* | Rewriting the tests for the package resource type, fixing #930.Luke Kanies2007-11-2610-297/+349
| |
* | Fixing #921, mostly by just deleting the existing test. I hadLuke Kanies2007-11-263-246/+26
| | | | | | | | | | | | 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-249-86/+265
|\ \ \ | |_|/ |/| | | | | | | | | | | Conflicts: CHANGELOG
| * | Integrating Matt Palmer's patch to provide a 'plugins'Luke Kanies2007-11-249-56/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-242-40/+64
| | | | | | | | | | | | | | | | log level.