puppet-postfix icon indicating copy to clipboard operation
puppet-postfix copied to clipboard

v0.3.4 - puppet 4 strict_variables = true

Open blackophelia opened this issue 8 years ago • 1 comments

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

blackophelia avatar Mar 23 '16 01:03 blackophelia

I managed to work around this by explicitly setting the postmap parameter when calling the defined resource.

blackophelia avatar Apr 14 '16 23:04 blackophelia