Gary's PE Curl Commands Repo: https://github.com/glarizza/pe_curl_requests
Example control repo with automated tests for syntax, style (puppet-lint), and onceover (compilation of all roles defined in the puppet code by dynamic generation of rspec-puppet examples) with CI/CD pipelines configured in GitLab, Travis-CI and Azure DevOps: https://github.com/jessereynolds/control-repo-fbz
Check if a certificate matches a private key by obtaining the modulus of each:
openssl x509 -noout -modulus -in puppet.example.com.cert.pem
openssl rsa -noout -modulus -in puppet.example.com.private_key.pem
#
# or optionally pipe the modulus through md5 to obtain a shorter string to compare
Add this to spec_helper.rb:
Puppet::Util::Log.level = :debug
Puppet::Util::Log.newdestination(:console)
Maybe there's a nicer convention / mechanism out there...