summaryrefslogtreecommitdiffstats
path: root/spec/unit
Commit message (Collapse)AuthorAgeFilesLines
...
* | Fixing tests that were failing as a result of the merge,Luke Kanies2008-04-014-49/+2
| | | | | | | | | | including removing some now-obsolete code and tests from the Settings class.
* | Merge branch 'master' into master_no_global_resourcesLuke Kanies2008-03-3159-3188/+5183
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-256-102/+172
| |\| | | | | | | | | | | | | | | | | | | | | | Conflicts: install.rb lib/puppet/defaults.rb man/man8/puppet.8
| | * Moved the configuration of the Node cache to the puppetmasterdLuke Kanies2008-03-241-2/+2
| | | | | | | | | | | | | | | executable, since it otherwise causes caches to be used in all cases, which we don't want (e.g., bin/puppet was using them).
| | * Fixing #1138 -- the yamldir is automatically created by theLuke Kanies2008-03-241-1/+0
| | | | | | | | | | | | | | | 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-242-96/+161
| | | | | | | | | | | | | | | | | | | | | 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).
| | * 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-201-0/+6
| | | | | | | | | | | | | | | | | | 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).
| * | Merge branch '0.24.x'Luke Kanies2008-03-2010-74/+193
| |\|
| | * Fixing some tests that only failed under certainLuke Kanies2008-03-182-7/+8
| | | | | | | | | | | | | | | 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-182-15/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| | * Settings now (again?) do not use a section more thanLuke Kanies2008-03-181-0/+13
| | | | | | | | | | | | 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.
| | * Hopefully *finally* fixed the "already being managed" problemLuke Kanies2008-03-181-1/+29
| | | | | | | | | | | | | | | | | | (#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.
| | * Modified the ldap node terminus to also use the facts versionLuke Kanies2008-03-161-0/+7
| | | | | | | | | | | | | | | as the version for a node, which should similarly encourage the use of the yaml cache. (Related to #1130)
| | * Caching node information in yaml (I figured caching in memory willLuke Kanies2008-03-162-44/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cause ever-larger memory growth), and changing the external node terminus to use the version of the facts as their version. This will usually result in the cached node information being used, instead of always hitting the external node app during file serving. Note that if the facts aren't changed by the client, then this will result in the cached node being used, but at this point, the client always updates its facts. (#1130)
| | * Modifying the yaml terminus base class to use the timestampLuke Kanies2008-03-161-1/+11
| | | | | | | | | | | | of the yaml file as the version of the object.
| | * Fixing #1118 -- downloading plugins and facts now ignores noop.Luke Kanies2008-03-131-0/+38
| | | | | | | | | | | | | | | | | | Note that this changes the behaviour a bit -- the resource's noop setting always beats the global setting (previously, whichever was true would win).
| * | Merge branch '0.24.x'Luke Kanies2008-03-074-88/+276
| |\|
| | * Merge commit 'andrew/0.24.x' into 0.24.xLuke Kanies2008-03-061-0/+2
| | |\
| | | * Fix for 1094Luke Kanies2008-03-061-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | Replace the catalog with the newly created one when converting to ral types. The aliases were being lost because the resources had references to the old catalog being converted
| | * | Fixing the rest of #1113: External node commands can specifyLuke Kanies2008-03-061-0/+6
| | | | | | | | | | | | | | | | an environment and Puppet will now use it.
| | * | Partially fixing #1113: LDAP nodes now support environments,Luke Kanies2008-03-061-83/+112
| | | | | | | | | | | | | | | | and the schema has been updated accordingly.
| | * | Always duplicating resource defaults in the parser, so thatLuke Kanies2008-03-061-5/+156
| | |/ | | | | | | | | | | | | | | | stacked metaparameter values do not result in all resources that receive a given default also getting those stacked values.
| * | Merge branch '0.24.x'Luke Kanies2008-03-0517-275/+317
| |\|
| | * Fix tests depending on the Puppet[:localcert] file existing using stubsAndrew Shafer2008-03-041-26/+13
| | | | | | | | | | | | Some minor refactoring, pulling repeated setup up to 'before'
| | * Fixing #1110 -- transactions now always make sureLuke Kanies2008-02-291-0/+5
| | | | | | | | | | | | their tags are arrays.
| | * Fixing the fact that resources that model defined resourcesLuke Kanies2008-02-291-0/+6
| | | | | | | | | | | | | | | were getting finished multiple times, which meant they got multiple copies of metaparams.
| | * renaming ral/types to ral/type in the testsLuke Kanies2008-02-289-0/+0
| | |
| | * Fixed #1063 -- the master correctly logs syntax errors whenLuke Kanies2008-02-281-138/+148
| | | | | | | | | | | | reparsing during a single run.
| | * Merge branch '0.24.x' of ssh://reductivelabs.com/opt/rl/git/puppet into 0.24.xLuke Kanies2008-02-281-1/+5
| | |\
| | | * Merge branch '0.24.x' of ssh://reductivelabs.com/opt/rl/git/puppet into 0.24.xLuke Kanies2008-02-285-108/+138
| | | |\
| | | * | Fixing #1093 -- 0.23.2 clients are again compatibleLuke Kanies2008-02-281-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | with 0.24.x servers. :ignore links is now equivalent to :manage links.
| | * | | Fixing #1092 by no longer using the resource reference toLuke Kanies2008-02-281-2/+2
| | | |/ | | |/| | | | | | | | | | | | | | | | | look resources up, which means there's no concern about not finding the resource, which is where the nil was coming from. We now just iterate over the vertices.
| | * | Adding a 'control' parameter to services, for thoseLuke Kanies2008-02-281-4/+11
| | | | | | | | | | | | | | | | service types that need a control variable to enable/disable.
| | * | Removing the validation on package sources, sinceLuke Kanies2008-02-261-2/+2
| | | | | | | | | | | | | | | | | | | | some platforms (e.g., hpux) do not have a well-formed requirement for the source.
| | * | Fixing #1085, I think -- I was not returning a resourceLuke Kanies2008-02-251-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | if the class had already been evaluated, but this was only being run into in corner cases -- mostly where one class included another class, I assume.
| | * | Fixing #1084 -- the node catalog asks the individualLuke Kanies2008-02-252-101/+118
| | |/ | | | | | | | | | | | | | | | resources whether they're isomorphic, and they in turn ask the resource types (or default to true for defined resource types).
| * | Merge branch '0.24.x'Luke Kanies2008-02-2510-76/+197
| |\|
| | * Merge commit 'turnbull/0.24.x' into 0.24.xLuke Kanies2008-02-231-0/+4
| | |\
| | | * Fixes ticket #1079 - added . support for tagsJames Turnbull2008-02-241-0/+4
| | | |
| | * | Somewhat refactored fileserving so that it no longer cachesLuke Kanies2008-02-236-72/+184
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | any objects, nor does it use Puppet's RAL resources. In the process, I fixed #894 (you can now copy links) and refactored other classes as necessary. Mostly it was fixing tests. This is a squashed commit of a temporary branch, fwiw, and it also includes any fixes to the tests that were necessary to get all tests passing again.
| | * Removing a test I never migrated from test/unit.Luke Kanies2008-02-211-119/+0
| | |
| | * Fixing a test that was actually reading in keysLuke Kanies2008-02-211-0/+4
| | | | | | | | | | | | | | | from the filesystem and failed when those keys were unreadable.
| | * Quashed commit of my fixes for #1010.Luke Kanies2008-02-212-4/+123
| | |
| | * Fixed test for #1040James Turnbull2008-02-201-0/+1
| | |
| * | Merge branch '0.24.x'Luke Kanies2008-02-1823-2643/+2604
| |\| | | | | | | | | | | | | | | | Conflicts: CHANGELOG
| | * Removing some extraneous debugging from a test.Luke Kanies2008-02-181-3/+0
| | |
| | * Merge branch 'my24' into 0.24.xRick Bradley2008-02-1821-2631/+2548
| | |\
| | | * converting parser ast node specs from setup/teardown to before/afterRick Bradley2008-02-181-83/+81
| | | |