summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* Adding appdmg package provider from #641.luke2007-06-181-0/+117
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2606 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding the output_file.close, as wyvern recommendedluke2007-06-181-0/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2605 980ebf18-57e1-0310-9a29-db15c13687c0
* Applying the patch by wyvern from #662. This should hopefully kill the ↵luke2007-06-181-60/+43
| | | | | | client hanging problems. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2604 980ebf18-57e1-0310-9a29-db15c13687c0
* Updating rrdgraph documentation with a pointer to the new rrd package.luke2007-06-181-3/+4
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2603 980ebf18-57e1-0310-9a29-db15c13687c0
* Reverting the change I just made to the config handler; it was only there ↵luke2007-06-181-4/+1
| | | | | | for testing. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2602 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding puppet-test, which is useful for performance testingluke2007-06-181-1/+4
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2601 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding patch by Ghislain from #670, with slight modifications.luke2007-06-181-1/+6
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2600 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #548, and making functions support other rvalues, too, including ↵luke2007-06-182-578/+630
| | | | | | other functions. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2599 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #643 -- replacing the get_posix_field method with a more degenerate ↵luke2007-06-171-5/+34
| | | | | | version that works even on broken systems git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2598 980ebf18-57e1-0310-9a29-db15c13687c0
* All rails and language tests now pass again. All of the rails tests should ↵luke2007-06-173-8/+20
| | | | | | now be in the rails/ directory, and I have modified resource translation so that it always converts single-member arrays to singe values, which means the rails collection does not need to worry about it. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2597 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #673, but I have not written a test case for it. I moved all ↵luke2007-06-171-2/+2
| | | | | | rails-related unit tests into the rails/ dir, because they keep getting missed. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2596 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing the yum provider, and fixing the unit tests so the failures people ↵luke2007-06-172-8/+6
| | | | | | were experiencing will result in failed tests. This fixes #672. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2595 980ebf18-57e1-0310-9a29-db15c13687c0
* Modifying the check metaparam so that it just silently ignores metaparams ↵luke2007-06-151-2/+6
| | | | | | and parameters, since they're uncheckable, and only tries to check properties git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2591 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing the type/title index for mysqlluke2007-06-151-1/+8
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2590 980ebf18-57e1-0310-9a29-db15c13687c0
* Removing erroneous debug messageluke2007-06-151-2/+0
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2589 980ebf18-57e1-0310-9a29-db15c13687c0
* Trying to load ruby gems, in case needed libraries are installed that way, ↵luke2007-06-152-1/+7
| | | | | | and fixing a warning in the provider git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2588 980ebf18-57e1-0310-9a29-db15c13687c0
* Significantly reworking both external_nodes and ldapnodes support (see ↵luke2007-06-152-133/+147
| | | | | | 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-141-3/+7
| | | | | | | | | 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
* Applying metrics patch from #659 by thijsluke2007-06-141-12/+15
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2579 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-141-88/+51
| | | | 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
* 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
* Applying patch from #666 by Rainhead and monachusluke2007-06-131-1/+7
| | | | 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
* 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-1212-143/+267
| | | | | | | | | | | | | | | | 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-111-1/+1
| | | | 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-111-0/+12
| | | | 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-113-5/+20
| | | | 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-113-4/+11
| | | | | | 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-081-0/+51
| | | | 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-0824-106/+87
| | | | | | 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-052-1/+16
| | | | | | 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-052-2/+7
| | | | 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-0430-221/+159
| | | | | | | | | | | | | | | | | | | | 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-042-1/+15
| | | | | | 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
* 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