| 284 | |
| 285 | === 5/22/2010 === |
| 286 | |
| 287 | I've put a bunch of logging and error handling code into the writer version 0.99. It should now log appropriately. To generate a bunch of meaning full results I've taken these steps: |
| 288 | * Writer now logs to /tmp/writer.log |
| 289 | * Wrote a new script called logcopy.rb |
| 290 | 1. It checks the log for errors |
| 291 | 1. if errors are found I mount command the tmp directory on repo1 |
| 292 | {{{ |
| 293 | repository1:/export/orbit/image/tmp /mnt as my mount |
| 294 | }}} |
| 295 | 1. In the tmp directory is a new directory called logs |
| 296 | 1. the /tmp/writer.log file is copied to this logs directory and stamped with the name of the node it came from |
| 297 | * I've created a new image called inventoryV2.ndz which has all the updated scripts (writer and logcopy) |
| 298 | * I've modified the inventoryV2.rb script to call logcopy as the final step. it's now named inventoryV2-1.rb |
| 299 | |
| 300 | |
| 301 | |
| 302 | |