From http://www.puppetcookbook.com/posts/exec-a-command-in-a-manifest.html