Writing and testing a module using the PDK
The PDK was introduced to ease the effort required to consistently create the directories and files for modules and to also group some commonly used testing and validation tooling. We will be reviewing PDK version 2.7.1, the latest available at the time of writing. PDK installs its own Ruby gems and environment to provide the following tools:
Ruby Gem Name |
Ruby Gem Purpose |
Project Page |
|
Validates the syntax and lints |
|
|
Generates modules and module content with automated testing commands |
|
|
Lints Puppet... |