Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Moving all tests that are in 'ral' up a level. | Luke Kanies | 2008-05-15 | 17 | -2486/+0 |
| | | | | | This directory only existed as an organizational method, and the code never matched it, so I'm fixing it. | ||||
* | Fixing the user test. | Luke Kanies | 2008-05-15 | 1 | -6/+4 |
| | | | | It was causing exceptions when run as part of the whole suite. | ||||
* | adding execute bits to tests | Luke Kanies | 2008-05-12 | 2 | -0/+0 |
| | |||||
* | New native ssh_authorized_key type | Francois Deppierraz | 2008-05-07 | 2 | -0/+154 |
| | |||||
* | Fixing some tests that were failing because new base types | Luke Kanies | 2008-04-08 | 1 | -31/+39 |
| | | | | | were added to Naginator, but no new related resource types were added. | ||||
* | Fixes #1148 - replaces #!/usr/bin/ruby with #!/usr/bin/env ruby. | Paul Lathrop | 2008-03-28 | 2 | -2/+2 |
| | |||||
* | Fixing some tests that only failed under certain | Luke Kanies | 2008-03-18 | 1 | -4/+7 |
| | | | | | circumstances (mostly, when loaded with other files, or when loaded from rake or autotest rather than separately). | ||||
* | Removing explicit requires of types and providers, | Luke Kanies | 2008-03-18 | 2 | -6/+1 |
| | | | | | | because they were conflicting with Puppet's autoloading. This is clearly a sign that our autoloading is silly, if Ruby's own loading easily makes it unhappy. | ||||
* | Fixing #1118 -- downloading plugins and facts now ignores noop. | Luke Kanies | 2008-03-13 | 1 | -0/+38 |
| | | | | | | Note that this changes the behaviour a bit -- the resource's noop setting always beats the global setting (previously, whichever was true would win). | ||||
* | renaming ral/types to ral/type in the tests | Luke Kanies | 2008-02-28 | 9 | -0/+0 |
| | |||||
* | Adding a 'control' parameter to services, for those | Luke Kanies | 2008-02-28 | 1 | -4/+11 |
| | | | | service types that need a control variable to enable/disable. | ||||
* | Removing the validation on package sources, since | Luke Kanies | 2008-02-26 | 1 | -2/+2 |
| | | | | | some platforms (e.g., hpux) do not have a well-formed requirement for the source. | ||||
* | Somewhat refactored fileserving so that it no longer caches | Luke Kanies | 2008-02-23 | 1 | -0/+37 |
| | | | | | | | | | | any objects, nor does it use Puppet's RAL resources. In the process, I fixed #894 (you can now copy links) and refactored other classes as necessary. Mostly it was fixing tests. This is a squashed commit of a temporary branch, fwiw, and it also includes any fixes to the tests that were necessary to get all tests passing again. | ||||
* | Removing a test I never migrated from test/unit. | Luke Kanies | 2008-02-21 | 1 | -119/+0 |
| | |||||
* | Quashed commit of my fixes for #1010. | Luke Kanies | 2008-02-21 | 1 | -0/+119 |
| | |||||
* | Removing some extraneous debugging from a test. | Luke Kanies | 2008-02-18 | 1 | -3/+0 |
| | |||||
* | Merge branch 'my24' into 0.24.x | Rick Bradley | 2008-02-18 | 5 | -594/+560 |
|\ | |||||
| * | converting mount provider specs from setup/teardown to before/after | Rick Bradley | 2008-02-18 | 1 | -88/+84 |
| | | |||||
| * | converting parsed mount provider specs from setup/teardown to before/after | Rick Bradley | 2008-02-18 | 1 | -78/+81 |
| | | |||||
| * | converting mount type specs from setup/teardown to before/after | Rick Bradley | 2008-02-18 | 1 | -94/+91 |
| | | |||||
| * | converting package type specs from setup/teardown to before/after | Rick Bradley | 2008-02-18 | 1 | -91/+94 |
| | | |||||
| * | converting ral/types/schedule specs away from setup/teardown | Rick Bradley | 2008-02-18 | 1 | -243/+210 |
| | | |||||
* | | Fixed #1037 -- remote unreadable files no longer have the | Luke Kanies | 2008-02-18 | 1 | -11/+44 |
|/ | | | | | permission denied exceptions caught, thus forbidding them from being replaced with 'nil'. | ||||
* | Renaming the 'pfile' and 'pfilebucket' files to plain | Luke Kanies | 2008-02-13 | 1 | -1/+1 |
| | | | | | 'file' and 'filebucket'. This should have been done years ago. | ||||
* | Removing the last remaining vestiges of GRATR -- | Luke Kanies | 2008-02-11 | 1 | -2/+2 |
| | | | | removing the bangs from 'add_vertex!' and 'add_edge!'. | ||||
* | Removing the requirement in the parsed mount provider | Luke Kanies | 2008-01-07 | 1 | -1/+1 |
| | | | | that the fstab file exist. | ||||
* | Added builtin support for all Nagios resource types. | Luke Kanies | 2007-12-31 | 1 | -0/+55 |
| | | | | | | | | | | | | | I use Naginator to parse and generate the files, with ParsedFile to handle record management and the like. Note that each resource type itself is just a call to a Factory method, since everything is just based on Naginator. Given that, all of the tests are in a single unit/ral/types/nagios.rb file, since I used a factory to generate them, too. This is probably either unnecessary or insufficient, but it's as far as I'm willing to go in testing them, and it did actually catch a few bugs. | ||||
* | Renaming 'configuration' to 'catalog', fixing #954. | Luke Kanies | 2007-12-11 | 2 | -23/+23 |
| | |||||
* | Adding basic unit tests for type/user by DavidS from #948. | Luke Kanies | 2007-12-06 | 1 | -0/+58 |
| | |||||
* | Fixing a couple of tests that were failing on a different platform or with a ↵ | Luke Kanies | 2007-11-28 | 1 | -1/+1 |
| | | | | different version of ruby | ||||
* | Fixing #892 -- filesystem mounts are no longer remounted. | Luke Kanies | 2007-11-28 | 1 | -0/+7 |
| | |||||
* | Fixing #527 (rewrote service tests), #766 (services only restart when they | Luke Kanies | 2007-11-28 | 2 | -2/+249 |
| | | | | | | | are running), and #918 (service tests fail when hddtemp is not installed). Mostly, I just rewrote the service tests, but I cleaned up the cruft from the Service class, too. | ||||
* | Theoretically, this patch is to fix #917 (which it does), but | Luke Kanies | 2007-11-28 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | there were enough problems fixing it that I decided something more drastic needed to be done. This uses the new Puppet::ResourceReference class to canonize what a resource reference looks like and how to retrieve resources via their references. Specifically, it guarantees that resource types are always capitalized, even when they include '::' in them. While many files are modified in this commit, the majority of changes are quite small, and most of the changes are fixing the tests to use capitalized types. As we look at consolidating some of our resource types, we could consolidate the ResourceReference stuff at the same time, but at least the Puppet::Parser::ResourceReference class subclasses the main Puppet::ResourceReference class. | ||||
* | Fixing #931 by keeping track in configurations of | Luke Kanies | 2007-11-27 | 2 | -6/+10 |
| | | | | | | | | | | what transportable resources get converted to, so different names don't throw it off. I also got rid of the Puppet::Type#merge method, which has been deprecated for ages but was still in there. I had to fix a few tests that weren't cleaning up after themselves as a result. | ||||
* | Fixing the persistent and periodic schedule test failures | Luke Kanies | 2007-11-27 | 1 | -0/+374 |
| | | | | by rewriting the schedule tests entirely. | ||||
* | Fixing #924 -- clearing the configuration cache before and | Luke Kanies | 2007-11-26 | 1 | -1/+0 |
| | | | | after the test. | ||||
* | Fixing #920 -- I have replaced the existing mount test with an | Luke Kanies | 2007-11-26 | 1 | -0/+189 |
| | | | | | rspec version. It's not perfect, in that it only tests the :ensure state, but that's where 90% of the behaviour is. | ||||
* | Fixing a test that was erroneously testing for the wrong feature | Luke Kanies | 2007-11-26 | 1 | -1/+1 |
| | |||||
* | Rewriting the tests for the package resource type, fixing #930. | Luke Kanies | 2007-11-26 | 1 | -0/+246 |
| | |||||
* | Adding more tests to the redhat interface provider. It no | Luke Kanies | 2007-11-23 | 1 | -1/+103 |
| | | | | | longer uses the :target parameter (which I'll be removing in the next commit). | ||||
* | Rewriting the sunos interface provider to manually parse and | Luke Kanies | 2007-11-23 | 1 | -48/+166 |
| | | | | | generate, rather than using ParsedFile. This should fix #777, and has from what I can tell. | ||||
* | Adding unit tests for the sunos interface provider. | Luke Kanies | 2007-11-23 | 1 | -0/+121 |
| | |||||
* | Adding some unit tests for the interface type before i go messing around with it | Luke Kanies | 2007-11-23 | 1 | -0/+95 |
| | |||||
* | Removing the bootproto and broadcast attributes from the redhat interface ↵ | Luke Kanies | 2007-11-20 | 1 | -18/+0 |
| | | | | provider, since they are not needed | ||||
* | fixing the path to the spec helper in the exec test | Luke Kanies | 2007-11-20 | 1 | -1/+1 |
| | |||||
* | Fixing #762. The main problem was that I accepted the patch | Luke Kanies | 2007-11-20 | 1 | -0/+187 |
| | | | | | | in #744 which broke the templates. In the process, I also added test code for the redhat interface provider and rewrote how parsing worked to make it more testable. | ||||
* | Moving the exec test into the types/ directory | Luke Kanies | 2007-11-20 | 1 | -0/+0 |
| | |||||
* | Fixing the exec spec so it works when non-root and is a bit cleaner | Luke Kanies | 2007-11-20 | 1 | -42/+12 |
| | |||||
* | Using the Environment class to determine the default environment, | Luke Kanies | 2007-11-20 | 1 | -1/+0 |
| | | | | | rather than plenty of different places having the logic of how to determine the default environment. | ||||
* | Merge commit 'davids-bugfixes/rest/fix-903' | Luke Kanies | 2007-11-19 | 1 | -0/+124 |
|\ |