summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix for #565: Final merge of changes from source:branches/execute-refactor ↵mccune2007-04-036-35/+118
| | | | | | | | | | | | | | | 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
* Hah! Finally fixing the problem where mount tests would fail when run as ↵luke2007-03-313-44/+46
| | | | | | part of the whole suite. The real problem was that I was changing the filetype of the provider without setting it to change back after the test, but the key change that made it straightforward to fix this problem was that my test loader was not exiting with a non-zero code when there was a failure, which mean that the ./test script never thought anything failed. I fixed the former, then fixed the test script to work fine with -n method_name stuff, and quickly found the problem. *whew* git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2377 980ebf18-57e1-0310-9a29-db15c13687c0
* Changing the date that certs are valid to start one day before the cert is ↵luke2007-03-302-1/+6
| | | | | | 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-303-7/+56
| | | | | | 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-304-40/+46
| | | | | | 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-302-0/+28
| | | | | | 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
* Adding last bits to the change log for 0.22.3luke2007-03-281-1/+6
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2365 980ebf18-57e1-0310-9a29-db15c13687c0
* Updated to version 0.22.3luke2007-03-281-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2363 980ebf18-57e1-0310-9a29-db15c13687c0
* Updated to version 0.22.3luke2007-03-281-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2362 980ebf18-57e1-0310-9a29-db15c13687c0
* Updated to version 0.22.3luke2007-03-281-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2361 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing puppetdoc with the recent changes to the networking codeluke2007-03-281-1/+2
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2360 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing a bug I apparently introduced in the testing that would have made ↵luke2007-03-283-17/+19
| | | | | | 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
* Updating changelog and adding filebucket to the exluded file list in the ↵luke2007-03-261-1/+1
| | | | | | Rakefile git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2354 980ebf18-57e1-0310-9a29-db15c13687c0
* Updating changelog and adding filebucket to the exluded file list in the ↵luke2007-03-261-1/+6
| | | | | | Rakefile git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2353 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #562; I had to fix how the client class was loadedluke2007-03-241-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2352 980ebf18-57e1-0310-9a29-db15c13687c0
* Applying patch by Ian Burrell from #559luke2007-03-241-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2351 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
* Renaming pbucket to filebucketluke2007-03-242-8/+8
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2349 980ebf18-57e1-0310-9a29-db15c13687c0
* Finalizing the filebucket client, with test code.luke2007-03-246-15/+145
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2348 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding filebucket client appluke2007-03-241-0/+176
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2347 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing the "readcert" method after getting the signed cert; the method got ↵luke2007-03-221-1/+1
| | | | | | refactored, and essentially renamed in the process git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2346 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-213-8/+8
| | | | 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
* Updated to version 0.22.2luke2007-03-191-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2336 980ebf18-57e1-0310-9a29-db15c13687c0
* Updated to version 0.22.2luke2007-03-191-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2335 980ebf18-57e1-0310-9a29-db15c13687c0
* Hopefully the last batch of commits before I release 0.22.2. Mostly just ↵luke2007-03-1911-9/+143
| | | | | | get tests to pass. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2334 980ebf18-57e1-0310-9a29-db15c13687c0
* Remove no-lockdir patch. Clean changeloglutter2007-03-191-7/+5
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2333 980ebf18-57e1-0310-9a29-db15c13687c0
* Change puppet's homedir to /var/lib/puppetlutter2007-03-191-2/+8
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2332 980ebf18-57e1-0310-9a29-db15c13687c0
* Don't clobber an explicitly given waitforcertlutter2007-03-191-1/+3
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2331 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-1910-48/+300
| | | | | | 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
* Adding a "has_feature" method, so a provider can just declare that it has a ↵luke2007-03-194-35/+113
| | | | | | given feature git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2327 980ebf18-57e1-0310-9a29-db15c13687c0
* Finally fixing #504, I think; I even have tests to prove it. It was a ↵luke2007-03-192-9/+32
| | | | | | little thing, in the end. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2326 980ebf18-57e1-0310-9a29-db15c13687c0
* cleaning up an error message a bitluke2007-03-191-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2325 980ebf18-57e1-0310-9a29-db15c13687c0
* Clarifying the errors a bit when nodes come from external sources.luke2007-03-196-19/+41
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2324 980ebf18-57e1-0310-9a29-db15c13687c0
* Apply patch from Ian Burrel (trac #479)lutter2007-03-192-6/+11
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2323 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding the "ralsh" executable (formerly known as x2puppet).luke2007-03-193-1/+153
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2322 980ebf18-57e1-0310-9a29-db15c13687c0
* Updating the config generation stuff a bit, mostly just cleanup, but also ↵luke2007-03-195-10/+23
| | | | | | changing the servername fact to be the fqdn of the server. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2321 980ebf18-57e1-0310-9a29-db15c13687c0
* Changing the config cache location to the state dirluke2007-03-191-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2320 980ebf18-57e1-0310-9a29-db15c13687c0