rodjek/librarian-puppet — pull request #26 by jedi4ever (2012-09-03 17:05:52+00:00)
Title: More robust puppet module execution

I had the version of puppet set to 2.7.6 . This caused librarian-puppet to fail on all the forge stuff.

It seems that it created a directory first and then silently failed on executing the puppet module command.
Versions before the face 'module' reported an exitcode = 0 and show part of the help.

In this pull request:
- I check the exit code
- I check the options in the puppet module help to see if they are available
- remove the directory in the .tmp module if this happens to avoid it thinking the module is in cache