Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | | Fixing some further failing tests resulting from the fix for | Luke Kanies | 2007-12-10 | 1 | -13/+11 | |
| | | | | ||||||
* | | | | Fixing #951 -- external nodes work again, but you have to | Luke Kanies | 2007-12-10 | 4 | -87/+109 | |
| | | | | | | | | | | | | | | | | set the 'node_terminus' setting to 'exec'. | |||||
* | | | | Fixing the rest of #948. My previous work was sufficient, | Luke Kanies | 2007-12-10 | 1 | -0/+14 | |
| | | | | | | | | | | | | | | | | | | | | | | | | except that I was not passing the interpolated value in to the hook, which meant the libdir was set to something like $vardir/lib. | |||||
* | | | | Fixing part of #948 -- per-setting hooks are now called | Luke Kanies | 2007-12-10 | 1 | -2/+47 | |
| |_|/ |/| | | | | | | | | | | | when the configuration file is parsed. The bug is still there, but I'm getting closer. | |||||
* | | | Adding basic unit tests for type/user by DavidS from #948. | Luke Kanies | 2007-12-06 | 1 | -0/+58 | |
| | | | ||||||
* | | | Fixing #923. Resources that are collected on the local | Luke Kanies | 2007-12-06 | 1 | -13/+0 | |
| |/ |/| | | | | | host are no longer marked as not exported. | |||||
* | | Updated tests for http_enable_post_connection_check configuration setting. | Jeffrey J McCune | 2007-11-29 | 1 | -0/+10 | |
|/ | ||||||
* | Fixing a couple of tests that were failing on a different platform or with a ↵ | Luke Kanies | 2007-11-28 | 2 | -2/+2 | |
| | | | | 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. | |||||
* | Merge branch 'master' of ssh://reductivelabs.com/opt/rl/git/puppet | Luke Kanies | 2007-11-28 | 1 | -1/+11 | |
|\ | ||||||
| * | Making a few changes to the transportable class to enhance backward ↵ | Luke Kanies | 2007-11-28 | 1 | -1/+11 | |
| | | | | | | | | compatibility | |||||
* | | Another backward compatibility patch, this time helping with a new server ↵ | Luke Kanies | 2007-11-28 | 1 | -1/+6 | |
|/ | | | | and old client | |||||
* | Theoretically, this patch is to fix #917 (which it does), but | Luke Kanies | 2007-11-28 | 7 | -37/+96 | |
| | | | | | | | | | | | | | | | | | | | 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. | |||||
* | Adding a top-level ResourceReference class that everything | Luke Kanies | 2007-11-28 | 1 | -0/+43 | |
| | | | | else can use to canonize how we refer to resources. Finally. | |||||
* | Fixing #931 by keeping track in configurations of | Luke Kanies | 2007-11-27 | 4 | -6/+35 | |
| | | | | | | | | | | 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 | 2 | -1/+3 | |
| | | | | after the test. | |||||
* | Fixing #920 -- I have replaced the existing mount test with an | Luke Kanies | 2007-11-26 | 2 | -4/+194 | |
| | | | | | 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 | 2 | -0/+270 | |
| | ||||||
* | Fixing #921, mostly by just deleting the existing test. I had | Luke Kanies | 2007-11-26 | 1 | -4/+22 | |
| | | | | | | already migrated all of the tests into rspec but forgot about these tests -- they were only in the rails/ subdir because people kept not running the parser/ tests after modifying the Rails code. | |||||
* | Merge branch 'plugins_mount', fixing #891. | Luke Kanies | 2007-11-24 | 1 | -0/+13 | |
|\ | | | | | | | | | | | Conflicts: CHANGELOG | |||||
| * | Integrating Matt Palmer's patch to provide a 'plugins' | Luke Kanies | 2007-11-24 | 1 | -0/+13 | |
| | | | | | | | | | | | | | | | | | | | | mount, fixing #891. The patch was ported to the current code by David Schmitt, I applied the rest of Matt's patches, and I then fixed all of the code so that the tests passed. The primary change I had to make to the patch was reenabling host expansion in paths -- his patch had disabled it. | |||||
* | | Implementing the test for setting the Rails | Luke Kanies | 2007-11-24 | 1 | -18/+41 | |
| | | | | | | | | log level. | |||||
* | | Merge commit 'danp/rails_socket_and_tests' | Luke Kanies | 2007-11-24 | 1 | -0/+94 | |
|\ \ | ||||||
| * | | change up rails specs again with Luke's help | Dan Peterson | 2007-11-24 | 1 | -41/+79 | |
| | | | ||||||
| * | | mock all use of Puppet[] in Puppet::Rails.database_arguments | Dan Peterson | 2007-11-23 | 1 | -26/+35 | |
| | | | ||||||
| * | | fix spacing | Dan Peterson | 2007-11-23 | 1 | -3/+3 | |
| | | | ||||||
| * | | fix socket argument to AR and add rails spec | Dan Peterson | 2007-11-23 | 1 | -0/+47 | |
| |/ | ||||||
* | | Incorporating patch ↵ | Luke Kanies | 2007-11-24 | 1 | -0/+386 | |
| | | | | | | | | | | | | | | | | | | | | 20071030034736-6856b-6004090b3968cdbf7d366a03ee1c44e2160a3fe0.patch from womble, and rewriting and significantly enhancing the unit tests for the Puppet::Parser::Collector class; it should have full coverage now. There are no integration tests for it, so there's still no guarantee that it works at all, but hey, we're a lot better off than we were. | |||||
* | | Integrating most of Matt Palmer's from | Luke Kanies | 2007-11-24 | 1 | -0/+69 | |
| | | | | | | | | | | | | | | http://theshed.hezmatt.org/mattshacks/puppet/_patches/puppet-0.23.2/. There are still a few that haven't made it in, notably those related to the plugins module, which I'm planning on integrating separately. | |||||
* | | Applying patch ↵ | Luke Kanies | 2007-11-23 | 1 | -0/+11 | |
|/ | | | | 20070913004017-6856b-cdbbba99de0b33b64874205a27833b5114fcc6b9.patch by womble -- Allow empty config settings | |||||
* | 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 | |
| | ||||||
* | Fixing the first part of #787. Not all collections were | Luke Kanies | 2007-11-20 | 1 | -0/+25 | |
| | | | | | | | | being evaluated on the first pass because they were being deleted from the collections list during evaluation, which caused some to get skipped. This commit fixes that problem, which helps in the trivial cases where the collections are in the same scope. I expect it's still broken for more complicated usages. | |||||
* | 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 last failing test relating to the environment changes | Luke Kanies | 2007-11-20 | 1 | -1/+2 | |
| | ||||||
* | 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 | 6 | -54/+65 | |
| | | | | | rather than plenty of different places having the logic of how to determine the default environment. | |||||
* | The Puppet settings instance now validates environments when | Luke Kanies | 2007-11-19 | 1 | -0/+5 | |
| | | | | you set an environment. | |||||
* | Fixing #911 and #912 -- there's a default environment (development) | Luke Kanies | 2007-11-19 | 1 | -0/+80 | |
| | | | | and you have to specify the valid environments for your site. | |||||
* | Merge commit 'davids-bugfixes/rest/fix-903' | Luke Kanies | 2007-11-19 | 1 | -0/+124 | |
|\ | ||||||
| * | Add Exec{ logoutput=> on_failure } | David Schmitt | 2007-11-19 | 1 | -12/+52 | |
| | | | | | | | | | | This option only writes the output of the command to the log if the command failed. | |||||
| * | tests for #903: fail when no logoutput is generated on failure | David Schmitt | 2007-11-17 | 1 | -0/+84 | |
| | |