summaryrefslogtreecommitdiffstats
path: root/spec/unit
Commit message (Collapse)AuthorAgeFilesLines
...
* | Renaming the "Catalog#to_type" method to "Catalog#to_ral"Luke Kanies2008-12-185-10/+13
| | | | | | | | Signed-off-by: Luke Kanies <luke@madstop.com>
* | Using Puppet::Resource to convert parser resources to RAL resourcesLuke Kanies2008-12-182-27/+8
| | | | | | | | Signed-off-by: Luke Kanies <luke@madstop.com>
* | Adding resource convertion to the parser resourcesLuke Kanies2008-12-181-0/+80
| | | | | | | | | | | | | | Also uses Puppet::Resource's method for creating transportable resources. Signed-off-by: Luke Kanies <luke@madstop.com>
* | Adding equality testing to Puppet::Resource::ReferenceLuke Kanies2008-12-181-0/+16
| | | | | | | | Signed-off-by: Luke Kanies <luke@madstop.com>
* | Correcting whitespace and nested describes in Puppet::Resource::CatalogLuke Kanies2008-12-181-665/+667
| | | | | | | | Signed-off-by: Luke Kanies <luke@madstop.com>
* | Renaming Puppet::Node::Catalog to Puppet::Resource::CatalogLuke Kanies2008-12-1814-73/+73
| | | | | | | | Signed-off-by: Luke Kanies <luke@madstop.com>
* | Renaming Puppet::ResourceReference to Puppet::Resource::ReferenceLuke Kanies2008-12-092-27/+27
| | | | | | | | Signed-off-by: Luke Kanies <luke@madstop.com>
* | Adding Trans{Object,Bucket} backward compatibility to Puppet::ResourceLuke Kanies2008-12-092-0/+91
| | | | | | | | | | | | This is further progress toward #1808. Signed-off-by: Luke Kanies <luke@madstop.com>
* | 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 - use REST to transmit reports over the wireBrice Figureau2008-12-062-12/+105
| | | | | | | | 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-0253-215/+2046
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * 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>