summaryrefslogtreecommitdiffstats
path: root/lib/puppet
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* Mostly done with the conversion to restructured text, but there are still ↵luke2007-04-2417-121/+105
| | | | | | some tweaks to perform on the typedocs output. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2408 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding a :block_eval option to FileRecords in FileParsing, so ParsedFile ↵luke2007-04-231-3/+9
| | | | | | providers can have records just define a bunch of methods at once, rather than using lots of hooks. This is cleaner when custom parse and generate methods are used. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2407 980ebf18-57e1-0310-9a29-db15c13687c0
* Translating all of the docs except the type docs to RSTluke2007-04-235-10/+14
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2406 980ebf18-57e1-0310-9a29-db15c13687c0
* Removing the naming restrictions on cron namesluke2007-04-231-6/+0
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2405 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #588 - the parser correctly ignores directories in globbing nowluke2007-04-201-2/+2
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2404 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #587 -- just defaulting to root when there is no USER set in the ↵luke2007-04-201-1/+1
| | | | | | environment. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2403 980ebf18-57e1-0310-9a29-db15c13687c0
* Removing the stubs for nodevar; I did not mean to commit themluke2007-04-201-4/+0
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2401 980ebf18-57e1-0310-9a29-db15c13687c0
* adding note about the class variables in the change logluke2007-04-201-0/+4
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2400 980ebf18-57e1-0310-9a29-db15c13687c0
* Enhancing the docs a bit for the apple package provider.luke2007-04-201-1/+3
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2399 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding support for aptrpm from #227 as added by Ian Burrell, the rest of the ↵luke2007-04-191-0/+79
| | | | | | commit git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2398 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing fileserver doc linksluke2007-04-191-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2394 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding the functionality requested in ↵luke2007-04-195-59/+87
| | | | | | | | | | http://mail.madstop.com/pipermail/puppet-users/2007-April/002398.html . You can now retrieve qualified variables by specifying the full class path. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2393 980ebf18-57e1-0310-9a29-db15c13687c0
* Only caching the configuration when it has been successfully turned into ↵luke2007-04-181-4/+4
| | | | | | Puppet objects git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2392 980ebf18-57e1-0310-9a29-db15c13687c0
* Forgot to change Puppet::Util::SUIDManager#run_and_capture arguments to executemccune2007-04-041-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2387 980ebf18-57e1-0310-9a29-db15c13687c0
* Fix for #565: Final merge of changes from source:branches/execute-refactor ↵mccune2007-04-032-26/+63
| | | | | | | | | | | | | | | into source:trunk Generated with svn merge -r 2378:HEAD https://reductivelabs.com/svn/puppet/branches/execute-refactor trunk CHANGES: - Puppet::Util#execute now takes hash key/value pairs as arguments after the command array. - Processes executed from the base service provider are now silenced. That is, their standard input, output, and error pipes are all directed to /dev/null. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2385 980ebf18-57e1-0310-9a29-db15c13687c0
* Changing the date that certs are valid to start one day before the cert is ↵luke2007-03-301-1/+3
| | | | | | created, so clocks that are off by a little bit can still be used. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2376 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing Client.read_cert so that it automatically adds the certificate ↵luke2007-03-301-0/+12
| | | | | | information to the driver when the certificate is correctly read. This makes sure the Net::Http instance has the cert all set up. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2375 980ebf18-57e1-0310-9a29-db15c13687c0
* Updating the docs for the sourceselect parameterluke2007-03-301-1/+6
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2373 980ebf18-57e1-0310-9a29-db15c13687c0
* Renaming some methods so that we can generate a report on a transaction and ↵luke2007-03-302-39/+41
| | | | | | then retrieve it later git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2372 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #567. I overrode the propertychanges method to only return changes ↵luke2007-03-301-0/+19
| | | | | | if the file exists or if the file has a property that could create the file. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2371 980ebf18-57e1-0310-9a29-db15c13687c0
* Enhancing the report docs a bitluke2007-03-292-3/+7
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2367 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing a bug I apparently introduced in the testing that would have made ↵luke2007-03-282-17/+15
| | | | | | user management not work with netinfo. In the process, I am enabling validation on the nameservice subclasses. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2359 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing the documentation to match reality, as reported in #548.luke2007-03-281-3/+2
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2358 980ebf18-57e1-0310-9a29-db15c13687c0
* Trying to fix the problem that occurs when noop somehow manages to be nil ↵luke2007-03-272-1/+9
| | | | | | when downloading files git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2357 980ebf18-57e1-0310-9a29-db15c13687c0
* Changing gems to automatically include dependenciesluke2007-03-271-0/+3
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2355 980ebf18-57e1-0310-9a29-db15c13687c0
* Refactoring some of the rails code. The speed is now pretty good, but the ↵luke2007-03-245-90/+75
| | | | | | tagging stuff does not seem to be working and is certainly working very ineffficiently. Blake says he is going to take a look at that. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2350 980ebf18-57e1-0310-9a29-db15c13687c0
* Finalizing the filebucket client, with test code.luke2007-03-242-7/+15
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2348 980ebf18-57e1-0310-9a29-db15c13687c0
* Moving the authconfig setting to configuration.rb instead of ↵luke2007-03-222-8/+6
| | | | | | network/authconfig.rb, as mentioned by Koen Vereeken git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2345 980ebf18-57e1-0310-9a29-db15c13687c0
* Rails is now significantly faster. I refactored all of the queries; they ↵luke2007-03-225-49/+141
| | | | | | are mostly reduced to three queries, each of which is relatively fast, although there are still a ton of file- and tag-related queries that I cannot find the source of. Note that this speedup requires indexes, which will only get added if you start puppetmasterd with --dbmigrate (although you cannot always start with that, as there is an error in the init code). I expect that the indexes will not help unless you forcibly reindex your database, but after that you should see significant speed improvements. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2344 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding a migration to create indexesluke2007-03-213-1/+41
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2342 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #553; -M is no longer added when home directories are managedluke2007-03-211-6/+0
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2341 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing the same bug as the Metric stuff, but for logs this time.luke2007-03-211-0/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2340 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing the Metric class old clients can still refer to the Puppet::Metric class.luke2007-03-211-0/+2
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2339 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing a small bug in testing whether instance methods are already defined.luke2007-03-211-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2338 980ebf18-57e1-0310-9a29-db15c13687c0
* Hopefully the last batch of commits before I release 0.22.2. Mostly just ↵luke2007-03-195-5/+45
| | | | | | get tests to pass. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2334 980ebf18-57e1-0310-9a29-db15c13687c0
* Reverting changeset [2243]; this apparently causes chkconfig not to workluke2007-03-191-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2330 980ebf18-57e1-0310-9a29-db15c13687c0
* Absolutely guaranteeing that the provider is always created before anything ↵luke2007-03-192-1/+8
| | | | | | else. Previously, it could get created later if it were using a default. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2329 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #432 - you can now manage home dirs with users. You cannot yet purge ↵luke2007-03-196-47/+82
| | | | | | home directories, because there is still controversy over how that should be done. Also, allowdupe is now handled like a feature, which is, um, better. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2328 980ebf18-57e1-0310-9a29-db15c13687c0