summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fixing the tests in test/ that were broken asLuke Kanies2008-04-017-192/+49
| | | | a result of the move to no global resources.
* Fixing tests that were failing as a result of the merge,Luke Kanies2008-04-016-54/+3
| | | | | including removing some now-obsolete code and tests from the Settings class.
* Merge branch 'master' into master_no_global_resourcesLuke Kanies2008-03-31934-10782/+41151
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: lib/puppet/node/catalog.rb lib/puppet/type/pfile.rb lib/puppet/type/pfilebucket.rb lib/puppet/util/filetype.rb spec/unit/node/catalog.rb spec/unit/other/transbucket.rb spec/unit/ral/provider/mount/parsed.rb spec/unit/ral/types/file.rb spec/unit/ral/types/interface.rb spec/unit/ral/types/mount.rb spec/unit/ral/types/package.rb spec/unit/ral/types/schedule.rb spec/unit/ral/types/service.rb test/language/compile.rb test/language/lexer.rb test/language/snippets.rb test/lib/puppettest.rb test/ral/types/basic.rb test/ral/types/cron.rb test/ral/types/exec.rb test/ral/types/file.rb test/ral/types/file/target.rb test/ral/types/filebucket.rb test/ral/types/fileignoresource.rb test/ral/types/filesources.rb test/ral/types/group.rb test/ral/types/host.rb test/ral/types/parameter.rb test/ral/types/sshkey.rb test/ral/types/tidy.rb test/ral/types/user.rb test/ral/types/yumrepo.rb
| * Merge branch '0.24.x'Luke Kanies2008-03-2561-303/+3112
| |\ | | | | | | | | | | | | | | | | | | | | | Conflicts: install.rb lib/puppet/defaults.rb man/man8/puppet.8
| | * I think this will include the man pages in the build but overall the ↵James Turnbull2008-03-261-1/+2
| | | | | | | | | | | | Rakefile needs a rewrite
| | * Updated to version 0.24.4Luke Kanies2008-03-251-1/+1
| | |
| | * Updated to version 0.24.4Luke Kanies2008-03-251-1/+1
| | |
| | * Pass source to pkg_add via the PKG_PATH environment variable ifRyan McBride2008-03-252-1/+14
| | |
| | * Fixing #571 -- provider suitability is now checked at resourceLuke Kanies2008-03-244-14/+34
| | | | | | | | | | | | | | | | | | | | | evaluation time, rather than resource instantiation time. This means that you don't catch your "errors" as early, but it also means you should be able to realistically configure a whole host in one run.
| | * Fixing a couple of tests.Luke Kanies2008-03-244-36/+39
| | |
| | * Moved the configuration of the Node cache to the puppetmasterdLuke Kanies2008-03-243-3/+6
| | | | | | | | | | | | | | | executable, since it otherwise causes caches to be used in all cases, which we don't want (e.g., bin/puppet was using them).
| | * Merge commit 'turnbull/0.24.x' into 0.24.xLuke Kanies2008-03-242-1/+6
| | |\
| | | * Disabled man page creation by default and updated CHANGELOGJames Turnbull2008-03-252-1/+6
| | | |
| | * | Modifying the way ensure is handled so that it supportsLuke Kanies2008-03-241-3/+8
| | |/ | | | | | | | | | | | | | | | having it be a parameter. This is only useful if you want a composite resource that just generates other resources and passes the value on.
| | * Fixing #1138 -- the yamldir is automatically created by theLuke Kanies2008-03-244-12/+9
| | | | | | | | | | | | | | | server now that it's in the :puppetmasterd section rather than a separate :yaml section.
| | * Disabling http keep-alive as a means of preventing #1010.Luke Kanies2008-03-245-105/+188
| | | | | | | | | | | | | | | | | | | | | There is now a constant in Puppet::Network::HttpPool that will disable or enable this feature, but note that we determined that it can cause corruption, especially in file serving (but it's client-side corruption).
| | * Applying patch by Ryan McBride to fix OpenBSD packageLuke Kanies2008-03-232-1/+4
| | | | | | | | | | | | matching. The actual problem was caused by the fix to #1001.
| | * Added man pages and man page creation logic to install.rbJames Turnbull2008-03-2211-505/+2734
| | |
| | * Ported #198 man page creation functionality to 0.24.x branchJames Turnbull2008-03-222-3/+54
| | |
| | * Found all instances of methods where split() is used withoutLuke Kanies2008-03-2122-26/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | any local variables and added a local variable -- see http://snurl.com/21zf8. My own testing showed that this caused memory growth to level off at a reasonable level. Note that the link above says the problem is only with class methods, but my own testing showed that it's any method that meets these criteria. This is not a functional change, but should hopefully be the last nail in the coffin of #1131.
| | * Found an array that leaked pretty quickly between reparsingLuke Kanies2008-03-213-9/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | files, thanks to work by Adam Jacob and Arjuna Christenson (the finding, not the leak). I'm going to act like this fixes #1131, at least for now, but I doubt it does, since that shows general memory growth over time, whereas the leak here should go away as soon as files are reparsed (because the parser is holding the reference to the leaking array).
| | * Fixing a test I broke with my fix to #1147Luke Kanies2008-03-201-3/+3
| | |
| | * Fixed #1147: Cached nodes are correctly considered out ofLuke Kanies2008-03-203-0/+21
| | | | | | | | | | | | | | | | | | date if the node facts have been updated (thus causing node facts to again be available in manifests, for those cases where they were not).
| | * tweak the (already applied) patch in ↵Sam Quigley2008-03-202-1/+5
| | | | | | | | | | | | 388cf7c3df7ce26e953949ed6fe63d76cbbb3691 to resolve #1137; also, add tests which detect the problem.
| | * Applying patch by wyvern to fix #1142.Luke Kanies2008-03-201-2/+2
| | |
| * | Merge branch '0.24.x'Luke Kanies2008-03-2046-324/+584
| |\|
| | * * puppet/ext/emacs/puppet-mode.el (puppet-indent-line): Clean up the code ↵Karl Fogel2008-03-201-8/+8
| | | | | | | | | | | | somewhat after commit 738d275f41f3eaf015800021dd2dfe6c42a1ae79, as promised.
| | * * puppet/ext/emacs/puppet-mode.el (puppet-indent-line): Be more ↵Karl Fogel2008-03-201-0/+3
| | | | | | | | | | | | | | | | | | | | | sophisticated about what we do at the beginning of the buffer, so that the first expression after an block-opening statement that happens to begin at the beginning of the buffer gets indented correctly. This may need some cleanup, but I wanted to get the correct behavior committed first. Reported by: Micah Anderson (Who again supplied the reproduction case.)
| | * Fix bug mentioned in commit f814e23eab140ad01df4a4a3b187fcbf20da02be:Karl Fogel2008-03-201-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | * puppet/ext/emacs/puppet-mode.el (puppet-indent-line): When iterating backwards, test for beginning-of-buffer first, to avoid an infinite loop. Reported by: Micah Anderson (He also supplied a clear reproduction recipe.)
| | * * ext/emacs/puppet-mode.el (puppet-comment-line-p, puppet-in-array): New ↵Karl Fogel2008-03-201-29/+88
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | helper functions. (puppet-indent-line): Rewrite to handle three more situations: indent elements in an array, indent single-line blocks, and ignore previous comment content when indenting non-comment lines. Suggested by: Micah Anderson (He also provided the test data.) Notes: Michah points out that this change may have introduced an infinite loop (he can cause Emacs to hang now). Will investigate and fix in a separate change.
| | * * ext/emacs/puppet-mode.el: Untabify, in preparation for substantive changes.Karl Fogel2008-03-201-61/+61
| | |
| | * Adding another commit for #1136 -- ConsolidatedLuke Kanies2008-03-202-16/+14
| | | | | | | | | | | | | | | the setting of the loglevel and destination to just one call, rather than the multiple calls that remained.
| | * Fixed ports documentation errorJames Turnbull2008-03-201-2/+1
| | |
| | * Added more detail about the requirement for ruby-libshadow for useradd ↵James Turnbull2008-03-201-1/+1
| | | | | | | | | | | | password management
| | * Final fix to #1136 - further changes to --test settingJames Turnbull2008-03-201-0/+4
| | |
| | * Second fix to #1136 - fixed --test problemJames Turnbull2008-03-201-1/+1
| | |
| | * Fix for ticket #1136 --verbose cancels out --debugJames Turnbull2008-03-201-12/+22
| | |
| | * Applied patch in #1134James Turnbull2008-03-201-0/+5
| | |
| | * fixing another failing testLuke Kanies2008-03-191-0/+2
| | |
| | * Fixing some tests that only failed under certainLuke Kanies2008-03-185-10/+14
| | | | | | | | | | | | | | | circumstances (mostly, when loaded with other files, or when loaded from rake or autotest rather than separately).
| | * Refactoring how the catalog creation handles errors.Luke Kanies2008-03-184-50/+72
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, if there were an error creating a resource, the error would propagate leaving any previously created resources still in memory. Now, resources are removed by default when an error happens during instantiation, and the error propagates to the caller so that they can log or whatever. This also allows the Settings class to correctly and separately handle the cases where we can't create the catalog (which should never happen in normal usage but was happening because of this error -- later catalogs couldn't be created because earlier catalogs left resources lying around) from those where we can't apply the catalog.
| | * Removing extra debuggingLuke Kanies2008-03-181-1/+0
| | |
| | * Fixing a unit test for node integrationLuke Kanies2008-03-181-9/+2
| | |
| | * Settings now (again?) do not use a section more thanLuke Kanies2008-03-182-8/+26
| | | | | | | | | | | | once, which should make the system a bit more efficient.
| | * Removing explicit requires of types and providers,Luke Kanies2008-03-182-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.
| | * Removing obsolete code from the fileserving handler.Luke Kanies2008-03-181-49/+0
| | | | | | | | | | | | This was obsoleted in 0.24.2.
| | * updating resource references in the docsLuke Kanies2008-03-181-3/+3
| | |
| | * Hopefully *finally* fixed the "already being managed" problemLuke Kanies2008-03-183-7/+43
| | | | | | | | | | | | | | | | | | (#1036). The problem only cropped up if there was a failure when trying to manage the system -- this would cause the setting-based resources not to get cleaned up.
| | * Adding a rake taks for updating the trac docsLuke Kanies2008-03-171-0/+8
| | |
| | * Updated to version 0.24.3Luke Kanies2008-03-171-1/+1
| | |