summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* Correct a problem with the dpkg provider's handling of the :purged state, ↵mpalmer2007-05-253-2/+71
| | | | | | and expand the package type's understanding of what purged actually means. Fixes #644 git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2537 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding a warning for when no properties are specified on servicesluke2007-05-252-0/+9
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2536 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding a debug statement describing why restarts are skipped on servicesluke2007-05-251-1/+3
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2535 980ebf18-57e1-0310-9a29-db15c13687c0
* fixing the method to check for hostdir writability in the rrdgraph reportluke2007-05-251-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2534 980ebf18-57e1-0310-9a29-db15c13687c0
* Changing the location of the classes.txt to the state dirluke2007-05-252-1/+4
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2533 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding more detail to the per-host reports dirs, since it was not setting ↵luke2007-05-251-3/+3
| | | | | | mode or ownership. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2532 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding better error reporting on unmatched brackets -- you will now get ↵luke2007-05-255-2/+62
| | | | | | notification of what was expected in most cases git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2531 980ebf18-57e1-0310-9a29-db15c13687c0
* Updating the exec docs to specify that the timeout is in secondsluke2007-05-241-1/+2
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2530 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #323 -- puppetd and puppetmasterd are now in sbin; packages still ↵luke2007-05-205-28/+47
| | | | | | need to be fixed git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2529 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #501 -- there is now a splay option, disabled by default and when ↵luke2007-05-185-1/+61
| | | | | | running under --test git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2528 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding the execute bit to install.rb and fixing #473 -- there was a /win/ ↵luke2007-05-181-1/+1
| | | | | | regex that matched darwin but was just supposed to match windows git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2527 980ebf18-57e1-0310-9a29-db15c13687c0
* fixing a documentation bugajax2007-05-181-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2526 980ebf18-57e1-0310-9a29-db15c13687c0
* Changing the notify type so that it always uses the loglevel for loggingluke2007-05-183-4/+6
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2525 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #568luke2007-05-173-268/+260
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2524 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #566 -- definitions, tags, and classes can now be single charactersluke2007-05-173-2/+5
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2523 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding #629 -- an undef keyword now existsluke2007-05-1710-561/+670
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2522 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #507 (behaviour in cycles) by changing the topsort algorithm.luke2007-05-174-27/+34
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2521 980ebf18-57e1-0310-9a29-db15c13687c0
* Using the method for retrieving the dipper class, in case it has not been loadedluke2007-05-161-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2520 980ebf18-57e1-0310-9a29-db15c13687c0
* Making sure there is an editor set for ralshluke2007-05-161-0/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2519 980ebf18-57e1-0310-9a29-db15c13687c0
* Redoing autoload a bit in preparation for adding a plugindirluke2007-05-166-73/+90
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2518 980ebf18-57e1-0310-9a29-db15c13687c0
* A round of fixes so unit tests pass; most of the failures were from the ↵luke2007-05-1513-31/+28
| | | | | | merging of the transaction-refactor branch git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2517 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #569 - I have added a dynamic facts option to choose which facts will ↵luke2007-05-153-5/+52
| | | | | | be ignored. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2516 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing the "is" related problems in yum and rpm support, but there are still ↵luke2007-05-142-6/+21
| | | | | | some package providers that use the "is" method (grep for "\.is[^_a-zA-Z]" in the package providers), and the util/posix.rb module has a call to obj.is. I will fix those soon. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2515 980ebf18-57e1-0310-9a29-db15c13687c0
* Removing obsolete parsedtypeluke2007-05-141-219/+0
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2514 980ebf18-57e1-0310-9a29-db15c13687c0
* Attempting to fix the fact that the yum package provider calls [] on the ↵luke2007-05-143-2/+6
| | | | | | ensure property, and making the resulting error more readable git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2513 980ebf18-57e1-0310-9a29-db15c13687c0
* fixing some problems with the config timeout -- I am not sure it ever ↵luke2007-05-142-4/+24
| | | | | | actually worked git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2512 980ebf18-57e1-0310-9a29-db15c13687c0