puppet-postfix
puppet-postfix copied to clipboard
v0.3.4 - puppet 4 strict_variables = true
When setting the strict_variables = true for puppet 4, it results in errors when it comes across an unknown variable, as follows:
Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Unknown variable: '::postfix::params::postmap'. at /etc/puppetlabs/code/environments/production/modules/postfix/manifests/dbfile.pp:32:17
I managed to work around this by explicitly setting the postmap parameter when calling the defined resource.