Confirmed users
141
edits
No edit summary |
(Update puppet-lint documentation) |
||
Line 101: | Line 101: | ||
== Test your code on the local machine == | == Test your code on the local machine == | ||
Before committing your changes you should check your code with puppet-lint. A lightweight [https://hub.docker.com/r/mozillarelops/puppet-linter/ Docker image] has been created to make this easier, as installing [http://puppet-lint.com/ puppet-lint] natively requires a number of dependencies. | |||
* | |||
* | * [https://docs.docker.com/engine/installation/#supported-platforms Install and configure Docker] on your local machine. | ||
* Download the Docker image: | |||
docker pull mozillarelops/puppet-linter | |||
* Run it, inserting the path to your checkout of the puppet repo: | |||
docker run --rm --name puppet-linter -v <path_to_puppet>:/puppet mozillarelops/puppet-linter | |||
= Patch Guidelines / Review Checklist = | = Patch Guidelines / Review Checklist = |