summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-12-16Updated to version 0.24.70.24.7Luke Kanies1-1/+1
2008-12-15Not using a temporary file when locking files for writing.Luke Kanies3-49/+15
The temporary file was not actually useful, because we could never really get atomic renames, for annoying, complicated reasons. This hopefully finally fixes #1812. Signed-off-by: Luke Kanies <luke@madstop.com>
2008-12-15Modifying the corruption-checking test.Luke Kanies2-27/+3
It is now more likely to fail if there's a problem, since the yaml should be corrupt, causing a yaml failure. Also removing the equivalent test from the Storage module. Signed-off-by: Luke Kanies <luke@madstop.com>
2008-12-15Issue 1804 VDev with the same devices should be in syncAndrew Shafer5-16/+158
Added VDev and MultiVDev properties to the ZPool type to handle logic Vdevs with the same devices are now in sync even if the order changes
2008-12-13Documentation fixesJames Turnbull24-130/+181
2008-12-12Fixing #1812 (hopefully) - adding read and write locks to yaml.Luke Kanies2-10/+26
It's obviously not really possible to test that this fixes it, but I'm confident that the locks work, and now we're using them, so it *should*. Signed-off-by: Luke Kanies <luke@madstop.com>
2008-12-12Preparing to fix #1812 - Moving locking code to a moduleLuke Kanies7-71/+237
This moves the locking code out of Puppet::Util into a separate module, to make the code cleaner. Signed-off-by: Luke Kanies <luke@madstop.com>
2008-12-10Fix #1815 - puppetdoc --all crash on resource overrideBrice Figureau1-1/+1
2008-12-08Fix ZFS autorequire testAndrew Shafer1-19/+19
Couldn't find a default provider because the world is not my laptop
2008-12-09Add a unique name to objects so we can determine uniqueness when read back inJohn Ferlito3-1/+9
The nagios object definitions have been updated to correlate with Nagios 3.0.6. In Nagios it is possible to have multiple service checks with the same service_description. eg I could have an check with a service_description of 'SSH' for multiple hosts. So in puppet we can't use it as a unique name for the resource. This patch modifies the code to use $name as the unique name. For some types eg command_name $name ends up in the config and thus we can tell which puppet resources match to which nagios ones. For other types like service there is no direct mapping from $name to a nagios attibute. So we use a custom attribute called _naginator_name. Signed-off-by: John Ferlito <johnf@inodes.org>
2008-12-09Fix launchd service test on non-OSX platformsJames Turnbull1-1/+1
2008-12-09Fix the spec tests to work on other platforms, do the confine around OS X ↵Nigel Kersten4-89/+85
versions more sanely
2008-12-09remove unnecessary mk_resource_methods callNigel Kersten1-2/+0
2008-12-09CHANGELOG updatesJames Turnbull2-5/+51
2008-12-09Add a unique name to objects so we can determine uniqueness when read back inJohn Ferlito3-74/+117
The nagios object definitions have been updated to correlate with Nagios 3.0.6. In Nagios it is possible to have multiple service checks with the same service_description. eg I could have an check with a service_description of 'SSH' for multiple hosts. So in puppet we can't use it as a unique name for the resource. This patch modifies the code to use $name as the unique name. For some types eg command_name $name ends up in the config and thus we can tell which puppet resources match to which nagios ones. For other types like service there is no direct mapping from $name to a nagios attibute. So we use a custom attribute called _naginator_name. Signed-off-by: John Ferlito <johnf@inodes.org>
2008-12-08Bug #1803 Zfs should auto require the ancestor file systemsAndrew Shafer2-0/+23
2008-12-08Refactor #1802 Use 'zfs get -H -o value' instead of parsing output for valueAndrew Shafer2-14/+3
just simplifying code
2008-12-08Fixing #1800 - tidy now correctly ignores missing files and directoriesLuke Kanies2-1/+16
Signed-off-by: Luke Kanies <luke@madstop.com>
2008-12-08Fixing #1794 - returning sync when it is already initializedLuke Kanies1-0/+1
Signed-off-by: Luke Kanies <luke@madstop.com>
2008-12-08Fixing #1750 again - All of the properties and now :ensure check replace?Luke Kanies2-0/+25
Signed-off-by: Luke Kanies <luke@madstop.com>
2008-12-08Fix rake abort when there is a matching confineBrice Figureau1-1/+1
Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
2008-12-06spec tests for type and provider and some code cleanup to adhere to DRYNigel Kersten4-160/+416
2008-12-06Finished work on rules creation and deletionNigel Kersten2-89/+129
2008-12-06new better way of doing stdinNigel Kersten1-2/+3
2008-12-06finished rights flush, working on rulesNigel Kersten1-7/+37
2008-12-06macauthorization typeNigel Kersten2-83/+46
2008-12-06reset macauthorization tree. Initial checkin of new type/providerNigel Kersten3-0/+396
2008-12-06add NetInfo deprecation notice to user and group providers, make the ↵Nigel Kersten3-6/+15
directoryservice user provider the default, remove default for darwin from NetInfo providers
2008-12-06Warn that the NetInfo nameservice provider is deprecated. Use ↵Nigel Kersten1-2/+7
directoryservice instead
2008-12-06add some more sanity checks around stdinNigel Kersten1-3/+9
2008-12-06add support for stdin to Puppet::Util.executeNigel Kersten1-2/+2
2008-12-06Make ralsh behave more sanely for non-existent objects and property valuesNigel Kersten1-1/+3
2008-12-04Added git changelog taskJames Turnbull1-0/+19
2008-12-02Bug #1780 Fixing meaningless testAndrew Shafer1-2/+10
Gave meaning to test dependent on feature for role property
2008-12-02Fixing mcx test failures (only happened sometimes).Luke Kanies1-2/+2
Signed-off-by: Luke Kanies <luke@madstop.com>
2008-12-02Need to stub out the defaultprovider call for non Mac platformsNigel Kersten1-0/+2
2008-12-02remove extraneous commentsNigel Kersten1-4/+0
2008-12-02Trim down the after block clears to try to make the tests work for the build ↵Nigel Kersten1-6/+6
servers Remove the require line so that it doesn't conflict with puppet's autoloader
2008-12-02Updated mcx type and provider with comprehensive spec tests.Jeffrey McCune3-22/+173
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>
2008-12-01Fixing a package test to be *much* fasterLuke Kanies1-0/+1
Signed-off-by: Luke Kanies <luke@madstop.com>
2008-12-01Fixing splaytime testsLuke Kanies1-1/+1
Signed-off-by: Luke Kanies <luke@madstop.com>
2008-12-01Removing debugging from the "resources" typeLuke Kanies1-1/+0
Signed-off-by: Luke Kanies <luke@madstop.com>
2008-12-02Fixing a test that fails depending on test execution orderLuke Kanies1-3/+3
Signed-off-by: Luke Kanies <luke@madstop.com>
2008-12-02Relicense under GPLv2+Bryan Kearney2-8/+8
2008-12-02Hopefully fixing #1703 - using a mutex around the sending of the tagmailsLuke Kanies1-6/+14
It's not really possible to test that this fixes the problem, and I can't even reproduce it, but hopefully this will work. Signed-off-by: Luke Kanies <luke@madstop.com>
2008-12-02Fix #1741 - fix some failing tests on some ruby versions.Brice Figureau1-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.
2008-12-02Fix #1788 - allow rspec rake to run only some testsBrice Figureau1-0/+73
Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
2008-12-02Fixing the AST constant warnings, using a variable instead of a constantLuke Kanies6-74/+74
Signed-off-by: Luke Kanies <luke@madstop.com>
2008-12-02Fixing #1785 - selinux tests no longer break other testsLuke Kanies1-5/+9
Signed-off-by: Luke Kanies <luke@madstop.com>
2008-12-01Ticket 1780 - Solaris RBAC roles should be autorequiredAndrew Shafer2-0/+22
Autorequire the roles that belong to the user so they will be created first