summaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge branch '0.24.x'Luke Kanies2008-07-021-1/+19
|\|
| * Fixing #1382 - existing uppercase certs, keys, et al will be renamed.Luke Kanies2008-07-021-1/+19
| | | | | | | | This correctly renames the files and they still get read in.
* | Merge branch '0.24.x'Luke Kanies2008-07-023-131/+15
|\| | | | | | | | | | | | | | | | | | | | | Conflicts: CHANGELOG spec/unit/node/catalog.rb spec/unit/type/package.rb spec/unit/type/schedule.rb spec/unit/type/service.rb spec/unit/util/settings.rb
| * Fixed #1114 - Facts in plugin directories should now be autoloaded,Luke Kanies2008-07-011-6/+10
| | | | | | | | as long as you're using Facter 1.5.
| * Fixed #707 - special '@reboot'-style cron jobs work again.Luke Kanies2008-06-171-4/+5
| |
| * Removed test/util/loadedfile.rb tests which fixes #1370James Turnbull2008-06-171-121/+0
| |
* | Merge branch '0.24.x'Luke Kanies2008-06-144-63/+41
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also added the fixes to make the certhandler tests pass even when certs exist; I'll deal with the conflict later. Conflicts: CHANGELOG bin/puppetd lib/puppet/network/http/handler.rb lib/puppet/network/http/mongrel/rest.rb spec/integration/indirector/rest.rb spec/integration/network/server/mongrel.rb spec/integration/network/server/webrick.rb spec/unit/network/http/webrick.rb
| * Fixes for install.rb running of tests that fixes #1267James Turnbull2008-05-271-0/+3
| |
| * Merge branch 'tickets/1265' of git://github.com/lak/puppet into 0.24.xJames Turnbull2008-05-271-0/+1
| |\
| | * Fixing #1265 -- the ca/client tests now all pass again.Luke Kanies2008-05-261-0/+1
| | |
| * | Always using the cert name to store yaml files, which fixes #1178.Luke Kanies2008-05-262-63/+37
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Master handler previously provided the support for the :node_name setting, and that functionality has now been moved into the Node class. At the same time, the names to search through have been changed somewhat: Previously, the certificate name and the hostname were both used for searching, but now, the cert name is always searched first (unless node_name == facter), but only the Facter hostname, domain, and fqdn are used otherwise. We no longer split the cert name, only the hostname/domain/fqdn. In the general case, this provides no behaviour change, because people's hostname is the same as their certname. This only results in a change in behaviour if you specify a certificate name that is a normal node name, and you want to look that node up by something other than the full name in the certificate. Signed-off-by: Luke Kanies <luke@madstop.com>
* | Fixing #1247 -- no more clear_cache failures.Luke Kanies2008-05-252-2/+2
| | | | | | | | I had clearly only run spec/ since this work.
* | Merge branch '0.24.x'Luke Kanies2008-05-251-9/+48
|\| | | | | | | | | | | | | Conflicts: CHANGELOG lib/puppet/transaction.rb
| * Fixing transaction support for prefetching generated resources.Luke Kanies2008-05-211-9/+48
| | | | | | | | | | | | Previously, we prefetched then generated, which caused generated resources that needed prefetching not to work. This just reorders the calls, so generated resources now get prefetched.
* | Merge branch '0.24.x'Luke Kanies2008-05-204-7/+63
|\| | | | | | | | | | | | | | | | | | | Conflicts: CHANGELOG spec/integration/defaults.rb spec/integration/node/catalog.rb spec/unit/rails.rb spec/unit/type/mount.rb
| * Crontab provider: fix a parse error when a line begins with a space characterJames Turnbull2008-05-161-0/+28
| | | | | | | | | | | | Tests for Bug #1216 Updated CHANGELOG
| * Moving all confine code out of the Provider class, and fixing #1197.Luke Kanies2008-05-151-1/+1
| | | | | | | | | | | | | | | | | | I created a Confiner module for the Provider class methods, and then I enhanced the interface between it and the Confine class to make sure binary paths are searched for fresh each time. This fixes #1197, which was a result of binary paths being searched for at startup, rather than at execution.
| * Switching the Provider class to use the new Confiner class.Luke Kanies2008-05-151-7/+16
| |
| * Duh, fixing all of the paths being loaded for spec in the moved tests.Luke Kanies2008-05-151-0/+12
| |
| * New native ssh_authorized_key typeFrancois Deppierraz2008-05-072-0/+7
| |
* | Fixing some broken tests.Luke Kanies2008-05-072-1/+2
| | | | | | | | | | | | | | The HttpPool module now removes its cached ssl_host instance when clearing its cache. This is really only useful for testing, but it correctly causes the pool to use new certificates when they're available.
* | Removing obsolete testsLuke Kanies2008-05-071-101/+0
| |
* | The master and client now successfully speak xmlrpc using the new system.Luke Kanies2008-05-072-148/+0
| | | | | | | | | | | | The server is actually serving REST, but the client can't use it until we resolve the format and security issues that REST hasn't yet tackled.
* | Added an Interface class to the CA to model puppetca's usage.Luke Kanies2008-04-191-115/+0
| | | | | | | | | | | | | | | | | | | | This class provides all of the semantics from puppetca, and appears to entirely duplicate the behaviour of the existing executable, with basically all of the code in a library file, instead of the executable. As such, I've deleted the test for the executable. We should have one, but it's not nearly as important.
* | Fixing a couple of broken tests.Luke Kanies2008-04-151-0/+1
| |
* | Merge branch '0.24.x'Luke Kanies2008-04-117-353/+24
|\|
| * Resources now return the 'should' value for properties fromLuke Kanies2008-04-111-37/+0
| | | | | | | | | | | | | | the [] accessor method (they previously threw an exception when this method was used with properties). This shouldn't have any affect functionally; it just makes the method equivalent to 'should' for properties, but it works for all attribute types now.
| * Modified the 'master' handler to use the Catalog class toLuke Kanies2008-04-112-204/+9
| | | | | | | | | | | | | | | | | | | | compile node configurations, rather than using the Configuration handler, which was never used directly. I removed the Configuration handler as a result. Modified the 'master' handler (responsible for sending configurations to clients) to always return Time.now as its compile date, so configurations will always get recompiled.
| * Fixed #1184 -- definitions now autoload correctly all of the time.Luke Kanies2008-04-101-1/+8
| |
| * Removed the code from the client that tries to avoid recompilingLuke Kanies2008-04-101-110/+0
| | | | | | | | | | | | the catalog. The client will now always recompile, assuming it can reach the server. It will still use the cached config if there's a failure.
| * Adding validation to the user type to confirm that theLuke Kanies2008-04-081-0/+6
| | | | | | | | | | group list does not contain any commas. This seems to be a common problem.
| * Fixes #1148 - replaces #!/usr/bin/ruby with #!/usr/bin/env ruby.Paul Lathrop2008-03-281-1/+1
| |
* | Fixing the tests in test/ that were broken asLuke Kanies2008-04-016-191/+47
| | | | | | | | a result of the move to no global resources.
* | Merge branch 'master' into master_no_global_resourcesLuke Kanies2008-03-3196-3550/+529
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: lib/puppet/node/catalog.rb lib/puppet/type/pfile.rb lib/puppet/type/pfilebucket.rb lib/puppet/util/filetype.rb spec/unit/node/catalog.rb spec/unit/other/transbucket.rb spec/unit/ral/provider/mount/parsed.rb spec/unit/ral/types/file.rb spec/unit/ral/types/interface.rb spec/unit/ral/types/mount.rb spec/unit/ral/types/package.rb spec/unit/ral/types/schedule.rb spec/unit/ral/types/service.rb test/language/compile.rb test/language/lexer.rb test/language/snippets.rb test/lib/puppettest.rb test/ral/types/basic.rb test/ral/types/cron.rb test/ral/types/exec.rb test/ral/types/file.rb test/ral/types/file/target.rb test/ral/types/filebucket.rb test/ral/types/fileignoresource.rb test/ral/types/filesources.rb test/ral/types/group.rb test/ral/types/host.rb test/ral/types/parameter.rb test/ral/types/sshkey.rb test/ral/types/tidy.rb test/ral/types/user.rb test/ral/types/yumrepo.rb
| * | Merge branch '0.24.x'Luke Kanies2008-03-257-42/+61
| |\| | | | | | | | | | | | | | | | | | | | | | Conflicts: install.rb lib/puppet/defaults.rb man/man8/puppet.8
| | * Fixing #571 -- provider suitability is now checked at resourceLuke Kanies2008-03-241-5/+21
| | | | | | | | | | | | | | | | | | | | | evaluation time, rather than resource instantiation time. This means that you don't catch your "errors" as early, but it also means you should be able to realistically configure a whole host in one run.
| | * Fixing a couple of tests.Luke Kanies2008-03-243-36/+35
| | |
| | * Found all instances of methods where split() is used withoutLuke Kanies2008-03-211-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | any local variables and added a local variable -- see http://snurl.com/21zf8. My own testing showed that this caused memory growth to level off at a reasonable level. Note that the link above says the problem is only with class methods, but my own testing showed that it's any method that meets these criteria. This is not a functional change, but should hopefully be the last nail in the coffin of #1131.
| | * Found an array that leaked pretty quickly between reparsingLuke Kanies2008-03-211-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | files, thanks to work by Adam Jacob and Arjuna Christenson (the finding, not the leak). I'm going to act like this fixes #1131, at least for now, but I doubt it does, since that shows general memory growth over time, whereas the leak here should go away as soon as files are reparsed (because the parser is holding the reference to the leaking array).
| | * tweak the (already applied) patch in ↵Sam Quigley2008-03-201-0/+4
| | | | | | | | | | | | 388cf7c3df7ce26e953949ed6fe63d76cbbb3691 to resolve #1137; also, add tests which detect the problem.
| * | Merge branch '0.24.x'Luke Kanies2008-03-207-21/+61
| |\|
| | * fixing another failing testLuke Kanies2008-03-191-0/+2
| | |
| | * Fixing some tests that only failed under certainLuke Kanies2008-03-183-3/+6
| | | | | | | | | | | | | | | circumstances (mostly, when loaded with other files, or when loaded from rake or autotest rather than separately).
| | * Regression in :node_name functionalityJohn Ferlito2008-03-141-2/+9
| | | | | | | | | | | | When :node_name="cert" is specified the 'hostname' fact should be set to the SSL certificate common name instead of the results from facter. I've extended this to also set 'domain' and 'fqdn' since that makes a lot of sense to me. This fixes a regression introduced in SVN#1673
| | * Fixing #1132 -- host names can now have dashes anywhere.Luke Kanies2008-03-131-0/+44
| | | | | | | | | | | | (Patch by freiheit.)
| | * Fixing #1118 -- downloading plugins and facts now ignores noop.Luke Kanies2008-03-131-16/+0
| | | | | | | | | | | | | | | | | | Note that this changes the behaviour a bit -- the resource's noop setting always beats the global setting (previously, whichever was true would win).
| * | Merge branch '0.24.x'Luke Kanies2008-03-071-159/+0
| |\|
| | * Always duplicating resource defaults in the parser, so thatLuke Kanies2008-03-061-159/+0
| | | | | | | | | | | | | | | | | | stacked metaparameter values do not result in all resources that receive a given default also getting those stacked values.
| * | Merge branch '0.24.x'Luke Kanies2008-03-0524-17/+7
| |\|
| | * Fixing a few testsLuke Kanies2008-02-292-6/+1
| | |