add generate_puppetfile

As my Puppetfile gets complicated, I need to be able
to generate static versions on the fly.

This commit adds the command generate_puppetfile which does
exacly this.