summaryrefslogtreecommitdiffstats
path: root/spec
Commit message (Collapse)AuthorAgeFilesLines
* Fixes #1455 - Adds HP-UX support for user typeJames Turnbull2008-09-061-0/+29
|
* Runit service providerBrice Figureau2008-08-291-0/+117
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This provider manages daemons running supervised by Runit[1]. It tries to detect the service directory, with by order of preference: * /service * /var/service * /etc/service The daemon directory should be placed in a directory that can be by default in: * /etc/sv * /var/lib/service or this can be overriden in the service resource parameters: service { "myservice": provider => "runit", path => "/path/to/daemons"; } This provider supports out of the box: * start/stop * enable/disable * restart * status [1]: http://smarden.sunsite.dk/runit/
* Daemontools service providerBrice Figureau2008-08-291-0/+124
| | | | | | | | | | | | | | | | | | | | | | | | | | | This provider manages daemons running supervised under D.J.Bernstein daemontools. It tries to detect the service directory, with by order of preference: * /service * /etc/service * /var/lib/svscan The daemon directory should be placed in a directory that can be by default in: * /var/lib/service * /etc or this can be overriden in the service resource parameters: service { "myservice": provider => "daemontools", path => "/path/to/daemons"; } This provider supports out of the box: * start/stop (mapped to enable/disable) * enable/disable * restart * status Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
* Fixed #1508 - Add HP-UX package provider.Mark Plaksin2008-08-201-0/+52
|
* Fixes #1274 - allow class names to start with numbersJames Turnbull2008-08-171-0/+9
|
* Added tests for TemplateWrapper's use of Scope#to_hash.Luke Kanies2008-08-091-1/+12
| | | | | | We should deprecate the method_missing stuff in 0.25. Signed-off-by: Luke Kanies <luke@madstop.com>
* Fixing an ldap connectivity testLuke Kanies2008-08-091-3/+13
| | | | Signed-off-by: Luke Kanies <luke@madstop.com>
* Specs for yaml indirector .search - I'm still learning!James Turnbull2008-08-011-0/+29
| | | | Updated, I was calling .base myself instead of the actual string
* Revert "Merging fsweetser's selinux patch against 0.24.4"James Turnbull2008-07-201-78/+0
| | | | This reverts commit f16da4250c16aeab932a81a349df059c69d7ee23.
* Merging fsweetser's selinux patch against 0.24.4Brett Lentz2008-07-201-0/+78
|
* Fixing #1438 -- mongrel and module tests now pass.Luke Kanies2008-07-202-2/+6
| | | | Signed-off-by: Luke Kanies <luke@madstop.com>
* Fixed all of the fileserving termini so they use indirection requests.Luke Kanies2008-07-189-150/+188
| | | | | | | | This looks like a much larger commit than it is -- it doesn't change any behaviour at all, it just adds some integration tests (which expose the problem) and then switches from an ad-hoc api to a request-based api. Signed-off-by: Luke Kanies <luke@madstop.com>
* 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>
* 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 '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