I ran into the following error on an Ubuntu 18.04 host on AWS. I will be submitting a PR shortly as a attempt to resolve the issue on my end.
Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Error while evaluating a Function Call, Ubuntu's os.release.major is <18.04> and must be 12.04, 14.04, or 16.04 at /etc/puppetlabs/code/environments/GIT_BRANCH/modules/pam/manifests/init.pp:253:5
I ran into the following error on an Ubuntu 18.04 host on AWS. I will be submitting a PR shortly as a attempt to resolve the issue on my end.