added a method of running a custom tool, to trigger puppet.

I've found this useful, as a way to run a script to trigger puppet. 
Please consider adding this.     Happy to discuss this if I've got something wrong.