summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* You can now select the encoding format when transferring the catalog,Luke Kanies2008-07-187-31/+144
| | | | | | | | | | 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-183-15/+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.
* Fixed #1431 - Provider confines must now specify similar tests in one call.Luke Kanies2008-07-172-45/+7
| | | | | | | | | | I.e., you can't do confine :operatingsystem => %w{a b} and then confine :operatingsystem => %w{b c}; you'd need to do them in one command. This now-obsolete behaviour does not seem to be used anywhere. The fix for #1431 is actually just removing the tests that exposed this change; the change happened when I refactored how confines work. Signed-off-by: Luke Kanies <luke@madstop.com>
* The mongrel-related tests now run without mongrel.Luke Kanies2008-07-178-16/+41
| | | | | | | | | | | 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-172-1/+3
|
* Fix Ticket 1426 - services on redhat are restarted againJames Turnbull2008-07-172-2/+13
| | | | | as far I see there have been a regression while refactoring the redhat service provider to user /sbin/service. This commit fixes this bug (1426) and service restarts are working again on redhat based systems. There are no tests, as I couldn't figure out how that should be tested. It seems that some restart logic is already tested, however it looks like not every single kind of provider is covered by tests, nor I see at the moment how I could do that.
* Fixed #1414 - Return code from waitpid now right shifted 8 bitsJames Turnbull2008-07-172-1/+3
|
* Added Changelog entry for new auth_key typeJames Turnbull2008-07-161-0/+3
|
* Further moves from the examples directory and ext directoryJames Turnbull2008-07-1511-100/+2
|
* Fail instead of log when rescuing remote file connectionsAndrew Shafer2008-07-143-2/+8
| | | | | | Issue 1397 one line fix, very simple
* Fix #1409, Move path expansion from the type into the providerFrancois Deppierraz2008-07-114-66/+58
| | | | | | 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-104-5/+17
| | | | | | | | | 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>
* Moved debian to conf and updated examples directoryJames Turnbull2008-07-1060-0/+2
|
* Fixed #1407 - allowdupe is now a boolean group parameter.Luke Kanies2008-07-092-1/+41
| | | | | | This just fixes a regression. Signed-off-by: Luke Kanies <luke@madstop.com>
* Fixed #1368 - updated Red Hat init scriptsJames Turnbull2008-07-093-3/+21
|
* Fixing the user ldap provider testsLuke Kanies2008-07-081-0/+1
| | | | Signed-off-by: Luke Kanies <luke@madstop.com>
* Added message referencing ReductveLabs build libraryJames Turnbull2008-07-082-1/+3
|
* Fixed #1396 - Added sha1 function from DavidS to coreJames Turnbull2008-07-083-2/+12
|
* 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-083-12/+122
|\ \
| * | Fixed #1226 - Gems can now specify source repositories.Luke Kanies2008-07-073-24/+79
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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-072-31/+31
| | | | | | | | | | | | 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-072-5/+60
| |/
* | Merge branch 'tickets/0.24.x/1272' of git://github.com/lak/puppet into 0.24.xJames Turnbull2008-07-085-0/+60
|\ \ | | | | | | | | | | | | | | | | | | Conflicts: CHANGELOG spec/unit/provider/user/ldap.rb
| * | Fixed #1272 - ldap group names will be converted to GIDs.Luke Kanies2008-07-075-0/+61
| |/ | | | | | | | | | | | | 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-073-0/+9
|/ | | | Signed-off-by: Luke Kanies <luke@madstop.com>
* Merge branch 'refactor/0.24.x/transaction_changes' of ↵James Turnbull2008-07-0516-339/+340
|\ | | | | | | git://github.com/lak/puppet into 0.24.x
| * Testing and simplifying the Transaction::Change#backward method.Luke Kanies2008-07-042-14/+36
| | | | | | | | Signed-off-by: Luke Kanies <luke@madstop.com>
| * Removing the Transaction::Change#transaction accessor.Luke Kanies2008-07-043-19/+2
| | | | | | | | | | | | | | 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-049-49/+23
| | | | | | | | | | | | | | | | | | | | | | 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-043-175/+175
| | | | | | | | | | | | | | 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-037-38/+33
| | | | | | | | Signed-off-by: Luke Kanies <luke@madstop.com>
| * Renaming the Puppet::PropertyChange class to Puppet::Transaction::Change.Luke Kanies2008-07-038-149/+139
| | | | | | | | 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-053-4/+14
|\ \
| * | Fixed #1231 - Exceptions during startup should now be clear.Luke Kanies2008-07-043-4/+14
| |/ | | | | | | | | | | | | 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-053-18/+19
|\ \ | | | | | | | | | 0.24.x
| * | file object creation should fail if source is not presentAndrew Shafer2008-07-043-18/+19
| |/ | | | | | | | | | | removed described? logic from insync? in ensure.rb and source.rb raise in source#retrieve if the source is not found
* | Updated test/ral/type/sshkey.rb testJames Turnbull2008-07-041-1/+0
| |
* | Removed debugging from lib/puppet/util/ldap/connection.rbJames Turnbull2008-07-041-1/+0
| |
* | Merge branch 'ticket/0.24.x/1391' of git://github.com/littleidea/puppet into ↵James Turnbull2008-07-042-4/+6
|\ \ | | | | | | | | | 0.24.x
| * | Adding changes to config print that were missed in fix for 1183Andrew Shafer2008-07-032-4/+6
| |/
* | Merge branch 'tickets/0.24.x/1240' of git://github.com/lak/puppet into 0.24.xJames Turnbull2008-07-042-0/+5
|\ \
| * | Fixed 1240 - puppet will function more like puppetd if graphingLuke Kanies2008-07-032-0/+5
| |/ | | | | | | or reporting are enabled.
* | Merge branch 'tickets/0.24.x/1232' of git://github.com/lak/puppet into 0.24.xJames Turnbull2008-07-045-5/+42
|\ \
| * | Fixed #1232 - the rundir no longer specifies a user/group,Luke Kanies2008-07-035-5/+42
| |/ | | | | | | | | | | 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-037-1100/+0
| |
* | Doing what I can to fix #1128, but just in preparation for removing 'interface'.Luke Kanies2008-07-033-27/+82
| | | | | | | | | | | | | | | | | | | | 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>