Previous to this pull request, the puppet-dev-tools image used Alpine as the base OS. This required installing PDK as a Ruby gem, which is not recommended. In order to have a properly installed version of PDK, the image needs to use CentOS as its base OS.
This PR
Uses CentOS as the base OS
Removes the PDK gem and installs via RPM
Removes gosu installation (was required for CD for PE agent)
Adds tests to validate the built-in tasks work as expected against good and bad Puppet syntax
Previous to this pull request, the puppet-dev-tools image used Alpine as the base OS. This required installing PDK as a Ruby gem, which is not recommended. In order to have a properly installed version of PDK, the image needs to use CentOS as its base OS.
This PR
gosu
installation (was required for CD for PE agent)