Re: [Puppet Users] "Good" usage of --parseonly

2010-10-04 Thread Eduardo S. Scarpellini
Oliver, we use CSM hook-scripts to validate any ''.pp'' or ''.erb'' files and it works perfectly. I recommend you look at INOTIFY kernel feature for wait for I/O events in puppet modules directory. You can do that trought INCROND ( http://linux.die.net/man/8/incrond - crontab like) or homemade scri

[Puppet Users] "Good" usage of --parseonly

2010-10-04 Thread Oliver Hookins
Part of my rollout scripts contains a "puppet --parseonly" check of all of our manifests and modules to do basic pre-runtime checks of syntax (or so I thought). It basically finds all applicable modules and echos an "import $MODULENAME" for each to the standard input of puppet, to which I also pass