summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* Modified the 'master' handler to use the Catalog class toLuke Kanies2008-04-114-218/+11
| | | | | | | | | | compile node configurations, rather than using the Configuration handler, which was never used directly. I removed the Configuration handler as a result. Modified the 'master' handler (responsible for sending configurations to clients) to always return Time.now as its compile date, so configurations will always get recompiled.
* Fixed #1184 -- definitions now autoload correctly all of the time.Luke Kanies2008-04-101-2/+6
|
* Removed the code from the client that tries to avoid recompilingLuke Kanies2008-04-101-56/+2
| | | | | | the catalog. The client will now always recompile, assuming it can reach the server. It will still use the cached config if there's a failure.
* Fixing #1173 -- classes and definitions can now have the sameLuke Kanies2008-04-101-1/+1
| | | | name as a directory with no failures.
* Fixing the expire method (it wasn't using a requestLuke Kanies2008-04-102-3/+13
| | | | | | internally), and fixing the Facts class so it auto-expires any associated cached nodes when facts are saved.
* Moved the request creation into the IndirectionLuke Kanies2008-04-102-17/+51
| | | | | | class instead of the Indirector module. Also, added an 'expire' method to the indirector, so there's an easy way to expire cached instances.
* Making the log messages around caching better.Luke Kanies2008-04-081-3/+3
|
* Ported the rest of the indirection terminuses over toLuke Kanies2008-04-089-69/+21
| | | | expecting requests instead of having a random interface.
* Intermediate commit.Luke Kanies2008-04-0811-107/+94
| | | | | | | | | | | | | | | | | This commit adds a Request instance into the indirection, pushing it all the way to the terminus instances. It's a big commit because it requires modifying every terminus class. There are still some thorny design issues. In particular, who should be responsible for making the request object? I've tried having both the indirection class and the Indirector module creating it, and both have their issues. Also, the Catalog class previously allowed passing Node instances directly to the find method, which is now no longer possible because the Request class would treat the node as the instance being found. We need the request class to have two modes, one when it's passed an instance and one when it's passed a key.
* Fixing some tests that were failing because new base typesLuke Kanies2008-04-082-0/+6
| | | | | were added to Naginator, but no new related resource types were added.
* Adding the ability for indirection requests to be createdLuke Kanies2008-04-081-2/+9
| | | | with instances instead of just keys.
* Fixing an errant commentLuke Kanies2008-04-081-1/+1
|
* Fixing the tests that were failing because of the useLuke Kanies2008-04-081-2/+4
| | | | of the indirection request object.
* Adding a Request class to the Indirection layer. ThisLuke Kanies2008-04-082-55/+52
| | | | | | | | | class is currently only used internally by the Indirection instances, but I expect that I will soon be pushing it to all of the terminus types. I still need to fix a couple of tests that will get broken by this commit.
* 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
|
* 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-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
|