summaryrefslogtreecommitdiffstats
path: root/spec
Commit message (Collapse)AuthorAgeFilesLines
...
| * Fixing tests that are broken when running as root under OSX 10.5Paul Lathrop2008-05-234-2/+13
| |
| * Added warnings test and cleaning up trailing whitespace.Paul Lathrop2008-05-231-0/+35
| |
| * Fixed a bug in my tests which caused them to fail when run against the ↵Paul Lathrop2008-05-231-0/+4
| | | | | | | | master branch.
| * Fixing the node/catalog so that it can convert from parser catalogs to RAL ↵Luke Kanies2008-05-221-0/+20
| | | | | | | | | | | | | | | | | | | | catalogs. It largely worked previously, except when aliases were set, which require catalogs. This now converts all parser resources to trans_objects then to RAL resources, and sets the catalog in the meantime. This allows aliases to work just fine when converting directly from parser catalogs to RAL catalogs.
| * The ldap user/group providers now work when no users/groups are in ldap yet.Luke Kanies2008-05-212-17/+36
| | | | | | | | | | Previously, they failed if you tried to get them to autogenerate an id, because they assumed that a result would be returned.
| * Adding support for settings within the existing Facter provider confines.Luke Kanies2008-05-203-24/+40
| | | | | | | | | | | | This renames the 'facter' confine to 'variable', and it prefers settings to facts. There shouldn't really be any overlap, so it shouldn't be a problem.
| * Intermediate commit so I can move on to other things.Luke Kanies2008-05-201-0/+10
| |
* | Merge branch '0.24.x'Luke Kanies2008-05-2038-49/+2565
|\| | | | | | | | | | | | | | | | | | | 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
| |
| * Merge commit 'plathrop/fix-1228' into 0.24.xLuke Kanies2008-05-191-0/+237
| |\
| | * Minor cosmetic changes to cleanup some style elements and get rid of some cruft.Paul Lathrop2008-05-181-22/+23
| | |
| | * Another refactor based on feedback from Luke. This includes adding an ↵Paul Lathrop2008-05-181-19/+23
| | | | | | | | | | | | accessor for @@state to make testing a bit cleaner.
| | * Refactored tests based on feedback from Luke.Paul Lathrop2008-05-171-176/+169
| | |
| | * Rewritten tests for Puppet::Util::Storage.Paul Lathrop2008-05-171-44/+211
| | |
| | * Add unit tests for Puppet::Util::StoragePaul Lathrop2008-05-171-0/+72
| | |
| * | Refactoring how the provider confine tests work, again.Luke Kanies2008-05-198-237/+415
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now each of the test types is a separate subclass of Confine, so that they can have all of their own logging and summarizing behaviour. Also, added a 'feature' type, which can test for the availability of Puppet features (and log their absence more usefully).
| * | 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.
| * | Fixing a mock in the redhat interface test.Luke Kanies2008-05-161-2/+2
| | | | | | | | | | | | | | | It mocked :exists? instead of :exist?, and my provider work changed the method call because :exists? is going away in ruby.
| * | Moving all confine code out of the Provider class, and fixing #1197.Luke Kanies2008-05-153-77/+189
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | Moving the 'confine' handling to separate classes.Luke Kanies2008-05-152-0/+288
| | |
| * | Duh, fixing all of the paths being loaded for spec in the moved tests.Luke Kanies2008-05-1518-44/+42
| | |
| * | Moving all tests that are in 'ral' up a level.Luke Kanies2008-05-1518-0/+0
| | | | | | | | | | | | | | | This directory only existed as an organizational method, and the code never matched it, so I'm fixing it.
| * | Fixing the user test.Luke Kanies2008-05-151-6/+4
| | | | | | | | | | | | It was causing exceptions when run as part of the whole suite.
| * | Added the ability to add arbitrary attributes to ldap.Gunnar Wrobel2008-05-151-0/+91
| |/ | | | | | | This fixes #1179.
| * Correcting whitespace in the templatewrapper code.Luke Kanies2008-05-131-52/+52
| | | | | | | | Also slightly modified the wording of some of the tests.
| * Adding has_variable? support, fixing ticket #1177Adam Jacob2008-05-131-0/+57
| |
| * Merge branch 'authorized_keys' into 0.24.xLuke Kanies2008-05-122-0/+154
| |\
| | * adding execute bits to testsLuke Kanies2008-05-122-0/+0
| | |
| | * New native ssh_authorized_key typeFrancois Deppierraz2008-05-072-0/+154
| | |
| * | Adding ldap providers for the user and group type.Luke Kanies2008-05-126-0/+1388
| | | | | | | | | | | | | | | | | | These providers use posixAccount and posixGroup. This is a collapsed merge, fwiw.
| * | Fixing another test that wrote to ~Luke Kanies2008-05-121-0/+1
| | |
| * | Fixing a test that wrote to ~.Luke Kanies2008-05-121-0/+8
| |/
* | Using the new Cacher class for handling cached data.Luke Kanies2008-05-1320-95/+55
| | | | | | | | | | This provides a single, global bit for determining whether a given piece of cached data is still valid.
* | Adding a module for handling caching information.Luke Kanies2008-05-071-0/+142
| | | | | | | | | | | | | | I keep having issues with integration tests keeping cached values around, and this module should hopefully give us a single place to invalidate all caches, thus making testing this much easier.
* | Fixing some broken tests.Luke Kanies2008-05-071-0/+10
| | | | | | | | | | | | | | 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.
* | The CRL is now automatically used or ignored.Luke Kanies2008-05-075-78/+21
| | | | | | | | | | | | | | | | | | 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-074-1/+114
| | | | | | | | | | | | 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.
* | Adding pidfile management and daemonization to the ServerLuke Kanies2008-05-071-195/+301
| | | | | | | | class.
* | Fixing the HttpPool module to get rid of an infinite loop.Luke Kanies2008-05-064-6/+31
| | | | | | | | | | | | | | | | | | 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.
* | Adding REST terminuses for the SSL-related indirections.Luke Kanies2008-05-063-0/+45
| |
* | Adding autosigning to the new CA.Luke Kanies2008-05-062-10/+103
| | | | | | | | | | Now the CSR class triggers autosigning when any CSR is saved, if it's running on a CA host.
* | Moving the CA Interface class to a separate file.Luke Kanies2008-05-062-255/+270
| |
* | The master is now functionally serving REST and xmlrpc.Luke Kanies2008-05-051-9/+3
| | | | | | | | | | | | | | | | | | | | ...as far as I can tell. The client, however, is broken, since it used the old http_pool/ssl_support stuff, which no longer works. I have to port puppetd over to using the new ssl stuff, then I'll at least be able to verify that the master can still speak xmlrpc.
* | The REST infrastructure now correctly the SSL certificates.Luke Kanies2008-05-052-740/+719
| | | | | | | | | | | | | | 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-052-16/+51
| | | | | | | | This requires less setup and configuration on the part of the user.
* | The Settings class now clears the 'used' sections when a value is changed.Luke Kanies2008-05-051-0/+5
| | | | | | | | | | | | | | | | | | This makes is so that if you, for instance, reset the vardir, then the next time an initialization call is made, we reuse any previously used sections, thus (hopefully) correctly creating any newly needed directories. This is mostly helpful during testing.
* | The http pool manager now uses new-style certificate management.Luke Kanies2008-05-051-94/+72
| | | | | | | | | | It uses an instance of SSL::Host for getting its certificate and ssl store.
* | Fixing some tests that were insufficiently mocking their configurations.Luke Kanies2008-05-052-0/+8
| | | | | | | | These were still writing to ~.
* | Fixing a critical problem in how CRLs were saved and moving SSL Store ↵Luke Kanies2008-05-054-67/+134
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.