summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Removed FIXARB's from the pfile stuff. These have been resolved.ballman2007-05-092-4/+0
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2493 980ebf18-57e1-0310-9a29-db15c13687c0
* Removed FIXARB's from a file that will be going away.ballman2007-05-091-2/+0
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2492 980ebf18-57e1-0310-9a29-db15c13687c0
* Removed override of change_to_s since it is the same as the overridden ↵ballman2007-05-091-22/+1
| | | | | | method in EnsureProperty. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2491 980ebf18-57e1-0310-9a29-db15c13687c0
* Removed override of change_to_s since it is the same as the overridden ↵ballman2007-05-091-20/+0
| | | | | | method in EnsureProperty. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2490 980ebf18-57e1-0310-9a29-db15c13687c0
* Removed calls to is.ballman2007-05-091-7/+0
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2489 980ebf18-57e1-0310-9a29-db15c13687c0
* Removed the testing method: checknewinsync.ballman2007-05-091-15/+0
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2488 980ebf18-57e1-0310-9a29-db15c13687c0
* Merging of refactor-transacton to the trunk. This work removes the :is ↵ballman2007-05-0934-527/+519
| | | | | | attribute from properties and relies on the provider to cache or return the current value of the property. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2487 980ebf18-57e1-0310-9a29-db15c13687c0
* Hopefully final version of the providers referenceluke2007-05-081-18/+52
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2486 980ebf18-57e1-0310-9a29-db15c13687c0
* Intermediate commit of more reference work, including making provider ↵luke2007-05-083-14/+70
| | | | | | suitable more introspectable. I am about to significantly change the output format of the providers reference, so i want to get this committed before that change. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2485 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing configprint so it fails correctly when an invalid parameter is ↵luke2007-05-081-2/+14
| | | | | | provided, rather than throwing a stack trace git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2483 980ebf18-57e1-0310-9a29-db15c13687c0
* Sorting the network handlers in the network referenceluke2007-05-081-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2482 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding a dynamic? option for references, so those are not stored in tracluke2007-05-073-3/+11
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2480 980ebf18-57e1-0310-9a29-db15c13687c0
* Lots of work related to generating more reference. Moving all of the ↵luke2007-05-0715-2/+156
| | | | | | individual references out of puppetdoc and into an external "reference" class, which itself can autoload, so it is now easy to add new types of references. Also adding a network reference, along with an unfinished provider reference. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2479 980ebf18-57e1-0310-9a29-db15c13687c0
* Removing the obsolete logger network interfaceluke2007-05-072-58/+0
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2478 980ebf18-57e1-0310-9a29-db15c13687c0
* First run at moving references to lib/puppet instead of puppetdocluke2007-05-075-0/+507
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2477 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding a module to abstract using Autoload to load and manage instancesluke2007-05-072-24/+82
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2476 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing the time-cleaning in the rrdgraph reportluke2007-05-062-2/+3
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2465 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #206 and #422. Executables will still look for the deprecated config ↵luke2007-05-063-18/+177
| | | | | | files and load them using the old parse method, but they now prefer a single configuration file, and files can set parameters (owner, mode, group) in brackets on the same line. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2464 980ebf18-57e1-0310-9a29-db15c13687c0
* Consolidating all of the configuration parameter declarations into ↵luke2007-05-0417-285/+292
| | | | | | configuration, at least partially just because then the docs for each parameter have to be a bit better. Also, I have gotten rid of the "puppet" section, replacing it with "main", and changed, added, or removed a couple of other sections. In general, we should now prefer more sections, rather than fewer. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2463 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding a --summarize option, to get a transaction summaryluke2007-05-044-17/+62
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2459 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #615 (subclasses with similar names) by getting rid of the class ↵luke2007-05-035-67/+61
| | | | | | "type" and "fqname", and instead using "classname" everywhere. You should no longer see unqualified class/definition names anywhere. Also, rewriting how snippet tests work, to avoid creating all of the files, since the point was the parsing tests, not functional tests. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2458 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding a fact handler, along with an abstract interface for fact stores and ↵luke2007-05-034-0/+179
| | | | | | a simple yaml fact store, towards the Node Classification work. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2457 980ebf18-57e1-0310-9a29-db15c13687c0
* Set LANG/LC_ALL/LC_MESSAGES/LANGUAGE to 'C' whenever we execute things, so ↵mpalmer2007-05-031-0/+1
| | | | | | that the output that comes back is more easily parsed, without needing to understand all sorts of foreign languages git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2456 980ebf18-57e1-0310-9a29-db15c13687c0
* Updated to version 0.22.4luke2007-05-011-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2446 980ebf18-57e1-0310-9a29-db15c13687c0
* Changing the remount stuff back to not repeating the mount options.luke2007-05-011-14/+5
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2445 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding a "supports_parameter?" method to test whether a given provider ↵luke2007-05-012-15/+31
| | | | | | supports the features required by a given parameter. This is used during attribute instance creation, but its creation was necessicated by test code. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2444 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #430 (I hope) -- execs now autorequire the specified userluke2007-04-301-2/+11
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2442 980ebf18-57e1-0310-9a29-db15c13687c0
* Switching the simpler features to a single file, so it is easier to add new ↵luke2007-04-305-24/+23
| | | | | | features git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2441 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing cron to correctly match blank lines, fixing #602luke2007-04-301-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2440 980ebf18-57e1-0310-9a29-db15c13687c0
* Working a little bit on rails failures, with no real progressluke2007-04-302-6/+4
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2439 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing a bug in the tests introduced a while back when I switched to using ↵luke2007-04-301-1/+1
| | | | | | "generate_report" git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2438 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #594 -- Files on the local machine but not remote machine now purge. ↵luke2007-04-301-6/+22
| | | | | | Note that this introduces a difference in behaviour between recursing locally and recursing remotely. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2436 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding purge => true to downloading of facts and plugins, and removing some ↵luke2007-04-302-1/+1
| | | | | | extraneous logging from the provider base class git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2435 980ebf18-57e1-0310-9a29-db15c13687c0
* Allowing "-" in fileserver module names, #617luke2007-04-301-3/+3
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2434 980ebf18-57e1-0310-9a29-db15c13687c0
* Changing the resource handler to return the whole object, rather than just ↵luke2007-04-301-2/+2
| | | | | | type and title git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2433 980ebf18-57e1-0310-9a29-db15c13687c0
* Not stripping domain info from the ldap node, as requestedluke2007-04-301-4/+0
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2432 980ebf18-57e1-0310-9a29-db15c13687c0
* Switching the mount command to always add the mount options, so that the ↵luke2007-04-301-8/+20
| | | | | | parsed provider can be used even in cases where /etc/fstab is ignored, like it is on OS X. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2431 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing the tests for the aptrpm provider.luke2007-04-301-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2430 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding "rug" package provider from #609luke2007-04-301-0/+53
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2429 980ebf18-57e1-0310-9a29-db15c13687c0
* Okay, one last try -- the Util#binary command was not returning a path in ↵luke2007-04-271-1/+1
| | | | | | all true cases, and the provider tests were poorly written and missed it. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2427 980ebf18-57e1-0310-9a29-db15c13687c0
* Apparently I messed up providers a bit; binaries were not having their full ↵luke2007-04-271-0/+2
| | | | | | paths returned, which made most providers suddenly unsuitable. This fixes that, and adds tests to verify behaviour. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2426 980ebf18-57e1-0310-9a29-db15c13687c0
* Closing #585 -- providers can now have optional commands, which only differ ↵luke2007-04-271-35/+56
| | | | | | from normal commands in that they do not affect a provider's suitability git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2425 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #603 -- I had to add a special case for escaped carriage returns. I ↵luke2007-04-261-0/+2
| | | | | | am not entirely sure this is the right solution, but so be it. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2418 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding extra info to the "Parameter already set" error, as requested in #573luke2007-04-261-2/+12
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2416 980ebf18-57e1-0310-9a29-db15c13687c0
* Possibly adding the ability to manage passwords on os x. I expect it does ↵luke2007-04-251-2/+9
| | | | | | not work, since there is probably no way to set up an encrypted password, but at least it now creates a user that can not log in by default. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2415 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding the ability to manage passwords with the useradd providerluke2007-04-254-26/+36
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2414 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding the ability for parameters to declare that they require a given ↵luke2007-04-253-1/+40
| | | | | | feature, and resources will not instantiate that parameter if required features are missing. This is mostly useful for properties. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2413 980ebf18-57e1-0310-9a29-db15c13687c0
* Refactoring puppetdoc so it is a bit cleaner and is actually ↵luke2007-04-242-5/+9
| | | | | | object-oriented. PDF output still fails miserably (there has to be some kind of markup problem, but I have no idea what), but other output now successfully varies on the pages. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2411 980ebf18-57e1-0310-9a29-db15c13687c0
* Last modifications to rst conversion before bedtimeluke2007-04-241-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2410 980ebf18-57e1-0310-9a29-db15c13687c0
* All conversions to RST are done, but I did not quite succeed at making ↵luke2007-04-242-2/+2
| | | | | | puppetdoc able to generate a single PDF with all of the references in them. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2409 980ebf18-57e1-0310-9a29-db15c13687c0