summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* First round of bugfixes in preparation for 0.18.4luke2006-07-214-37/+22
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1421 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #77. As I feared, this was a pretty complicated fix; I had to add a ↵luke2006-07-212-26/+71
| | | | | | | | lot of infrastructure to both ParsedFile and Config. All config files now have a timer created for them, and by default they check for file changes every 15 seconds. If there is a change, they get rid of values set by the file (but not set on the cli) and set the new values, then the re-use all of the sections, so that any changed directories or whatever get recreated. This is still not a 100% solution, since things like open files could still be messed with, but I think this is about as close as we are going to get. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1420 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding timeout functionality to the ParsedFile class, in preparation to ↵luke2006-07-212-17/+38
| | | | | | adding config reloading to the Config class. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1419 980ebf18-57e1-0310-9a29-db15c13687c0
* Apparently objects were legal rvalues, which does not make any sense. Fixed ↵luke2006-07-212-302/+292
| | | | | | this, and added a test verify. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1418 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #185. Added a check for cdrom sources, and added an override parameter.luke2006-07-212-0/+32
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1417 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #176. You can now do duplicate UIDs (or GIDs on most platforms) with ↵luke2006-07-214-13/+55
| | | | | | :allowdupe. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1416 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #202. Just bumped the log level to notice and changed the wording ↵luke2006-07-211-1/+2
| | | | | | slightly git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1414 980ebf18-57e1-0310-9a29-db15c13687c0
* Applied patch in #203luke2006-07-211-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1413 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #201; users now autorequire extra groupsluke2006-07-211-1/+4
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1412 980ebf18-57e1-0310-9a29-db15c13687c0
* moving plugin evaluation into a begin/rescue blockluke2006-07-211-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1411 980ebf18-57e1-0310-9a29-db15c13687c0
* removing message about the statefile not existingluke2006-07-201-1/+0
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1408 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #191. I was only testing for parsed cron instances, not for created ↵luke2006-07-182-22/+35
| | | | | | ones. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1402 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing bug in scope/interpreter where nodes found in ldap must have parent ↵luke2006-07-182-1/+5
| | | | | | nodes. The problem was that the the scope was using the presence of a parent node to determine whether a node was found. Instead I added a flag in the arguments to "Scope#evaluate" to mark nodes as found. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1401 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding a unit test for plain "nodesearch"luke2006-07-181-0/+10
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1400 980ebf18-57e1-0310-9a29-db15c13687c0
* Updated to version 0.18.3luke2006-07-111-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1395 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing filebucket server so that paths are not added multiple timesluke2006-07-111-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1392 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding tests for previous config bugfixes, and updating changelogluke2006-07-111-14/+25
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1391 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing reports so that multiple host report directories can be created. ↵luke2006-07-111-12/+12
| | | | | | There was a config conflict before. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1390 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing templating so it immediately fails when a variable is not found, as ↵luke2006-07-111-4/+19
| | | | | | opposed to passing up the method_missing heirarchy, which was causing a nasty memory leak and some kind of weird, long-running search git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1389 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing weird case involving interpolating config params in a URLluke2006-07-111-1/+2
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1388 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing weird cases where configs might think non-files could be filesluke2006-07-111-2/+2
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1387 980ebf18-57e1-0310-9a29-db15c13687c0
* adding sysidcfg param to zonesluke2006-07-111-0/+53
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1386 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing templating bug that can result in what looks like an infinite loop, ↵luke2006-07-112-2/+9
| | | | | | and changing default timeout to 2 minutes instead of 30 seconds git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1385 980ebf18-57e1-0310-9a29-db15c13687c0
* Reducing log level of missing fileluke2006-07-111-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1384 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing error when template does not existluke2006-07-112-1/+2
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1383 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing misstated error name ExecutionError in blastwave packaging supportluke2006-07-111-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1382 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing reports server so it refers to the main serverluke2006-07-111-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1381 980ebf18-57e1-0310-9a29-db15c13687c0
* Default the passno to 2, defaulting to 0 is a bad idea since it disables fscklutter2006-07-101-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1380 980ebf18-57e1-0310-9a29-db15c13687c0
* changing plugin owner to rootluke2006-07-101-1/+2
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1379 980ebf18-57e1-0310-9a29-db15c13687c0
* changing default plugin host to be $serverluke2006-07-101-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1378 980ebf18-57e1-0310-9a29-db15c13687c0
* Doc change: explain what the values for ensure dolutter2006-07-071-2/+8
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1376 980ebf18-57e1-0310-9a29-db15c13687c0
* adding another state that is equivalent to "stopped" for smf servicesluke2006-07-061-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1375 980ebf18-57e1-0310-9a29-db15c13687c0
* More documentation updates. I think this is sufficient for replacement of ↵luke2006-07-062-2/+14
| | | | | | the plone site. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1373 980ebf18-57e1-0310-9a29-db15c13687c0
* Accepting the patch from #190.luke2006-07-051-7/+26
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1368 980ebf18-57e1-0310-9a29-db15c13687c0
* Updated to version 0.18.2luke2006-07-041-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1365 980ebf18-57e1-0310-9a29-db15c13687c0
* small fixes towards 0.18.2luke2006-07-042-31/+36
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1362 980ebf18-57e1-0310-9a29-db15c13687c0
* adding host information to reports and tagmail reportluke2006-07-043-6/+9
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1361 980ebf18-57e1-0310-9a29-db15c13687c0
* renaming tagmail config fileluke2006-07-041-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1360 980ebf18-57e1-0310-9a29-db15c13687c0
* Redoing reporting a bit, so that reports are now defined as methods. If ↵luke2006-07-042-9/+34
| | | | | | they are not methods, then they cannot use return, which makes things a bit uglier. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1359 980ebf18-57e1-0310-9a29-db15c13687c0
* fixing some smallish bugs in preparation for 0.18.2luke2006-07-041-2/+19
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1358 980ebf18-57e1-0310-9a29-db15c13687c0
* fixing a small but important typo, and adding sunfreeware as a dupe of ↵luke2006-07-042-1/+8
| | | | | | blastwave packages git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1357 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding blastwave packaging, and doing some fixes on gem and sun packagingluke2006-07-043-23/+163
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1356 980ebf18-57e1-0310-9a29-db15c13687c0
* Some updates resulting from trying to track down a segfault introduced when ↵luke2006-07-033-4/+14
| | | | | | I upgraded to 1.8.4-5 in Debian. I never found the segfault and had ot downgrade to 1.8.4-1. I expect it will not be encountered in real life, only in testing. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1355 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding Ruby Gem support to packagingluke2006-07-032-44/+123
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1354 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding minimal update checking for templates. It will only check the ↵luke2006-07-032-63/+97
| | | | | | templates that have been parsed in this process, but it is better than nothing. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1353 980ebf18-57e1-0310-9a29-db15c13687c0
* More report and metrics manipulations. This should be the last of it.luke2006-07-014-17/+53
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1351 980ebf18-57e1-0310-9a29-db15c13687c0
* Significantly redoing metrics. There are now no class variables for ↵luke2006-06-304-137/+34
| | | | | | metrics, nor no class methods for it. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1350 980ebf18-57e1-0310-9a29-db15c13687c0
* oops; adding transaction report classluke2006-06-301-0/+40
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1348 980ebf18-57e1-0310-9a29-db15c13687c0
* Trying to merge metrics and reports. There is now a separate transaction ↵luke2006-06-308-100/+143
| | | | | | report class, and it works throughout the previously existing system. I will next go through trying to make a metric report that graphs the metrics in rrd. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1347 980ebf18-57e1-0310-9a29-db15c13687c0
* adding a "thinmark" method, which does a simple benchmark with no loggingluke2006-06-301-2/+12
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1346 980ebf18-57e1-0310-9a29-db15c13687c0