summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* Fixing #538. There is now a simple file() function to read in file contents.luke2007-03-183-0/+52
| | | | 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-1812-83/+89
| | | | 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-182-9/+29
| | | | | | 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
* Removing the cycle checks from the splice! method in pgraph, which ↵luke2007-03-181-5/+0
| | | | | | *considerably* speeds up splicing of very large graphs. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2293 980ebf18-57e1-0310-9a29-db15c13687c0
* Getting rid of a warning in the rpm providerluke2007-03-181-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2292 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding example cron tab from #492 and making the read/write tests ignore ↵luke2007-03-182-1/+24
| | | | | | whitespace. This cron now parses successfully, as I thought it would with the move to providers. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2291 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #529 -- specified targets keep their values. The problem was that I ↵luke2007-03-182-6/+49
| | | | | | was using model[:target] instead of model.should(:target) and model.is(:target). The real problem was that my tests were using a parameter for tests but all of the real code uses properties. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2290 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #533 -- puppetd now exits in onetime mode.luke2007-03-182-1/+5
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2289 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #491 -- the client correctly realizes when the cache file is missing ↵luke2007-03-183-11/+32
| | | | | | and only considers the config to be in sync if that is not the case. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2288 980ebf18-57e1-0310-9a29-db15c13687c0
* Trying to clean up the error message from #490. It looks like the problem ↵luke2007-03-181-1/+1
| | | | | | is just a failure in one of the types, and it has nothing to do with the state file. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2287 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #542. Transactions now cause services to warn when they would have ↵luke2007-03-1710-55/+170
| | | | | | gotten restarted by a noop resource. Also fixing #549 -- transactions now only refuse to delete required resources if they are being purged. All other resources can be deleted just fine. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2286 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #540. I modified Puppet::Network::Client::Master so that it disables ↵luke2007-03-172-0/+25
| | | | | | noop during its run, so that facts and plugins will always be downloaded. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2285 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing cron support (I hope). It now uses providers, and seems to work, at ↵luke2007-03-1721-910/+1055
| | | | | | least on my os x box. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2284 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding spec libs, so we can use them some dayluke2007-03-1773-0/+5095
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2283 980ebf18-57e1-0310-9a29-db15c13687c0
* Clarifying that the ruby RRD support is provided by a binary libraryluke2007-03-141-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2282 980ebf18-57e1-0310-9a29-db15c13687c0
* Significantly reworking the internals of the fileparsing code. It nowluke2007-03-1414-673/+759
| | | | | | | | | | | | | | passes around an instance of a FileRecord, rather than just a hash, which I think makes it much easier to understand. Moved the sshkey parsed provider test to its own directory and made it better. This work is all being done so I can move cron jobs to using providers instead of the current unmaintainable state of affairs. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2281 980ebf18-57e1-0310-9a29-db15c13687c0
* Don't blow up when PUPPETLIB isn't setlutter2007-03-091-1/+4
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2280 980ebf18-57e1-0310-9a29-db15c13687c0
* Search manifests first within modules, and if no module is found, search inlutter2007-03-094-101/+168
| | | | | | | | | | the directory the current manifest is in. Glob patterns can be used for the path, but the path only matches a module if the first part of the path is not a glob. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2279 980ebf18-57e1-0310-9a29-db15c13687c0
* Introduces a new implicit 'modules' fileserver module, whose allow/deny canlutter2007-03-093-10/+160
| | | | | | | | | | | | | | be set from the fileserver.conf, but whose path is ignored and can therefore not be used directly in puppet:// URL's. When the fileserver looks for a file/directory, it first checks if the first part of the URL references an existing module. If one is found, a new temporary mount for that module is generated with the same permissions as the 'modules' module. If no matching puppet module is found, the fileserver behaves as it always has. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2278 980ebf18-57e1-0310-9a29-db15c13687c0
* The template function now tries to first find a template within a modulelutter2007-03-093-5/+48
| | | | | | | | (if the template path looks like it belongs to a module) and only when that fails looks for it in templatedir git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2277 980ebf18-57e1-0310-9a29-db15c13687c0
* The basic plumbing for modules: a modulepath config parameter, and a newlutter2007-03-094-1/+88
| | | | | | | | | | class Puppet::Module that will contain the module-related functionality. The modulepath can be extended by setting the environment variable PUPPETLIB git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2276 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding support for a prefetch hook on individual providers, rather than only ↵luke2007-03-082-18/+28
| | | | | | supporting it for the whole class. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2275 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing a few of the log messages so file content changes always include the ↵luke2007-03-082-1/+14
| | | | | | md5 sum git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2274 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding a bit more testing to the config stuffluke2007-03-082-4/+14
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2273 980ebf18-57e1-0310-9a29-db15c13687c0
* One last try at getting the config and mode stuff working. The tests were ↵luke2007-03-082-6/+36
| | | | | | passing because "mode" is a valid config option in the tests, but not in the real configuration. So, now the Config class correctly only tries to set the meta params if they are valid options, otherwise they get skipped. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2272 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing the config path to use Puppet[:name] rather than Puppet.nameluke2007-03-081-2/+2
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2271 980ebf18-57e1-0310-9a29-db15c13687c0
* Oops, forgot a file in the commitluke2007-03-081-0/+363
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2270 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing a bug related to link recursion that caused link directoriesluke2007-03-084-329/+11
| | | | | | | to always be considered out of sync. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2269 980ebf18-57e1-0310-9a29-db15c13687c0
* Looks like [2265] was not a complete solution -- it resulted in failures ↵luke2007-03-084-19/+55
| | | | | | when the config set modes via integers. Everything is working now, and tested more completely. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2268 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding some more testing on the @should values for :groups on users, and ↵luke2007-03-084-30/+16
| | | | | | fixing a bug that often made :groups think it was out of sync. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2267 980ebf18-57e1-0310-9a29-db15c13687c0