Be on the lookout for code smells, especially as your Puppet code base ages! The following link is a research project that describes a bunch of Puppet code smells, which is an XP (extreme programming) term meaning code issues—usually meaning either a poor design or implementation: http://www.tusharma.in/wp-content/uploads/2016/03/ConfigurationSmells_preprint.pdf
Let's quickly run through using the Puppeteer Python-based tool used in the preceding research project:
- Ensure you have the latest Java SDK installed.
- Move to your workspace directory ~/workspace, and clone the following Git repository:
$ git clone https://github.com/tushartushar/Puppeteer$ cd Puppeteer
- Download the PMD tool (https://github.com/pmd/pmd ...