summaryrefslogtreecommitdiffstats
path: root/spec
Commit message (Collapse)AuthorAgeFilesLines
...
| * You can now select the encoding format when transferring the catalog,Luke Kanies2008-07-182-19/+81
| | | | | | | | | | | | | | | | | | | | with 'yaml' still being the default but 'marshal' being an option. This is because testing has shown drastic performance differences between the two, with up to 70% of compile time being spent in YAML code. Use the 'catalog_format' setting to choose your format, and the setting must be set on the client. Signed-off-by: Luke Kanies <luke@madstop.com>
| * Revert "Fixed #1201 - all external node attributes are converted to strings."Luke Kanies2008-07-181-6/+0
| | | | | | | | | | | | | | This reverts commit ac7f59618a80b6a4aac777f6184e7fa6a0614079. The reason for this revert is that the problem never really existed; Ruby's true and false are always used unless you quote them.
| * The mongrel-related tests now run without mongrel.Luke Kanies2008-07-176-10/+30
| | | | | | | | | | | | | | | | | | | | | | Here were the main changes necessary: * Fixed the class loader so it only loads mongrel if it's available. * Fixed the test runner to skip example groups contained in non-runnable example groups. * Fixed the Mongrel tests to use quoted class names instead of constants, since the constants themselves would be absent. Signed-off-by: Luke Kanies <luke@madstop.com>
| * Updated /spec/unit/rails.rb testJames Turnbull2008-07-171-1/+1
| |
| * Fail instead of log when rescuing remote file connectionsAndrew Shafer2008-07-141-0/+5
| | | | | | | | | | | | Issue 1397 one line fix, very simple
| * Fix #1409, Move path expansion from the type into the providerFrancois Deppierraz2008-07-112-41/+21
| | | | | | | | | | | | This avoid exceptions during type instanciation when a user does not yet exist. The drawback is that we cannot use generated resources anymore and have to mkdir, chown and chmod directly in the provided which is somewhat hackish.
| * Fixing #1408 - --loadclasses works again.Luke Kanies2008-07-102-3/+15
| | | | | | | | | | | | | | | | | | 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>
| * Fixed #1407 - allowdupe is now a boolean group parameter.Luke Kanies2008-07-091-0/+40
| | | | | | | | | | | | This just fixes a regression. Signed-off-by: Luke Kanies <luke@madstop.com>
| * Fixing the user ldap provider testsLuke Kanies2008-07-081-0/+1
| | | | | | | | Signed-off-by: Luke Kanies <luke@madstop.com>
* | Fixing the user ldap provider testsLuke Kanies2008-07-081-0/+1
| | | | | | | | Signed-off-by: Luke Kanies <luke@madstop.com>
* | Merge branch '0.24.x'Luke Kanies2008-07-086-9/+133
|\| | | | | | | | | | | Conflicts: CHANGELOG
| * Merge branch 'tickets/0.24.x/1401' of git://github.com/lak/puppet into 0.24.xJames Turnbull2008-07-083-9/+10
| |\
| | * 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 'tickets/0.24.x/1226' of git://github.com/lak/puppet into 0.24.xJames Turnbull2008-07-081-0/+87
| |\ \
| | * | Fixed #1226 - Gems can now specify source repositories.Luke Kanies2008-07-071-9/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added tests for the bit that's changed here (and caught a couple of bugs in the original patch). This is all a modification of Sam Quigley's work. Signed-off-by: Luke Kanies <luke@madstop.com>
| | * | Correct whitespaceLuke Kanies2008-07-071-24/+24
| | | | | | | | | | | | | | | | Signed-off-by: Luke Kanies <luke@madstop.com>
| | * | Moving the gem test to the non-ral directoryLuke Kanies2008-07-071-0/+0
| | | | | | | | | | | | | | | | Signed-off-by: Luke Kanies <luke@madstop.com>
| | * | Importing Sam Quigley's work to enhance gem support for sources.Luke Kanies2008-07-071-0/+39
| | |/
| * | Merge branch 'tickets/0.24.x/1272' of git://github.com/lak/puppet into 0.24.xJames Turnbull2008-07-082-0/+32
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: CHANGELOG spec/unit/provider/user/ldap.rb
| | * | Fixed #1272 - ldap group names will be converted to GIDs.Luke Kanies2008-07-072-0/+33
| | |/ | | | | | | | | | | | | | | | | | | Note that this only looks up ldap groups, at this point; if you want to set an ldap user's primary group to a local group, you have to specify the GID. Signed-off-by: Luke Kanies <luke@madstop.com>
| * / Fixed #1399 - the ldap user provider knows it can manage passwords.Luke Kanies2008-07-071-0/+4
| |/ | | | | | | Signed-off-by: Luke Kanies <luke@madstop.com>
* | Merge branch '0.24.x'Luke Kanies2008-07-0413-615/+360
|\| | | | | | | | | | | | | | | | | | | 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
| * Merge branch 'refactor/0.24.x/transaction_changes' of ↵James Turnbull2008-07-053-2/+209
| |\ | | | | | | | | | git://github.com/lak/puppet into 0.24.x
| | * Testing and simplifying the Transaction::Change#backward method.Luke Kanies2008-07-041-0/+31
| | | | | | | | | | | | Signed-off-by: Luke Kanies <luke@madstop.com>
| | * Removing the Transaction::Change#transaction accessor.Luke Kanies2008-07-041-5/+0
| | | | | | | | | | | | | | | | | | | | | As with Events, this was never used (beyond being assigned), so I've gotten rid of it. Signed-off-by: Luke Kanies <luke@madstop.com>
| | * Refactoring the Transaction::Event class.Luke Kanies2008-07-043-22/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The class had a 'transaction' accessor that was assigned but never used, and it is simple enough that it needed direct arguments rather than named arguments. The rest of the code is changing the other classes that use Events. Signed-off-by: Luke Kanies <luke@madstop.com>
| | * Adding tests for the Transaction::Event classLuke Kanies2008-07-041-0/+37
| | | | | | | | | | | | Signed-off-by: Luke Kanies <luke@madstop.com>
| | * Adding tests to the Transaction::Change class.Luke Kanies2008-07-041-0/+156
| | | | | | | | | | | | | | | | | | | | | There's a small amount of refactoring here, mostly removing code that appears to not be used at all. Signed-off-by: Luke Kanies <luke@madstop.com>
| | * Renaming Puppet::Event to Puppet::Transaction::EventLuke Kanies2008-07-031-2/+2
| | | | | | | | | | | | Signed-off-by: Luke Kanies <luke@madstop.com>
| * | Merge branch 'tickets/0.24.x/1231' of git://github.com/lak/puppet into 0.24.xJames Turnbull2008-07-051-2/+8
| |\ \
| | * | Fixed #1231 - Exceptions during startup should now be clear.Luke Kanies2008-07-041-2/+8
| | |/ | | | | | | | | | | | | | | | | | | This will often result in duplicate information, but at least the information will now always be there. Signed-off-by: Luke Kanies <luke@madstop.com>
| * | Merge branch 'ticket/0.24.x/1067' of git://github.com/littleidea/puppet into ↵James Turnbull2008-07-051-0/+12
| |\ \ | | | | | | | | | | | | 0.24.x
| | * | file object creation should fail if source is not presentAndrew Shafer2008-07-041-0/+12
| | |/ | | | | | | | | | | | | | | | removed described? logic from insync? in ensure.rb and source.rb raise in source#retrieve if the source is not found
| * | Merge branch 'tickets/0.24.x/1232' of git://github.com/lak/puppet into 0.24.xJames Turnbull2008-07-042-1/+34
| |\ \
| | * | Fixed #1232 - the rundir no longer specifies a user/group,Luke Kanies2008-07-032-1/+34
| | |/ | | | | | | | | | | | | | | | and there are now client- and server-specific yaml directories. Signed-off-by: Luke Kanies <luke@madstop.com>
| * | Removing all of the code related to the interface type.Luke Kanies2008-07-034-646/+0
| | |
| * | Doing what I can to fix #1128, but just in preparation for removing 'interface'.Luke Kanies2008-07-032-21/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This type needs to be started again from scratch, and I'm not going to do so for 0.24.5. In particular, the model for red hat and sunos need to match -- they should both use the device name as the actual name. Signed-off-by: Luke Kanies <luke@madstop.com>
| * | Fixing the "describe" in the redhat interface specsLuke Kanies2008-07-031-10/+10
| |/ | | | | | | Signed-off-by: Luke Kanies <luke@madstop.com>
| * Add a missing test for exercising the last untested line of ↵Francois Deppierraz2008-07-031-0/+10
| | | | | | | | lib/puppet/type/ssh_authorized_key.rb
| * Merge branch 'tickets/0.24.x/1384' of git://github.com/ctrlaltdel/puppet ↵James Turnbull2008-07-031-7/+52
| |\ | | | | | | | | | into 0.24.x
| | * Use generate instead of autorequire in the ssh_authorized_key type based on ↵Francois Deppierraz2008-07-021-8/+19
| | | | | | | | | | | | Luke's comments
| | * ssh_authorized_key: autorequire, default permissions and cleanupFrancois Deppierraz2008-06-271-6/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Autorequire the target file and its parent directory as well. Default permissions and owner are now set on the file and its parent directory. Moved target attribute setting code from prefetch() in the provider to the type itself. This seems much cleaner to me.
| * | Fixing the ldap node terminus to merge facts with the right name.Luke Kanies2008-07-021-3/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, I was merging early and changing the name later. This commit fixes it so that the node is created with the right name in the first place, so the node.fact_merge actually works. Yay for real-world testing. Signed-off-by: Luke Kanies <luke@madstop.com>
| * | Backporting a test that was failing in master, and fixing itLuke Kanies2008-07-021-0/+5
| | | | | | | | | | | | 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
| | |
* | | Fixing the new-form version of #1382.Luke Kanies2008-07-021-0/+28
| | | | | | | | | | | | It only works when finding certificates, but that should be sufficient.
* | | Merge branch '0.24.x'Luke Kanies2008-07-0215-990/+1267
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-012-6/+32
| | | | | | | | | | | | | | | | | | I foolishly was just using the old-style api. Added an integration test to catch this in the future.
| * | Switching the ldap terminus to use Util::Ldap::Connection.Luke Kanies2008-07-011-97/+89
| | | | | | | | | | | | | | | This is a simplified class for managing ldap connections, and this work just removes some duplication.