The PDK (Puppet Development Kit) is a set of tools for developing and testing modules. Puppet released the PDK to make developing modules easier and, more importantly, consistent.
Using PDK
Getting ready
To use the PDK, install the PDK following the directions at https://puppet.com/docs/pdk/latest/pdk_install.html.
For RHEL installations, pdk can be installed with the puppet5 YUM repo using the following:
[root@cookbook ~]# yum install pdk
Loaded plugins: fastestmirror
...
Running transaction
Installing : pdk-1.5.0.0-1.el7.x86_64 1/1
Verifying : pdk-1.5.0.0-1.el7.x86_64 1/1
Installed:
pdk.x86_64 0:1.5.0.0-1.el7
Complete!
Debian/Ubuntu LTS releases, such as Trusty and Xenial, have the PDK available in the apt repository...