summaryrefslogtreecommitdiffstats
path: root/spec
Commit message (Collapse)AuthorAgeFilesLines
...
* | Starting on #1808 - Added a base resource class.Luke Kanies2008-12-092-0/+204
| | | | | | | | | | | | | | | | | | | | | | This class borrows heavily from the Puppet::Parser::Resource class and from Puppet::TransObject, partially because it will hopefully eventually supplant both of them. The class isn't used at all yet; now we need to go through the codebase and remove everything related to TransObject. Signed-off-by: Luke Kanies <luke@madstop.com>
* | Removing the "clear" from the macauthorization testsLuke Kanies2008-12-091-6/+1
| | | | | | | | Signed-off-by: Luke Kanies <luke@madstop.com>
* | Merge branch '0.24.x'Luke Kanies2008-12-098-15/+280
|\| | | | | | | | | | | | | | | | | Conflicts: CHANGELOG lib/puppet/type/tidy.rb spec/unit/type/file/ensure.rb spec/unit/type/tidy.rb
| * Fix ZFS autorequire testAndrew Shafer2008-12-081-19/+19
| | | | | | | | Couldn't find a default provider because the world is not my laptop
| * 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-092-84/+76
| | | | | | | | versions more sanely
| * Bug #1803 Zfs should auto require the ancestor file systemsAndrew Shafer2008-12-081-0/+17
| |
| * Refactor #1802 Use 'zfs get -H -o value' instead of parsing output for valueAndrew Shafer2008-12-081-2/+2
| | | | | | | | just simplifying code
| * Fixing #1800 - tidy now correctly ignores missing files and directoriesLuke Kanies2008-12-081-0/+8
| | | | | | | | Signed-off-by: Luke Kanies <luke@madstop.com>
| * Fixing #1750 again - All of the properties and now :ensure check replace?Luke Kanies2008-12-081-0/+21
| | | | | | | | Signed-off-by: Luke Kanies <luke@madstop.com>
| * spec tests for type and provider and some code cleanup to adhere to DRYNigel Kersten2008-12-062-0/+233
| |
| * Bug #1780 Fixing meaningless testAndrew Shafer2008-12-021-2/+10
| | | | | | | | Gave meaning to test dependent on feature for role property
* | Fix #1483 - protect report terminus_class when testing for RESTBrice Figureau2008-12-081-0/+2
| | | | | | | | Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
* | Fix #1483 - use REST to transmit reports over the wireBrice Figureau2008-12-063-12/+196
| | | | | | | | Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
* | Fixing all broken tests. Most of them were broken by fileserving changes.Luke Kanies2008-12-021-0/+5
| | | | | | | | Signed-off-by: Luke Kanies <luke@madstop.com>
* | Merge branch '0.24.x'Luke Kanies2008-12-0254-215/+2119
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * Fixing mcx test failures (only happened sometimes).Luke Kanies2008-12-021-2/+2
| | | | | | | | Signed-off-by: Luke Kanies <luke@madstop.com>
| * Need to stub out the defaultprovider call for non Mac platformsNigel Kersten2008-12-021-0/+2
| |
| * remove extraneous commentsNigel Kersten2008-12-021-4/+0
| |
| * Trim down the after block clears to try to make the tests work for the build ↵Nigel Kersten2008-12-021-6/+6
| | | | | | | | | | | | servers Remove the require line so that it doesn't conflict with puppet's autoloader
| * Updated mcx type and provider with comprehensive spec tests.Jeffrey McCune2008-12-022-20/+171
| | | | | | | | | | | | | | | | 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 package test to be *much* fasterLuke Kanies2008-12-011-0/+1
| | | | | | | | Signed-off-by: Luke Kanies <luke@madstop.com>
| * Fixing a test that fails depending on test execution orderLuke Kanies2008-12-021-3/+3
| | | | | | | | Signed-off-by: Luke Kanies <luke@madstop.com>
| * Fix #1741 - fix some failing tests on some ruby versions.Brice Figureau2008-12-021-5/+5
| | | | | | | | | | | | Nigelk reported those tests were failing on ubuntu 8.04. I wasn't able to reproduce the issue myself but he confirmed the above patch fixed the tests.
| * Fix #1788 - allow rspec rake to run only some testsBrice Figureau2008-12-021-0/+73
| | | | | | | | Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
| * Fixing the AST constant warnings, using a variable instead of a constantLuke Kanies2008-12-026-74/+74
| | | | | | | | Signed-off-by: Luke Kanies <luke@madstop.com>
| * Fixing #1785 - selinux tests no longer break other testsLuke Kanies2008-12-021-5/+9
| | | | | | | | Signed-off-by: Luke Kanies <luke@madstop.com>
| * Ticket 1780 - Solaris RBAC roles should be autorequiredAndrew Shafer2008-12-011-0/+11
| | | | | | | | Autorequire the roles that belong to the user so they will be created first
| * Feature 1696 Add support for branded zonesAndrew Shafer2008-12-012-0/+62
| | | | | | | | Applied the patch from the ticket and wrote tests with the changes
| * Bug #1778 - Solaris RBAC profiles should maintain orderAndrew Shafer2008-12-013-0/+89
| | | | | | | | | | | | Created OrderedList property Added to profile property small refactor in List to make inheriting easier
| * Feature #1783 - Add ZFS supportAndrew Shafer2008-12-014-0/+301
| | | | | | | | 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-012-0/+130
| | | | | | | | | | | | | | | | 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 #1749 - Splay now hopefully behaves "better" for small values.Luke Kanies2008-12-011-9/+9
| | | | | | | | Signed-off-by: Luke Kanies <luke@madstop.com>
| * Fix #1741 - Add inline_template functionBrice Figureau2008-11-291-0/+59
| |
| * Fix #1741 - refactor TemplateWrapper, test for template functionBrice Figureau2008-11-292-19/+100
| |
| * Fix #1741 - Puppet::Parser::Functions rmfunctions and unit testBrice Figureau2008-11-291-0/+83
| |
| * Fixes #1773 - no longer check for absolute pathsThom May2008-11-291-0/+6
| |
| * Fixing #1743 - defined types get catalogs too.Luke Kanies2008-11-261-1/+7
| | | | | | | | | | | | | | I wasn't adding the catalog to the defined types when creating the transportable objects. Signed-off-by: Luke Kanies <luke@madstop.com>
| * Fixing #1755 - handling fully qualified classes correctly.Luke Kanies2008-11-262-0/+56
| | | | | | | | | | | | | | This involves lexing '::class' tokens along with correctly looking them up from the Resource::Reference class. Signed-off-by: Luke Kanies <luke@madstop.com>
| * Lots of DirectoryService work. New Computer Type. Users now use password ↵Nigel Kersten2008-11-261-0/+86
| | | | | | | | hashes. Groups now support setting members as attributes of the group for OS X.
| * Partially fixing #1772 - fixing selinux tests broken by removal of ↵Luke Kanies2008-11-261-2/+1
| | | | | | | | | | | | extraneous 'stat' in :file. Signed-off-by: Luke Kanies <luke@madstop.com>
| * Partially fixing #1772 - broken 'resources' tests.Luke Kanies2008-11-261-0/+27
| | | | | | | | | | | | | | | | The main problem was that the directory_services user provider was returning a string for its uid instead of an integer. I also began a 'resources' spec file. Signed-off-by: Luke Kanies <luke@madstop.com>
| * Removing the included testing gems; you must now install them yourself.Luke Kanies2008-11-255-15/+52
| | | | | | | | | | | | Everything passes, but autotest doesn't include color. Signed-off-by: Luke Kanies <luke@madstop.com>
| * Fixing #1708 - user groups specified as names are now detected correctly.Luke Kanies2008-11-241-0/+20
| | | | | | | | | | | | | | | | There was a bug when groups were specified by name -- the group was always compared to the current gid, rather than being converted to an integer and comparing that way. This is now fixed. Signed-off-by: Luke Kanies <luke@madstop.com>
| * Revert "Fixing #1755 - File modes (and other strange properties) will now ↵James Turnbull2008-11-221-14/+0
| | | | | | | | | | | | display correctly" This reverts commit ed4c4050a8ac46c509b20031814646a49ba86e54.
| * Fixing #1764 - a property's 'sync' method is never considered a no-op.Luke Kanies2008-11-211-4/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | *This is a behaviour change.* If the property does not return an event name, then one is generated based on the property name. Previously, the 'sync' method could return nil and it would be considered a noop, but if you need a noop, then you need to modify your 'insync?' method to return 'true' in the noop cases. Also modifying all of the builtin types that didn't handle this explicitly or returned nil in 'sync'. There should be no behaviour change in any of them. Signed-off-by: Luke Kanies <luke@madstop.com>
| * Refactoring the file/owner property to be simpler and cleaner.Luke Kanies2008-11-211-0/+132
| | | | | | | | | | | | | | | | It now looks almost exactly like the group property, and has a much more current data flow (e.g., sync is never no-op, and the sync method doesn't check whether the file is present). Signed-off-by: Luke Kanies <luke@madstop.com>