summaryrefslogtreecommitdiffstats
path: root/spec/unit/provider
Commit message (Collapse)AuthorAgeFilesLines
...
| * Fix launchd service test on non-OSX platformsJames Turnbull2008-12-091-1/+1
| |
| * Fix the spec tests to work on other platforms, do the confine around OS X ↵Nigel Kersten2008-12-091-23/+17
| | | | | | | | versions more sanely
| * Refactor #1802 Use 'zfs get -H -o value' instead of parsing output for valueAndrew Shafer2008-12-081-2/+2
| | | | | | | | just simplifying code
| * spec tests for type and provider and some code cleanup to adhere to DRYNigel Kersten2008-12-061-0/+153
| |
* | Merge branch '0.24.x'Luke Kanies2008-12-0216-47/+733
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: bin/puppetca lib/puppet/type/group.rb lib/puppet/type/tidy.rb lib/puppet/util/settings.rb Also edited the following files so tests will pass: lib/puppet/type/component.rb spec/unit/ssl/certificate_request.rb spec/unit/type/computer.rb spec/unit/type/mcx.rb spec/unit/type/resources.rb spec/unit/util/settings.rb spec/unit/util/storage.rb test/ral/type/zone.rb
| * Updated mcx type and provider with comprehensive spec tests.Jeffrey McCune2008-12-021-3/+110
| | | | | | | | | | | | | | | | Signed-off-by: Jeffrey McCune <mccune.jeff@gmail.com> Fixed default provider error with mcx type spec. Signed-off-by: Jeffrey McCune <mccune.jeff@gmail.com>
| * Fixing a test that fails depending on test execution orderLuke Kanies2008-12-021-3/+3
| | | | | | | | Signed-off-by: Luke Kanies <luke@madstop.com>
| * Feature 1696 Add support for branded zonesAndrew Shafer2008-12-011-0/+42
| | | | | | | | Applied the patch from the ticket and wrote tests with the changes
| * Feature #1783 - Add ZFS supportAndrew Shafer2008-12-012-0/+245
| | | | | | | | Types and providers to manage zfs and zpool
| * Handle password when user is createdAndrew Shafer2008-12-011-0/+5
| | | | | | | | strip out the -p and call password= after the thing is done
| * Solaris doesn't have a native tool to set hashed passwordsAndrew Shafer2008-12-011-0/+53
| | | | | | | | | | | | | | Added support for passwords by directly editing /etc/shadow (I tried to make it work with libshadow, but considering it is not packaged for Solaris and adds little benefit, I decided against it) password and password= are now defined on the default Solaris provider
| * type/mcx.rb Feature #1026 - MCX TypeJeffrey McCune2008-12-011-0/+68
| | | | | | | | | | | | | | | | Added new MCX type and base test. This type manages MCX settings on DirectoryService nodes. These settings take the form of plist XML documents attached to Users, Groups, and Computers in DirectoryService.
| * Simplify launchd service provider and add testsNigel Kersten2008-12-011-0/+134
| |
| * Fixing broken tests resulting from the fix to #1747Luke Kanies2008-11-175-1/+8
| | | | | | | | Signed-off-by: Luke Kanies <luke@madstop.com>
| * Fixed #1735 and #1747 - Fixes to confine systemJames Turnbull2008-11-161-19/+13
| |
| * Fixing the provider's confine subsystem so the logs are more useful.Luke Kanies2008-11-133-24/+48
| | | | | | | | | | | | | | | | | | I apparently lost some context in these logs when I switched to this separate subsystem. Note that this also fixes some of the informational issues in Signed-off-by: Luke Kanies <luke@madstop.com>
| * Fix #1737 - ssh_authorized_keys should be able to parse options containing ↵Brice Figureau2008-11-111-0/+7
| | | | | | | | | | | | commas Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
* | Merge branch '0.24.x'Luke Kanies2008-10-311-0/+238
|\| | | | | | | | | | | Conflicts: CHANGELOG
| * Added unit tests for the augeas type and providerBryan Kearney2008-10-301-0/+238
| |
* | Merge branch '0.24.x'Luke Kanies2008-10-222-14/+158
|\| | | | | | | | | | | Conflicts: lib/puppet/type/user.rb
| * Solaris RBAC AttributesAndrew Shafer2008-10-222-14/+158
| | | | | | | | | | | | | | | | | | | | | | Adding support to user type for: profiles auths project key/value pairs Refactored useradd.addcmd so I could override how properties get added in the subclass Added keyvalue property to manage generic keyvalues
* | Merge branch '0.24.x' Removed the 'after' blocks that call Type.clear,Luke Kanies2008-10-177-5/+550
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | since that method is deprecated. Conflicts: CHANGELOG bin/puppetca lib/puppet/file_serving/fileset.rb lib/puppet/network/xmlrpc/client.rb lib/puppet/type/file/selcontext.rb spec/unit/file_serving/metadata.rb spec/unit/type/file.rb
| * Fixing tests I broke when trying to fix the Providers reference.Luke Kanies2008-10-171-5/+15
| | | | | | | | Signed-off-by: Luke Kanies <luke@madstop.com>
| * Cleanup selboolean and selmodule unit tests to pass on non-SELinux systemsSean E. Millichamp2008-10-092-0/+5
| |
| * Add new set of unit tests for selmodule typeJames Turnbull2008-10-082-0/+63
| |
| * Removal of redundant lines from unit testSean E. Millichamp2008-10-081-3/+0
| |
| * Remove old selboolean unit tests and fix permissions on new testsJames Turnbull2008-10-081-0/+0
| |
| * Rewrote seboolean unit tests to provide better coverageSean E. Millichamp2008-10-081-0/+38
| |
| * Fix failing tests dependent on /etc/user_attr file existingAndrew Shafer2008-10-041-3/+3
| |
| * Migrating the apt and dpkg tests to rspec.Luke Kanies2008-10-022-0/+301
| | | | | | | | | | | | | | I left the aptitude and aptrpm tests as an exercise for the reader. Signed-off-by: Luke Kanies <luke@madstop.com>
| * Add role support to user type and an implementionAndrew Shafer2008-10-011-0/+131
| | | | | | | | | | | | | | | | modify user type: add ensure = role logic add roles property add manages_solaris_rbac feature refactored 'list' property to reuse logic for groups in roles
* | Merge branch '0.24.x'Luke Kanies2008-09-233-0/+266
|\| | | | | | | | | | | | | | | | | | | Conflicts: lib/puppet/metatype/container.rb lib/puppet/metatype/instances.rb lib/puppet/metatype/metaparams.rb lib/puppet/metatype/relationships.rb lib/puppet/metatype/schedules.rb
| * fix failing hpux user specsAndrew Shafer2008-09-201-8/+4
| | | | | | | | | | | | | | feature 1508 Not sure these tests ever passed on any platform. Added some mocking to support the two tests.
| * 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>
* | Merge branch '0.24.x'Luke Kanies2008-08-201-0/+52
|\|
| * Fixed #1508 - Add HP-UX package provider.Mark Plaksin2008-08-201-0/+52
| |
* | Removing dead-end file work as promised.Luke Kanies2008-08-201-181/+0
| | | | | | | | Signed-off-by: Luke Kanies <luke@madstop.com>
* | Adding files temporarily, since I've decided this work is a dead-end.Luke Kanies2008-08-201-0/+181
| | | | | | | | | | | | | | I'm merely adding these so that they're in the history if I decided to look at them again. Signed-off-by: Luke Kanies <luke@madstop.com>
* | Merge branch '0.24.x' into mergingLuke Kanies2008-07-291-0/+21
|\| | | | | | | | | | | Conflicts: test/ral/type/filesources.rb
| * Fix #1409, Move path expansion from the type into the providerFrancois Deppierraz2008-07-111-0/+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 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-083-0/+123
|\| | | | | | | | | | | Conflicts: CHANGELOG
| * 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/+39
| | | | | | | | | | | | Signed-off-by: Luke Kanies <luke@madstop.com>
| * | 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