summaryrefslogtreecommitdiffstats
path: root/lib/puppet
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | Applying patch ↵Luke Kanies2007-11-231-1/+1
| | | | | | | | | | | | | | | | 20070913004017-6856b-cdbbba99de0b33b64874205a27833b5114fcc6b9.patch by womble -- Allow empty config settings
| * | | Adding patch ↵Luke Kanies2007-11-231-2/+2
| | | | | | | | | | | | | | | | 20070913003810-6856b-cdc8b2e8c6c46eb8d6d073f86291a0fc5a59f429.patch from womble -- Only set the hostname and password if we want them; this allows pgsql ident auth to work it's magic
| * | | Adding patch ↵Luke Kanies2007-11-231-0/+4
| |/ / | | | | | | | | | 20070905004837-6856b-2e7b8d8595ee0883537620c46424a4bf6174dc6a.patch from womble -- Add an attr_accessor for @http#ca_file, since older versions of libopenssl-ruby only provides ca_file=, not ca_file
* | | Hopefully fixing #698 -- fixing the markup for the pkgdmg package providerLuke Kanies2007-11-231-9/+9
| | |
* | | Fixing #882 -- I just added a quick hook to theLuke Kanies2007-11-231-1/+4
|/ / | | | | | | | | Master handler again; we need a better long-term solution, though.
* | Patching a bit for #804 by making the maximum much higher UIDLuke Kanies2007-11-232-9/+11
| | | | | | | | and making it tunable, but it has not gone away yet.
* | Merge branch 'master' of ssh://reductivelabs.com/opt/rl/git/puppetLuke Kanies2007-11-233-0/+14
|\ \
| * | Fixing #886 -- the problem was the I had changed the baseLuke Kanies2007-11-232-0/+7
| | | | | | | | | | | | | | | class for Parameter, which apparently lost the 'nodoc' method for that class.
| * | Added calls to endgrent/endpwent in util/posix.rb toLuke Kanies2007-11-231-0/+7
| | | | | | | | | | | | fix #791.
* | | Accepting a modified form of the patch from #885 by immerda.Luke Kanies2007-11-232-0/+3
|/ /
* | Applying patch from #896 by whaymond_home, adding moreLuke Kanies2007-11-231-2/+4
| | | | | | | | certname aliases.
* | Obviating targets in interfaces; they now just generate a warning.Luke Kanies2007-11-231-1/+2
| |
* | Adding more tests to the redhat interface provider. It noLuke Kanies2007-11-231-18/+25
| | | | | | | | | | longer uses the :target parameter (which I'll be removing in the next commit).
* | Rewriting the sunos interface provider to manually parse andLuke Kanies2007-11-231-80/+98
| | | | | | | | | | 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 Kanies2007-11-231-2/+2
| |
* | Adding some unit tests for the interface type before i go messing around with itLuke Kanies2007-11-231-1/+0
| |
* | Fixing the first part of #787. Not all collections wereLuke Kanies2007-11-201-4/+5
| | | | | | | | | | | | | | | | 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 problemLuke Kanies2007-11-201-1/+6
| | | | | | | | with bringing up alias interfaces.
* | Fixing #762. The main problem was that I accepted the patchLuke Kanies2007-11-202-78/+70
| | | | | | | | | | | | 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.
* | Using the Environment class to determine the default environment,Luke Kanies2007-11-203-10/+14
| | | | | | | | | | rather than plenty of different places having the logic of how to determine the default environment.
* | The Puppet settings instance now validates environments whenLuke Kanies2007-11-191-2/+4
| | | | | | | | you set an environment.
* | Fixing #911 and #912 -- there's a default environment (development)Luke Kanies2007-11-192-4/+54
| | | | | | | | and you have to specify the valid environments for your site.
* | Fixing a failing test from my fix for #446 -- I had changedLuke Kanies2007-11-191-6/+5
| | | | | | | | | | | | the behaviour of Resource#override_parameter unintentionally. I've corrected the comments so it's clear why the original behaviour was there.
* | Merge commit 'davids-bugfixes/rest/fix-903'Luke Kanies2007-11-191-10/+17
|\ \
| * | Add Exec{ logoutput=> on_failure }David Schmitt2007-11-191-4/+12
| | | | | | | | | | | | | | | This option only writes the output of the command to the log if the command failed.
| * | fix #903: add patch from hrvojehrDavid Schmitt2007-11-171-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"
* | | Fixing #896 by applying DerekW's patches, with slightLuke Kanies2007-11-193-14/+13
| | | | | | | | | | | | modifications to fit coding style.
* | | Fixing #446. I ended up largely not using porridge's patch,Luke Kanies2007-11-191-21/+34
| | | | | | | | | | | | | | | | | | 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-cron-tests'Luke Kanies2007-11-191-1/+1
|\ \ \
| * | | fix the underlying dependency on the environment in the cron typeDavid Schmitt2007-11-111-1/+1
| |/ /
* | | Merge commit 'davids-bugfixes/tests/fix-HOME-dependency'Luke Kanies2007-11-191-0/+4
|\ \ \
| * | | fix dependency on $HOME, which causes massive failures when running without ↵David Schmitt2007-11-111-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 globalLuke Kanies2007-11-1915-122/+179
| | | | | | | | | | | | | | | | | | | | | | | | resources. These are commits: c19835ce9f8a5138b30a1a32ca741c996b0916d2 9290cc89a2206fb5204578f8e91208857a48b147 ffb4c2dbc7314b364d25e4f7be599ef05b767b44
* | | Applying fix by Jeff McCune from #905Luke Kanies2007-11-181-0/+4
| | |
* | | Merge commit 'davids-bugfixes/rest/tests-for-872'Luke Kanies2007-11-181-0/+6
|\ \ \
| * | | fix #872: improve property(:content).insync?David Schmitt2007-11-091-0/+6
| |/ / | | | | | | | | | This commit applies ctrlaltdel's patch from trac #872
* | | Merge commit 'davids-bugfixes/rest/fix-815-by-using-main-explicitly'Luke Kanies2007-11-185-12/+6
|\ \ \
| * | | fix #815: add :main to all use() for :reporting and :metricsDavid Schmitt2007-11-094-4/+4
| | | |
| * | | remove obsolete runners variableDavid Schmitt2007-11-091-8/+2
| |/ /
* | | Fixed most failing tests, but there are still over thirty failing.Luke Kanies2007-11-1810-87/+72
| | | | | | | | | | | | | | | | | | At this point, I'm holding the experiment until after the release, so I'm committing this for now and will take it back up after 0.24.0 is out.
* | | Modifying how default resources are created; they are nowLuke Kanies2007-11-153-28/+26
| | | | | | | | | | | | | | | added to the configuration by the master client, rather than by the creating types.
* | | This commit is the first run at removing all globalLuke Kanies2007-11-1311-93/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | references to resources. It deprecates the class-level [] and []= methods, used for so long to provide closure behaviour but now unnecessary with the node configuration's ability to function as a resource container. All of the spec tests pass, but there is much to do to make the test/ tests pass, I expect.
* | | Fixing a parser test -- really, just removing testsLuke Kanies2007-11-132-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | that belong with the AST classes rather than in the parser. Yeah, these tests need to be rewritten. Committed on an airplane. :)
* | | Fixing #800 by refactoring how configurations are retrievedLuke Kanies2007-11-1211-201/+171
| | | | | | | | | | | | | | | | | | | | | | | | | | | from the server. The real problem was getting all of the validation done before any caching, which required a good bit more refactoring than I expected. In actuality, this commit is relatively small even though it covers many files; most of the changes just make the code clearer or shorter.
* | | Moving some compile tests to the spec/ directory, andLuke Kanies2007-11-121-5/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | switching the node scope to no longer be lazy evaluation, just like I switched 'main'. When I made all of these classes and nodes lazy evaluated, I should have decoupled my real goal (using resources to evaluate them) from the idea of lazy-evaluating them, and this basically does that. I also changed the scope heirarchy slightly so that scopes will tend to be below the node scope, altho this was already generally the case.
* | | Changing the 'main' class to no longer be lazy-evaluated.Luke Kanies2007-11-121-0/+2
| | | | | | | | | | | | | | | It was getting evaluated after node classes, which caused even stranger ordering issues.
* | | Adding a memory terminus for facts, which is really only used for testingLuke Kanies2007-11-121-0/+9
| | |
* | | Merge branch 'routing' into test_routingLuke Kanies2007-11-0810-53/+373
|\ \ \ | |/ / |/| |
| * | One significant step closer to getting autotest running properly on the ↵Rick Bradley2007-10-261-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Puppet specs. Created a spec/lib/monkey_patches/ directory for holding patches to RSpec functionality. Extraced 'confine' and 'runnable?' support from the local copy of RSpec (spec/lib/spec/) and now load them from the monkey_patches/ directory. Fixed a bad include in one of the specs. Made it possible for the gem-installed spec binary (which autotest calls) to be used with Puppet. Imported the Autotest::Rspec class, created a PuppetRspec autotest class, added a discovery.rb file for autotest to pick these up. Autotest still has the following problems: * it needs to be run with the proper include path: % ruby -I spec/lib/ `which autotest` * the patterns in our custom autotest handler (puppet_rspec) aren't yet fully specified (they only recognize changes in our spec files, not changes in the puppet libs which they are testing)
| * | Merge branch 'master' of git://reductivelabs.com/puppet into routingRick Bradley2007-10-2613-61/+126
| |\ \