We should not be writing to temporary or unusual log files during deployment. Ivan's view on this matter is we should append all debug info to the puppet log, not to separate files. Keeping logs in one place for puppet run makes it easier to identify order of operations. 

Additionally, it's fine when troubleshooting to add logs to external files as a one-time hack, but code like this should not go in master.