summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Adding context to the warning message about unknown escapesluke2007-03-191-1/+8
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2319 980ebf18-57e1-0310-9a29-db15c13687c0
* Changing execution to reopen stdin to /dev/nullluke2007-03-191-0/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2318 980ebf18-57e1-0310-9a29-db15c13687c0
* Changing notify to default to its message being its nameluke2007-03-191-28/+30
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2317 980ebf18-57e1-0310-9a29-db15c13687c0
* Another round of bug-fixes, prompted by test logs from David Schmittluke2007-03-1915-132/+137
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2316 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing the spelling of David Schmitt's name and giving credit to Chris ↵luke2007-03-191-2/+3
| | | | | | McEniry in the changelog. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2315 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding a provider feature table to the provider feature docsluke2007-03-191-2/+23
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2314 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding provider features. Woot!luke2007-03-197-22/+333
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2313 980ebf18-57e1-0310-9a29-db15c13687c0
* Following Russ Allbery's advice and using the Candidate field in the ↵luke2007-03-191-1/+1
| | | | | | apt-cache output. Apparently I'm blind. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2312 980ebf18-57e1-0310-9a29-db15c13687c0
* Updating changelog for #487luke2007-03-191-0/+3
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2311 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #487. I know use "apt-cache policy", instead of apt-cache showpkg, ↵luke2007-03-193-24/+31
| | | | | | because it clearly shows which version will be installed. This is basically impossible to test well, so I just added a test that verifies we always get a value back, although I cannot really test that it is the "right" value. Also, I modified the logging of packages so if there is a latest version, you will get the new version number, along with the old, in the log. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2310 980ebf18-57e1-0310-9a29-db15c13687c0
* Taking another crack at #504 -- I was using Pidlock incorrectly. I should ↵luke2007-03-191-1/+1
| | | | | | have been using "locked?" but was using "lock". git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2309 980ebf18-57e1-0310-9a29-db15c13687c0
* A slight fix for #507. This should at least provide better information if ↵luke2007-03-191-3/+9
| | | | | | this problem crops up, although I cannot reproduce it. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2308 980ebf18-57e1-0310-9a29-db15c13687c0
* Changing the "found a bug" message to something a bit more informative.luke2007-03-191-1/+2
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2307 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #447 - filebuckets now use deeply nested pathsluke2007-03-193-68/+180
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2306 980ebf18-57e1-0310-9a29-db15c13687c0
* Oops. Fixing the other tests to now past the facts to "fresh?", as required ↵luke2007-03-191-2/+4
| | | | | | by the fact checking. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2305 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing the fact caching so that facts are only downloaded and retrieved ↵luke2007-03-192-8/+14
| | | | | | once, rather than once during fresh checking and once during config compile. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2304 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #519. The facts are now cached in the state file and changes to them ↵luke2007-03-193-0/+45
| | | | | | force a recompile. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2303 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #544 -- there is now an --ignoreimport option for commit hooks.luke2007-03-195-419/+500
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2302 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding #539. Definitions can now have titles, and both $title and $name are ↵luke2007-03-195-12/+108
| | | | | | guaranteed to be set within any definition. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2301 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding test to make sure ensure does not conflict with any of the creating ↵luke2007-03-181-0/+4
| | | | | | types. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2300 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding #541. There is now a "generate" function.luke2007-03-183-0/+85
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2299 980ebf18-57e1-0310-9a29-db15c13687c0