summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* 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 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
* 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-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
* Adding a "has_feature" method, so a provider can just declare that it has a ↵luke2007-03-193-21/+53
| | | | | | 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-191-9/+15
| | | | | | 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-195-19/+34
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2324 980ebf18-57e1-0310-9a29-db15c13687c0
* Updating the config generation stuff a bit, mostly just cleanup, but also ↵luke2007-03-193-6/+8
| | | | | | 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-197-112/+79
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2316 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-194-3/+216
| | | | 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
* Fixing #487. I know use "apt-cache policy", instead of apt-cache showpkg, ↵luke2007-03-192-24/+14
| | | | | | 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-191-63/+87
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2306 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing the fact caching so that facts are only downloaded and retrieved ↵luke2007-03-191-6/+7
| | | | | | 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-191-0/+13
| | | | | | 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-193-419/+457
| | | | 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-192-9/+20
| | | | | | guaranteed to be set within any definition. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2301 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding #541. There is now a "generate" function.luke2007-03-181-0/+35
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2299 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #538. There is now a simple file() function to read in file contents.luke2007-03-181-0/+21
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2298 980ebf18-57e1-0310-9a29-db15c13687c0
* Looks like I already accidentally committed the switch from using system() ↵luke2007-03-181-16/+0
| | | | | | to exec(). I am hoping this will fix the many problems people are having with processes hanging around (e.g., #509). This change just removes the attempts at closing TCPServer instances, which should now be fixed from using exec instead of system. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2297 980ebf18-57e1-0310-9a29-db15c13687c0
* The first round of fixes for failing tests.luke2007-03-185-41/+60
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2296 980ebf18-57e1-0310-9a29-db15c13687c0
* More work on #542 -- services in noop now produce noop events so that they ↵luke2007-03-181-1/+7
| | | | | | can themselves trigger further changes git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2295 980ebf18-57e1-0310-9a29-db15c13687c0
* Removing bogus log message in file parsingluke2007-03-181-1/+0
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2294 980ebf18-57e1-0310-9a29-db15c13687c0