summaryrefslogtreecommitdiffstats
path: root/spec/integration
Commit message (Collapse)AuthorAgeFilesLines
...
| * Fixing #1408 - --loadclasses works again.Luke Kanies2008-07-101-0/+10
| | | | | | | | | | | | | | | | | | The problem was that the mechanism I was using for passing the node to the compiler was conflicting with the Indirector::Request's method of handling node authentication. Signed-off-by: Luke Kanies <luke@madstop.com>
* | Merge branch '0.24.x'Luke Kanies2008-07-083-9/+10
|\| | | | | | | | | | | Conflicts: CHANGELOG
| * Fixing #1401 - integration tests now work regardless of the yamldir.Luke Kanies2008-07-073-9/+10
| | | | | | | | Signed-off-by: Luke Kanies <luke@madstop.com>
* | Merge branch '0.24.x'Luke Kanies2008-07-041-0/+20
|\| | | | | | | | | | | | | | | | | | | Conflicts: lib/puppet/util/settings.rb spec/integration/defaults.rb spec/unit/node/catalog.rb spec/unit/type/interface.rb spec/unit/type/ssh_authorized_key.rb
| * Fixed #1232 - the rundir no longer specifies a user/group,Luke Kanies2008-07-031-0/+20
| | | | | | | | | | | | and there are now client- and server-specific yaml directories. Signed-off-by: Luke Kanies <luke@madstop.com>
* | Merge branch '0.24.x'Luke Kanies2008-07-021-10/+3
|\|
| * Fixing the ldap node integration test so it cleans upLuke Kanies2008-07-021-10/+3
| |
* | Merge branch '0.24.x'Luke Kanies2008-07-023-6/+58
|\| | | | | | | | | | | | | | | | | | | | | 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
| * Fixing the Node::Ldap.search method to use an indirection request.Luke Kanies2008-07-011-0/+22
| | | | | | | | | | | | I foolishly was just using the old-style api. Added an integration test to catch this in the future.
| * Fixing #1388 - the package test no longer uses 'require'.Luke Kanies2008-07-011-6/+4
| |
| * Fixed #1369 - the init service provider now supports HP-UX.Luke Kanies2008-06-161-0/+32
| | | | | | | | | | | | I've only added an integration test for the provider, since that's all I've changed; none of the service providers have rspec tests yet.
* | Merge branch '0.24.x'Luke Kanies2008-06-161-2/+8
|\| | | | | | | | | | | | | | | Conflicts: CHANGELOG lib/puppet/defaults.rb spec/integration/defaults.rb
| * Fixing #1168 (for 0.24.x) -- automatically downcasing the fqdn.Luke Kanies2008-06-151-1/+7
| | | | | | | | | | | | Also requiring that passed in certnames be downcased; the setting system isn't currently flexible enough to automatically downcase it for the user.
* | Merge branch '0.24.x'Luke Kanies2008-06-143-53/+60
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * Adding another note about the save_object stub.Luke Kanies2008-06-131-0/+3
| |
| * Removing a duplicate call left over from debuggingLuke Kanies2008-06-131-1/+0
| |
| * Replacing all two-space indents with four-spaceLuke Kanies2008-06-133-481/+481
| |
| * Adding ruby interpreter lines to the tests missing them.Luke Kanies2008-06-133-2/+8
| |
| * Adding execute bits to every test currently missing them.Luke Kanies2008-06-133-0/+0
| |
* | Fixing #1258 -- Removing a Rails idiom.Luke Kanies2008-05-251-2/+2
| | | | | | | | | | | | This idiom is only functional when you have Rails loaded, which is why it was failing for others but not me.
* | Merge branch '0.24.x'Luke Kanies2008-05-203-2/+16
|\| | | | | | | | | | | | | | | | | | | Conflicts: CHANGELOG spec/integration/defaults.rb spec/integration/node/catalog.rb spec/unit/rails.rb spec/unit/type/mount.rb
| * Mocking Facter in an integration test, so it works with no networkingLuke Kanies2008-05-191-0/+6
| |
| * Modified the 'factpath' setting to automatically configureLuke Kanies2008-05-161-0/+17
| | | | | | | | | | Facter to load facts there if a new enough version of Facter is used.
| * Duh, fixing all of the paths being loaded for spec in the moved tests.Luke Kanies2008-05-151-1/+1
| |
| * Moving all tests that are in 'ral' up a level.Luke Kanies2008-05-151-0/+0
| | | | | | | | | | This directory only existed as an organizational method, and the code never matched it, so I'm fixing it.
* | Using the new Cacher class for handling cached data.Luke Kanies2008-05-1310-32/+16
| | | | | | | | | | This provides a single, global bit for determining whether a given piece of cached data is still valid.
* | The CRL is now automatically used or ignored.Luke Kanies2008-05-072-18/+1
| | | | | | | | | | | | | | | | | | Previously, you had to configure whether you wanted the CRL or not, which resulted in errors all the time when it was configured but unavailable. Now, Puppet will always create and try to use it, but you won't get failures if it's unavailable.
* | The master and client now successfully speak xmlrpc using the new system.Luke Kanies2008-05-073-0/+113
| | | | | | | | | | | | 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.
* | Fixing the HttpPool module to get rid of an infinite loop.Luke Kanies2008-05-062-3/+20
| | | | | | | | | | | | | | | | | | We can't have the HttpPool class use the Indirector to see if it has a cert available, because it might be being used to try to download one, which would cause it to make an http instance, which would cause it to... Well, you get the idea. Adding and fixing a few other tests I ran into on the way.
* | The REST infrastructure now correctly the SSL certificates.Luke Kanies2008-05-051-408/+428
| | | | | | | | | | | | | | I don't think the whole thing is done, but at least the basic flows are in place. Now it's just a question of doing real-world tests and fleshing out the unit tests as necessary.
* | Fixing the webrick integration tests to use the newly-functionalLuke Kanies2008-05-051-1/+7
| | | | | | | | SSL code.
* | The Certificate Authority now automatically creates a CRL when appropriate.Luke Kanies2008-05-051-1/+11
| | | | | | | | This requires less setup and configuration on the part of the user.
* | Fixing a critical problem in how CRLs were saved and moving SSL Store ↵Luke Kanies2008-05-051-0/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | responsibilities to the SSL::Host class. I was previously saving invalid CRLs unless they'd had a revocation done in them; this commit fixes them so that they're always valid. Also, I've added to SSL::Host the ability to generate a valid SSL Store, suitable for validation. This is now used by Webrick and can be used by the http clients, too. This should have been two commits, but I'm kind of down the rabbit hole ATM.
* | The CA now initializes itself.Luke Kanies2008-05-051-0/+2
| | | | | | | | | | | | | | I realized that it never made sense to have a CA that didn't know how to initialize itself, so we now have a singleton method for the CA, and it also automatically initializes itself.
* | Adding xmlrpc backward compatibility to the new Mongrel code.Luke Kanies2008-05-021-1/+1
| |
* | Adding xmlrpc support to webrick.Luke Kanies2008-05-022-1/+3
| | | | | | | | | | This provides the backward compatibility for webrick, and only Mongrel is left.
* | I think I've now got the Webrick SSL support working.Luke Kanies2008-04-283-1/+39
| | | | | | | | | | Now I just need to get xmlrpc working alongside REST in both mongrel and webrick.
* | Interim commit, since I want to work but have no network available.Luke Kanies2008-04-281-43/+55
| |
* | Temporarily disabling the revoke/verify test in the CA.Luke Kanies2008-04-191-3/+5
| | | | | | | | | | It looks like it's not taking the CRL into account, so I can't seem to actually get a cert to fail verification.
* | Finishing the interface between the CA and the CRL.Luke Kanies2008-04-191-1/+15
| | | | | | | | | | | | Certificate revocation now works, the CA knows how to generate the CRL, and the SSL::Host class knows how to configure the CRL class for indirection.
* | All SSL terminus classes now force the CA information into the right place.Luke Kanies2008-04-181-0/+10
| | | | | | | | | | | | | | | | | | Without this, then you could end up duplicating your CA key into the normal directory depending on how caching was set up. Again, this design aspect isn't the most straightforward, but at least it's functional now.
* | Switching the SSL::Host class to return Puppet instances.Luke Kanies2008-04-171-1/+1
| | | | | | | | | | | | | | | | | | Previously, the class was returning OpenSSL instances (e.g, OpenSSL::X509::Certificate) instead of Puppet instances (e.g., Puppet::SSL::Certificate). This made some things easier, but it made them asymmetric (e.g., you assigned the key as a Puppet instance but got back an OpenSSL instance), and it also reduced your flexibility and introspectiveness.
* | Adding integration tests for a lot of the SSL code.Luke Kanies2008-04-173-0/+233
| | | | | | | | | | This flushed out some problems, and things mostly look good now, but I don't think we're quite there yet.
* | The certificate authority now uses a Host instance named 'ca'.Luke Kanies2008-04-171-1/+1
| | | | | | | | | | | | It previously was a subclass of Host, but this should make it easier to separate between the thing doing the signing and the thing managing the necessary files.
* | Oops; final fix on the integration test failures resultingLuke Kanies2008-04-151-1/+5
| | | | | | | | from my partial support for ssl in webrick.
* | Fixing an integration test of the rest terminus; it wasLuke Kanies2008-04-151-1/+5
|/ | | | | | broken by my incomplete cert support in webrick. I just stubbed out the cert usage for now; once all the cert stuff is done we'll need to go back and unstub it.
* Fixishing some pending tests, including filling inLuke Kanies2008-04-111-2/+8
| | | | the connection information.
* Making the changes necessary to get the REST supportLuke Kanies2008-04-111-11/+9
| | | | | to work with the current state of the indirection work, including using a request object and an expiration date.
* adding REST save support, with integration tests. A handful of unit tests ↵Rick Bradley2008-04-111-2/+91
| | | | in that area now need to be updated.
* Added support for destroy/DELETE over REST (including units & integrations ↵Rick Bradley2008-04-111-2/+74
| | | | | | | | on both webrick & mongrel). Added pending specs for the trivialities in the REST network_fetch and network_delete methods. Refactored YAML exception detection out into a private helper method.