summaryrefslogtreecommitdiffstats
path: root/lib/puppet
Commit message (Collapse)AuthorAgeFilesLines
...
* Changing how destroy works, just a bit -- it now acceptsLuke Kanies2008-04-083-8/+13
| | | | | the name of the instance to be destroyed, rather than the instance itself.
* Reworking the caching layer to use TTLs instead of versionsLuke Kanies2008-04-081-19/+77
| | | | | | based on timestamps. This just modifies the indirection class itself, there is still some work to do to remove version code from other classes.
* Removing unused code from the file_serving/metadata class.Luke Kanies2008-04-081-9/+0
|
* Adding an envelope module to handle indirected instanceLuke Kanies2008-04-081-0/+13
| | | | expiration.
* Changing the default environment to production.Luke Kanies2008-04-081-1/+1
|
* Adding validation to the user type to confirm that theLuke Kanies2008-04-081-0/+3
| | | | | group list does not contain any commas. This seems to be a common problem.
* Extend workaround from 56aad69f8cdf8b0b08fdb7985014986223fa4455 to not only ↵Andreas Rogge2008-04-032-9/+15
| | | | | | | | | fix UIDs but also GIDs Fixes #1169 Fixes #804 (workaround was probably incomplete, as required changes in lib/puppet/util/posix.rb were missing) Signed-off-by: Andreas Rogge <a.rogge@solvention.de>
* Changed some non-standard Ruby locations to env ruby shebangsJames Turnbull2008-04-041-1/+1
|
* Fixes debian service enabled/disable issue as detailed in #1161.James Turnbull2008-04-031-1/+1
|
* Merge commit 'turnbull/0.24.x' into 0.24.xLuke Kanies2008-03-312-2/+9
|\
| * Updates to rrdgraph documentationJames Turnbull2008-04-011-2/+4
| |
| * Better fix for #1020James Turnbull2008-04-011-0/+5
| |
| * Revert "Added updated fix for #1020"James Turnbull2008-04-011-5/+1
| | | | | | | | This reverts commit 4f8df9803a9ad2f31d3e86418732a230b5cee3f3.
| * Merge branch '0.24.x' of git://reductivelabs.com/puppet into 0.24.xJames Turnbull2008-04-011-1/+1
| |\
| * | Added updated fix for #1020James Turnbull2008-03-311-1/+5
| | |
* | | Adding the report reference back; I don't really knowLuke Kanies2008-03-311-0/+23
| |/ |/| | | | | why I removed it, since the information in it isn't anywhere else.
* | Fixing a duplicate word in the mount docsLuke Kanies2008-03-311-1/+1
|/
* Add a bunch of directives, allows a full parse of stanford's huge nagios configBlake Barnett2008-03-281-46/+60
| | | | Also reformatted a bit
* Fixes #1148 - replaces #!/usr/bin/ruby with #!/usr/bin/env ruby.Paul Lathrop2008-03-281-2/+2
|
* Pass source to pkg_add via the PKG_PATH environment variable ifRyan McBride2008-03-251-1/+9
|
* Fixing #571 -- provider suitability is now checked at resourceLuke Kanies2008-03-242-9/+7
| | | | | | | 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.
* Moved the configuration of the Node cache to the puppetmasterdLuke Kanies2008-03-241-1/+1
| | | | | executable, since it otherwise causes caches to be used in all cases, which we don't want (e.g., bin/puppet was using them).
* 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-242-11/+5
| | | | | 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-9/+21
| | | | | | | 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-231-1/+1
| | | | matching. The actual problem was caused by the fix to #1001.
* Ported #198 man page creation functionality to 0.24.x branchJames Turnbull2008-03-221-3/+3
|
* Found all instances of methods where split() is used withoutLuke Kanies2008-03-2119-24/+50
| | | | | | | | | | 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-211-9/+12
| | | | | | | | | | 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).
* Fixed #1147: Cached nodes are correctly considered out ofLuke Kanies2008-03-201-0/+7
| | | | | | 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-201-1/+1
| | | | 388cf7c3df7ce26e953949ed6fe63d76cbbb3691 to resolve #1137; also, add tests which detect the problem.
* Applying patch by wyvern to fix #1142.Luke Kanies2008-03-201-2/+2
|
* 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
* Applied patch in #1134James Turnbull2008-03-201-0/+5
|
* Refactoring how the catalog creation handles errors.Luke Kanies2008-03-182-35/+39
| | | | | | | | | | | | | | | | | | 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
|
* Settings now (again?) do not use a section more thanLuke Kanies2008-03-181-8/+13
| | | | once, which should make the system a bit more efficient.
* 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-181-6/+9
| | | | | | (#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.
* Merge branch '0.24.x' of ssh://reductivelabs.com/opt/rl/git/puppet into 0.24.xLuke Kanies2008-03-175-2/+18
|\
| * Downgrading the "Using cache" message from the indirection to debugLuke Kanies2008-03-161-1/+1
| |
| * Modified the ldap node terminus to also use the facts versionLuke Kanies2008-03-161-0/+4
| | | | | | | | | | 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-1/+8
| | | | | | | | | | | | | | | | | | | | 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-0/+5
| | | | | | | | of the yaml file as the version of the object.
* | Removing a Settings.use that is unnecessaryLuke Kanies2008-03-171-2/+0
|/
* Regression in :node_name functionalityJohn Ferlito2008-03-142-2/+4
| | | | When :node_name="cert" is specified the 'hostname' fact should be set to the SSL certificate common name instead of the results from facter. I've extended this to also set 'domain' and 'fqdn' since that makes a lot of sense to me. This fixes a regression introduced in SVN#1673
* Flat file now does writing to a tempfile.Brenton Leanhardt2008-03-131-1/+5
| | | | Fixes #1086
* Fixing #1132 -- host names can now have dashes anywhere.Luke Kanies2008-03-131-2/+4
| | | | (Patch by freiheit.)