summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | | [#4771] Import of manifests with the same name only happens oncePaul Berry2010-09-234-65/+55
| | |_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The function import_if_possible, which was supposed to be responsible for making sure that no two threads tried to import the same file at the same time, was not making this decision based on the full pathname of the file, since it was being invoked before pathnames were resolved. As a result, if we attempted to import two distinct files with the same name at the same time (either in two threads or in a single thread due to recursion), one of the files would not always get imported. Fixed this problem by moving the thread-safety logic to happen after filenames are resolved to absolute paths. This made it possible to simplify the thread-safety logic significantly.
| * | | | | | Fix for #4708 - tagmail should allow . in tagnameDan Bode2010-09-232-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | changed the regex so that tagmail allows . in tagname.
| * | | | | | Minimal fix for #4631 -- set implicit classes as in 0.25.xMarkus Roberts2010-09-231-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a minimal fix for #4631 by reversing one part of the refactor for #1903 commit 0d4fd60c7c143cc1f4e4b0f99f359c09cbfbf21e. It fixes the immediate issue (implicit classes not being added to resources) but leaves open several other questions which are defered to #4687.
| * | | | | | Fixed #3707 - rpm, like dpkg-query exits 1 if the package is not installed. ↵James Turnbull2010-09-231-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Returning nil in this provider had the effect that on every run, puppet would end up calling yum erase . Returning the correct data structure resolves this. Thanks to Stephen Gran for the patch
| * | | | | | Fixed Puppet Doc TOC generationJames Turnbull2010-09-161-2/+2
| | | | | | |
| * | | | | | Fixed versioncmp function typoJames Turnbull2010-09-161-1/+1
| | | | | | |
| * | | | | | Fixed Reductive references in LICENSE fileJames Turnbull2010-09-151-2/+2
| | | | | | |
| * | | | | | Documentation updates for Markdown conversionJames Turnbull2010-09-146-34/+29
| | |_|_|_|/ | |/| | | |
* | | | | | Merge commit '2.6.1'Jesse Wolfe2010-09-137-11/+48
|\| | | | |
| * | | | | Updated CHANGELOG for 2.6.1James Turnbull2010-09-141-0/+8
| | | | | |
| * | | | | [#4756] addendum for #4756Jesse Wolfe2010-09-142-7/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes spec and unit tests indirectly related to the previous patch-revert. One failure was from trying to test the User Type's roles, when, on many platforms, the roles feature wasn't supported by the default Provider. Other tests could fail on some platforms because they assumed that unsupported attributes would be ignored with a warning, but the code was crashing instead.
| * | | | | Fix for Bug #4756 - Providers no longer respect missing featuresJames Cammarata2010-09-143-1/+18
| | | | | | | | | | | | | | | | | | | | | | | | Restored deleted lines from type.rb and reinstated unit tests
| * | | | | Fix for #4736 -- preserve case of defined resourcesMarkus Roberts2010-09-101-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This restricts the change introduced in #4691 to hostclasses, and leaves defined resources and nodes alone, thus more closely mimicing the 0.25.x behaviour. It also includes title, as this was similarly affected.
| * | | | | Fix for #4637 --use of namevar missed in refactorMarkus Roberts2010-09-091-1/+1
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | A use of namevar apparently slipped through the net or got (re)introduced in a merge/conflict resolution.
* | | | | Merge commit '2.6.1rc4'Jesse Wolfe2010-09-1347-2795/+3353
|\| | | |
| * | | | Updated CHANGELOG for 2.6.1rc4James Turnbull2010-09-071-0/+25
| | | | |
| * | | | Minimal fix for #4691 -- class name uppercased in $nameMarkus Roberts2010-09-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The class name is now stored internally with an initial capital, which changed the contents of $name in a way that broke some manifests. This fix stores the downcased version in $name.
| * | | | Fix for #4693 -- implicit stages should never be serializedMarkus Roberts2010-09-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | My fix for #4542 was overly enthusiastic about assuring that all resources had a stage, resulting in stages designations being serialized for resources in manifests which did not use resources (everything was in implicit main). This broke 0.25.x compatibility, as all catalogs now refered to stages. This patch scales back the change for #4542 slightly, supressing the setting of main on the puppetmaster and relying on the default behaviour on the client (for 2.6.x and later, treat it as main; for 0.25.x, do nothing).
| * | | | Fix for #4646 -- Missing stubMarkus Roberts2010-09-071-1/+1
| | | | | | | | | | | | | | | | | | | | The test was expecting a stub object but wasn't providing one.
| * | | | Fix for tests broken by fix for #4489 -- stub standaloneMarkus Roberts2010-09-072-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the file streaming is to be thwarted when running standalone the test for standalone needs to be stubbed when running specs, lest the tests inexplicably fail.
| * | | | Fix for #4489 -- apply was using the rest terminusMarkus Roberts2010-09-072-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Basing pervasive low-level behaviour changes on the application name isn't a good idea, but if we're going to do it we need to remember to update the test when we rename the application. Further, if we optimize around such low-level tests (as we did when implementing file-streaming) we need to carry the tests over into the new data paths. This commit addresses both of these isues, restoring 0.25.x stand-alone file serving by adjusting the process-name test in the indirector to recognize "apply" as standalone (and thus not use http to fetch the files) and by adding a branch to the file streaming code to do the same when fetching the content. I am not certain that this change is globally correct; there may be other related problems that will not be fixed (and may in fact be exacerbated) by this patch.
| * | | | [#4462] uncaught Timeout::ErrorJesse Wolfe2010-09-071-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | puppet agent was not catching all species of exceptions, causing it to crash on net/http timeout errors. This patch broadens the types of exceptions that are caught.
| * | | | Fixed alias metaparam docs errorJames Turnbull2010-09-071-1/+1
| | | | |
| * | | | Skip apt-listbugs and apt-listchanges when installing from puppetDean Wilson2010-09-041-0/+4
| | | | |
| * | | | [#4660] Avoid passing rake and autotest args to puppet testsMatt Robinson2010-09-041-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Autotest was failing on puppet apply tests because it was reading autotest's args as the manifest file and then erroring because it wasn't a valid file.
| * | | | Fixed #4706 - logcheck patternsJames Turnbull2010-09-041-23/+23
| | | | |
| * | | | Fixed queue require for #4555James Turnbull2010-09-031-1/+1
| | | | |
| * | | | [#4308] Remove puppettest from specsMatt Robinson2010-09-0314-84/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The less stuff being done in the spec_helper the better for reasoning about what's happening in the tests. puppettest.rb does a lot of things that aren't necessary for the specs, so this patch gets those things out of the spec_helper. Reviewed by: Jesse Wolfe
| * | | | Fixed RSpec warning messagesJames Turnbull2010-08-312-2/+2
| | | | |
| * | | | Fixed #4100 - Added http_caching to yumrepo typeJames Turnbull2010-08-311-0/+6
| | | | |
| * | | | Added cost parameter to the yumrepo typeJames Turnbull2010-08-311-0/+6
| | | | |
| * | | | Fixed extlookup documentation and spacingJames Turnbull2010-08-312-143/+134
| | | | |
| * | | | Fix for #4506 -- too much data being serializedMarkus Roberts2010-08-311-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The serialization of much of the memory image was being triggered by a copy of an unchanging method return value in an instance variable. I had introduced this as a performance hack. The results were correct, but when the object was serialized it took a huge amount of data with it (known_resource_types, and from there...) As the underlying costly operation is no longer being called (thanks to Paul and Jesse) the caching is no longer a significant performance boost, and can thus simply be removed.
| * | | | Fixed terminus example documentationJames Turnbull2010-08-292-4/+4
| | | | |
| * | | | Fix #4615 - vim highlighting fails on slashes and colons.Marc Fournier2010-08-291-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When a regexp is used in a selector, vim shouldn't choke if more than one slash is found on the same line. This patch also adds support for colons in attribute names.
| * | | | Updated man pagesJames Turnbull2010-08-292-3/+3
| | | | |
| * | | | Updated Man page generation since move to MarkdownJames Turnbull2010-08-2712-2531/+3065
| | |_|/ | |/| |
* | | | Merge commit '2.6.1rc3'Jesse Wolfe2010-08-2719-84/+141
|\| | | | | | | | | | | | | | | | | | | | | | | This synchronizes the 2.7 master branch with 2.6.1RC3 The 2.7 next branch has now diverged from master for the first time, as if contains code that has not reached "release quality" status.
| * | | Updated CHANGELOG for 2.6.1rc3James Turnbull2010-08-251-0/+18
| | | |
| * | | Fix for #4456 -- need to accept some mime-type aliasesMarkus Roberts2010-08-242-4/+10
| | | | | | | | | | | | | | | | | | | | | | | | Rather than just creating a handler for the base mime-type (e.g. "text/yaml") we create some synonyms where appropriate (e.g. "text/x-yaml", "application/yaml", etc.)
| * | | Fix for #4489 -- apply was using the rest terminusMarkus Roberts2010-08-242-3/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Basing pervasive low-level behaviour changes on the application name isn't a good idea, but if we're going to do it we need to remember to update the test when we rename the application. I am not certain that this change is globally correct; there may be other related problems that will not be fixed (and may in fact be exacerbated) by this patch.
| * | | Fix for #4542 -- included classes weren't assigned proper stagesMarkus Roberts2010-08-242-14/+18
| | | | | | | | | | | | | | | | | | | | | | | | This commit unifies the code paths on which classes are added, alters the default stage to respect the stage of the parent if any, and assures that the resource is notified if its stage is assigned (turning an implicit stage into an explicit one).
| * | | Fix for #4501 -- reports not generated in standaloneMarkus Roberts2010-08-241-5/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The refactors for 2.6.x stopped "puppet apply" from saving reports; this fix adds report saving back to puppet apply but leaves a number of related issues (code path consolidation, report contents, etc.) unresolved for future patches in the 2.6.x series or more significant refactoring in 2.7.x.
| * | | Start server before agentBernhard Miklautz2010-08-211-1/+1
| | | |
| * | | [#4555] puppet queue tries to call code it hasn't requiredJesse Wolfe2010-08-211-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | puppet queue was trying to call .subscribe on Puppet::Resource::Catalog::Queue, but that object had not been loaded into the ruby interpreter. This bug was partially masked by ruby's confusing constant resolution, which was incorrectly returning the Puppet::Application::Queue class instead of throwing a NameError
| * | | fix #4528 - treat * as absentPeter Meier2010-08-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Internally the cron type is seeing params containing only '*', as absent. However, if a user was setting a parameter explicitely as '*', we weren't munging it to be absent. Hence, we were setting this param over and over again.
| * | | Fix for #4518 -- classes not getting added to compiler.classesMarkus Roberts2010-08-212-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The responsibility for adding classes to the compiler's classes list (for use in constructing classes.txt) moved around a bit in the 0.25 to 2.6 transition before being dropped in a merge conflict resolution. Ooops. This restores it, and adds tests to prevent regression.
| * | | [#4545] Remove obsolete 'trac' specsJesse Wolfe2010-08-211-19/+0
| | | | | | | | | | | | | | | | | | | | The method that these specs were testing has been removed, causing the specs to fail.
| * | | Maint. -- Fix test failures broken by previous commitMarkus Roberts2010-08-212-8/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This basically involved adding a search method to the yaml indirector, which I did by copying the one from ssl_file and fiddling with it until the tests passed. Since the most straight forward way to do this required extending the interface to the path method I added tests for the additional behaviour.
| * | | Maint. Removing code at the request of the original authorMarkus Roberts2010-08-212-26/+1
| | | | | | | | | | | | | | | | A contributor has requested that his changes be removed from puppet.