Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Patching a bit for #804 by making the maximum much higher UID | Luke Kanies | 2007-11-23 | 2 | -9/+11 | |
| | | | | | | | | and making it tunable, but it has not gone away yet. | |||||
* | | Merge branch 'master' of ssh://reductivelabs.com/opt/rl/git/puppet | Luke Kanies | 2007-11-23 | 5 | -27/+44 | |
|\ \ | ||||||
| * | | Fixing #886 -- the problem was the I had changed the base | Luke Kanies | 2007-11-23 | 3 | -27/+34 | |
| | | | | | | | | | | | | | | | class for Parameter, which apparently lost the 'nodoc' method for that class. | |||||
| * | | Added calls to endgrent/endpwent in util/posix.rb to | Luke Kanies | 2007-11-23 | 2 | -0/+10 | |
| | | | | | | | | | | | | fix #791. | |||||
* | | | Fixing a couple of tests that were failing because of the environment changes. | Luke Kanies | 2007-11-23 | 2 | -0/+2 | |
| | | | ||||||
* | | | Accepting a modified form of the patch from #885 by immerda. | Luke Kanies | 2007-11-23 | 2 | -0/+3 | |
|/ / | ||||||
* | | Applying patch from #896 by whaymond_home, adding more | Luke Kanies | 2007-11-23 | 1 | -2/+4 | |
| | | | | | | | | certname aliases. | |||||
* | | Obviating targets in interfaces; they now just generate a warning. | Luke Kanies | 2007-11-23 | 2 | -1/+6 | |
| | | ||||||
* | | Adding more tests to the redhat interface provider. It no | Luke Kanies | 2007-11-23 | 2 | -19/+128 | |
| | | | | | | | | | | 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 | 2 | -128/+264 | |
| | | | | | | | | | | 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 | 2 | -2/+123 | |
| | | ||||||
* | | Adding some unit tests for the interface type before i go messing around with it | Luke Kanies | 2007-11-23 | 3 | -40/+95 | |
| | | ||||||
* | | Fixing the first part of #787. Not all collections were | Luke Kanies | 2007-11-20 | 2 | -4/+30 | |
| | | | | | | | | | | | | | | | | 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. | |||||
* | | Applying patch from #834, apparently fixing a problem | Luke Kanies | 2007-11-20 | 1 | -1/+6 | |
| | | | | | | | | with bringing up alias interfaces. | |||||
* | | 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 | 4 | -78/+261 | |
| | | | | | | | | | | | | 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 | 9 | -64/+79 | |
| | | | | | | | | | | 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 | 2 | -2/+9 | |
| | | | | | | | | you set an environment. | |||||
* | | Fixing #911 and #912 -- there's a default environment (development) | Luke Kanies | 2007-11-19 | 4 | -4/+137 | |
| | | | | | | | | and you have to specify the valid environments for your site. | |||||
* | | Removing the manual ssldir setting by David in ↵ | Luke Kanies | 2007-11-19 | 1 | -1/+0 | |
| | | | | | | | | 59626cb3907d36e4fd762277daa76f523faf0908 | |||||
* | | Merge commit 'davids-bugfixes/tests/fix-test-client-ca' | Luke Kanies | 2007-11-19 | 2 | -0/+2 | |
|\ \ | ||||||
| * | | fix failing CA test, when testing with incomplete setup (no ssldir, no DNS) | David Schmitt | 2007-11-11 | 2 | -0/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3) Failure: test_webxmlmix(TestBucket) [./network/handler/bucket.rb:222:in `test_webxmlmix' /home/david/Work/puppet/misspiggy/puppet-luke/test/lib/mocha/test_case_adapter.rb:19:in `__send__' /home/david/Work/puppet/misspiggy/puppet-luke/test/lib/mocha/test_case_adapter.rb:19:in `run']: Exception raised: Class: <OpenSSL::SSL::SSLError> Message: <"hostname was not match with the server certificate"> ---Backtrace--- /usr/lib/ruby/1.8/openssl/ssl.rb:91:in `post_connection_check' /usr/lib/ruby/1.8/net/http.rb:588:in `connect' /usr/lib/ruby/1.8/net/http.rb:553:in `do_start' /usr/lib/ruby/1.8/net/http.rb:548:in `start' /home/david/Work/puppet/misspiggy/puppet-luke/lib/puppet/network/xmlrpc/client.rb:141:in `start' /home/david/Work/puppet/misspiggy/puppet-luke/lib/puppet/network/client.rb:95:in `initialize' /home/david/Work/puppet/misspiggy/puppet-luke/lib/puppet/network/client/dipper.rb:16:in `initialize' ./network/handler/bucket.rb:223:in `new' ./network/handler/bucket.rb:223:in `test_webxmlmix' ./network/handler/bucket.rb:222:in `test_webxmlmix' /home/david/Work/puppet/misspiggy/puppet-luke/test/lib/mocha/test_case_adapter.rb:19:in `__send__' /home/david/Work/puppet/misspiggy/puppet-luke/test/lib/mocha/test_case_adapter.rb:19:in `run' --------------- | |||||
* | | | Fixing a failing test from my fix for #446 -- I had changed | Luke Kanies | 2007-11-19 | 2 | -20/+5 | |
| | | | | | | | | | | | | | | | | | | the behaviour of Resource#override_parameter unintentionally. I've corrected the comments so it's clear why the original behaviour was there. | |||||
* | | | Fixing a few test suites that passed when run as | Luke Kanies | 2007-11-19 | 9 | -0/+18 | |
| | | | | | | | | | | | | | | | | | | part of the suite, but failed when run individually. The problem was that I changed lib/puppettest/support/utils to have a separate module and I didn't test the individual files. | |||||
* | | | Merge commit 'davids-bugfixes/rest/fix-903' | Luke Kanies | 2007-11-19 | 2 | -10/+141 | |
|\ \ \ | ||||||
| * | | | Add Exec{ logoutput=> on_failure } | David Schmitt | 2007-11-19 | 2 | -16/+64 | |
| | | | | | | | | | | | | | | | | | | | | This option only writes the output of the command to the log if the command failed. | |||||
| * | | | fix #903: add patch from hrvojehr | David Schmitt | 2007-11-17 | 1 | -6/+5 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | this moves logging of the command in front of failing from unexpected return. This helps very much to debug exec failures. Additionally I removed the unused local variable "loglevel" | |||||
| * | | | tests for #903: fail when no logoutput is generated on failure | David Schmitt | 2007-11-17 | 1 | -0/+84 | |
| |/ / | ||||||
* | | | Fixing #896 by applying DerekW's patches, with slight | Luke Kanies | 2007-11-19 | 4 | -14/+18 | |
| | | | | | | | | | | | | modifications to fit coding style. | |||||
* | | | Fixing #446. I ended up largely not using porridge's patch, | Luke Kanies | 2007-11-19 | 3 | -21/+91 | |
| | | | | | | | | | | | | | | | | | | but only because the code (and my coding style, to some extent) has changed so much in the last few months. Also, added specs. | |||||
* | | | Merge commit 'davids-bugfixes/tests/fix-settings-fail-as-root' | Luke Kanies | 2007-11-19 | 1 | -4/+5 | |
|\ \ \ | ||||||
| * | | | fix a testfailure when running spec tests as root | David Schmitt | 2007-11-10 | 1 | -4/+5 | |
| |/ / | | | | | | | | | | | | | when running as root, examples trying to create directories with non-standard users failed. This fix evades this difficulty. | |||||
* | | | Merge commit 'davids-bugfixes/tests/fix-cron-tests' | Luke Kanies | 2007-11-19 | 2 | -3/+3 | |
|\ \ \ | ||||||
| * | | | fix the underlying dependency on the environment in the cron type | David Schmitt | 2007-11-11 | 1 | -1/+1 | |
| | | | | ||||||
| * | | | fix crontests depending on ENV[USER] by using Etc.getpwuid(Process.uid) instead | David Schmitt | 2007-11-11 | 1 | -2/+2 | |
| |/ / | ||||||
* | | | Merge commit 'davids-bugfixes/tests/fix-HOME-dependency' | Luke Kanies | 2007-11-19 | 1 | -0/+4 | |
|\ \ \ | ||||||
| * | | | fix dependency on $HOME, which causes massive failures when running without ↵ | David Schmitt | 2007-11-11 | 1 | -0/+4 | |
| |/ / | | | | | | | | | | | | | | | | environment lib/puppet/defaults.rb:10:in `expand_path': couldn't find HOME environment -- expanding `~/.puppet' (ArgumentError) | |||||
* | | | Reverting the changes I'd made toward removing the global | Luke Kanies | 2007-11-19 | 41 | -467/+519 | |
| | | | | | | | | | | | | | | | | | | | | | | | | resources. These are commits: c19835ce9f8a5138b30a1a32ca741c996b0916d2 9290cc89a2206fb5204578f8e91208857a48b147 ffb4c2dbc7314b364d25e4f7be599ef05b767b44 | |||||
* | | | Applying fix by Jeff McCune from #905 | Luke Kanies | 2007-11-18 | 2 | -0/+9 | |
| | | | ||||||
* | | | Merge commit 'davids-bugfixes/rest/tests-for-872' | Luke Kanies | 2007-11-18 | 2 | -0/+38 | |
|\ \ \ | ||||||
| * | | | fix #872: improve property(:content).insync? | David Schmitt | 2007-11-09 | 1 | -0/+6 | |
| | | | | | | | | | | | | | | | | This commit applies ctrlaltdel's patch from trac #872 | |||||
| * | | | tests for #872: check interaction between "replace" and "content" | David Schmitt | 2007-11-09 | 1 | -0/+32 | |
| |/ / | | | | | | | | | | | | | Currently "Puppet::Type::File when used with replace=>false and content should be insync if the file exists and the content is different" fails. | |||||
* | | | Merge commit 'davids-bugfixes/rest/fix-815-by-using-main-explicitly' | Luke Kanies | 2007-11-18 | 6 | -14/+8 | |
|\ \ \ | ||||||
| * | | | fix #815: add :main to all use() for :reporting and :metrics | David Schmitt | 2007-11-09 | 5 | -6/+6 | |
| | | | | ||||||
| * | | | remove obsolete runners variable | David Schmitt | 2007-11-09 | 1 | -8/+2 | |
| |/ / | ||||||
* | | | Fixing a SimpleGraph unit test so it doesn't depend | Luke Kanies | 2007-11-18 | 1 | -1/+3 | |
| | | | | | | | | | | | | on hashing. |