Add puppet-lint tool

Install the puppet linting tool and also correct all warnings the code
was emitting.