summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Significantly reworking both external_nodes and ldapnodes support (see ↵luke2007-06-154-441/+516
| | | | | | changelog). git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2587 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing error about non-puppet protosluke2007-06-151-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2586 980ebf18-57e1-0310-9a29-db15c13687c0
* Significantly optimizing the database queries -- I am getting about 40% ↵luke2007-06-144-10/+13
| | | | | | better times now. See http://www.madstop.com/optimizing_the_activerecord_integration.html. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2585 980ebf18-57e1-0310-9a29-db15c13687c0
* adjusting the rrd color stack as requested by thijsluke2007-06-141-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2584 980ebf18-57e1-0310-9a29-db15c13687c0
* Updated the CHANGELOG.ballman2007-06-142-4/+11
| | | | | | | | | Fixed a bug where the false values of resource paramaeters were being deleted nd inserted alternately. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2583 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing (hopefully) the last two providers that had "resource.is" callsluke2007-06-142-2/+2
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2582 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing sun package providerluke2007-06-141-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2581 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #644 -- the install.rb file works againluke2007-06-141-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2580 980ebf18-57e1-0310-9a29-db15c13687c0
* Applying metrics patch from #659 by thijsluke2007-06-143-68/+71
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2579 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing a typo in the docsluke2007-06-141-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2578 980ebf18-57e1-0310-9a29-db15c13687c0
* A few small fixes here and there, and the rest of the zones commitluke2007-06-145-29/+72
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2577 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #655 -- Solaris zones are again fully functional, from what I can tellluke2007-06-142-175/+119
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2576 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding indexes for the rails tablesluke2007-06-141-0/+24
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2575 980ebf18-57e1-0310-9a29-db15c13687c0
* Removing the indexes migration, since the indexes are now in the main db schemaluke2007-06-131-38/+0
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2574 980ebf18-57e1-0310-9a29-db15c13687c0
* Updating ralsh with more functionality: You can now perform work on the ↵luke2007-06-131-6/+69
| | | | | | command line, with commands like "sudo ralsh file /etc/passwd ensure=absent". This makes ralsh a bit more interactive. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2573 980ebf18-57e1-0310-9a29-db15c13687c0
* Added to_s to the values to ensure the check versus the database will be ballman2007-06-131-4/+4
| | | | | | | consistent and booleans and references will check correctly. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2572 980ebf18-57e1-0310-9a29-db15c13687c0
* documentation fixajax2007-06-131-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2571 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing mongrel test so it does not try to load the mongrel server class on ↵luke2007-06-131-1/+0
| | | | | | machines without mongrel git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2570 980ebf18-57e1-0310-9a29-db15c13687c0
* Applying patch from #666 by Rainhead and monachusluke2007-06-132-1/+10
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2569 980ebf18-57e1-0310-9a29-db15c13687c0
* Changed the host to "eager fetch" all the resources and their associated ballman2007-06-122-4/+4
| | | | | | | | tables. Also removed some unecessary lines from resource.rb that were causng it to re-read information it already loaded from the db. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2568 980ebf18-57e1-0310-9a29-db15c13687c0
* Added the teardown of the database back to the tests. ballman2007-06-121-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2567 980ebf18-57e1-0310-9a29-db15c13687c0
* Revert unintentional change.ballman2007-06-121-5/+5
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2566 980ebf18-57e1-0310-9a29-db15c13687c0
* Major rework of the rails feature. Changed the relationship between ballman2007-06-1216-178/+303
| | | | | | | | | | | | | | | | host and facts (now many-to-many with fact_name through fact_values). Also changed the relationship between resource and params (similarly many-to-many with param_names through param_values). Added the resource_tags and puppet_tags. The latter has the tag names and the former is the man-to-many link with resources. There is a little clean up left but the schema is in order. Also a test for the tags stuff is required. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2565 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #550 -- I had to list pass and dump as optional fields.luke2007-06-114-3/+10
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2564 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #112 - mounts now default to 0 for dump and passluke2007-06-113-0/+29
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2563 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #637 -- defined resources can now correctly be virtual or exportedluke2007-06-114-99/+154
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2562 980ebf18-57e1-0310-9a29-db15c13687c0
* Removing old line from the fix for #660 -- I had strangely just commented it ↵luke2007-06-111-1/+0
| | | | | | out, rather than removing it git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2561 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #660 by applying patch by freiheit. Looks like this is another ↵luke2007-06-111-1/+2
| | | | | | problem with yaml on 1.8.1. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2560 980ebf18-57e1-0310-9a29-db15c13687c0
* Oops; I forgot to add the base class for package providers. Also, cleaning ↵luke2007-06-112-9/+40
| | | | | | up the package provider code a touch git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2559 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding a simple unit test for mongrel, and adding the ability to select the ↵luke2007-06-116-6/+79
| | | | | | header used to store the client SSL dn. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2558 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing error when commands fail -- the error code is now printed, instead of ↵luke2007-06-111-1/+1
| | | | | | the inspection of it git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2557 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding (slightly modified) urpmi support from #592 by Devinluke2007-06-082-0/+53
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2556 980ebf18-57e1-0310-9a29-db15c13687c0
* Finishing off the type/provider interface work, including adding package ↵luke2007-06-0836-160/+244
| | | | | | prefetch for all packages. The only not-done one is yum -- prefetch is set up for rpm, but not yum. We need to modify prefetching so that it also prefetches latest information, to avoid having to run yum so many times. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2555 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing the "Server is not a class" problem with mongrelluke2007-06-071-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2554 980ebf18-57e1-0310-9a29-db15c13687c0
* Applying patches from Valentin Vidic to fix open file discriptor and open ↵luke2007-06-053-1/+19
| | | | | | port problems git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2553 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing the few test failures that resulted from the changes to provider listingluke2007-06-055-12/+18
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2552 980ebf18-57e1-0310-9a29-db15c13687c0
* Significantly reworked the type => provider interface with respect toluke2007-06-0442-310/+416
| | | | | | | | | | | | | | | | | | | | listing existing provider instances. The class method on both class heirarchies has been renamed to 'instances', to start. Providers are now expected to return provider instances, instead of creating resources, and the resource's 'instances' method is expected to find the matching resource, if any, and set the resource's provider appropriately. This *significantly* reduces the reliance on effectively global state (resource references in the resource classes). This global state will go away soon. Along with this change, the 'prefetch' class method on providers now accepts the list of resources for prefetching. This again reduces reliance on global state, and makes the execution path much easier to follow. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2551 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding a "source" attribute to providers, so eventually types will be able ↵luke2007-06-043-1/+65
| | | | | | to avoid duplication during listing by only listing one provider for each source (e.g., dpkg and aptitude should not both be listed). git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2550 980ebf18-57e1-0310-9a29-db15c13687c0
* this is a spurious commit to test the trac site ajax2007-06-031-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2549 980ebf18-57e1-0310-9a29-db15c13687c0
* Change pi to list properties instead of stateslutter2007-06-011-2/+2
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2548 980ebf18-57e1-0310-9a29-db15c13687c0
* Add protect and priority properties; patch provided by Matt Hyclaklutter2007-06-011-0/+16
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2547 980ebf18-57e1-0310-9a29-db15c13687c0
* Fix trac #601: wrong location for client pidfilelutter2007-06-011-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2546 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #532 -- reparsing config files no longer throws an exception. The ↵luke2007-05-313-1/+21
| | | | | | | | problem only occurred when reparsing a configuration file that was also being managed (which was common) and only whent the manifest was up to date (the combination was uncommon). Reparsing would find the existing file object and use it to check permissions and such, then it would remove all of the internal data in the object, for cleanup; the problem is, the client still had a reference to the object, so when it went to run its configuration, this broken reference was used. The solution I chose was to remove all objects from memory after every run. It is negligible to reload them from the cache, and it saves ram for the 99% of the time that the client is just sitting there. And it makes this problem go away. :) git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2545 980ebf18-57e1-0310-9a29-db15c13687c0
* Changing --show-available to --showall, as requisted by Jeremy Dreese on the ↵luke2007-05-311-1/+1
| | | | | | list git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2544 980ebf18-57e1-0310-9a29-db15c13687c0
* Switch the package type to use a :versionable feature, and convert all ↵mpalmer2007-05-3017-57/+21
| | | | | | providers to use the feature. Hope it doesn't break anything. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2543 980ebf18-57e1-0310-9a29-db15c13687c0
* Add a grammatically correct 'has_feature' alias, and switch to using it ↵mpalmer2007-05-305-7/+11
| | | | | | where appropriate in existing code git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2542 980ebf18-57e1-0310-9a29-db15c13687c0
* Clean up a really hairy code construct in the useradd providermpalmer2007-05-301-6/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2541 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing up2date name matching, as mentioned by Jeremy Dreese on the listluke2007-05-301-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2540 980ebf18-57e1-0310-9a29-db15c13687c0
* Changing the resource title to be text instead of a string, because some ↵luke2007-05-301-1/+1
| | | | | | title are > 255 chars git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2539 980ebf18-57e1-0310-9a29-db15c13687c0
* Mark all package providers that don't currently report themselves as being ↵mpalmer2007-05-306-0/+24
| | | | | | versionable as not supporting versioning; this way we get a more sensible error message when people try to specify a package version. See #647 for some discussion. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2538 980ebf18-57e1-0310-9a29-db15c13687c0