Optionally lock puppet to avoid messy interference

Puppet likes to use yum too, make sure we don't step on each others toes
and potentially cause odd situations to happen.
Merge pull request #1 from seveas/master

Optionally lock puppet to avoid messy interference