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.