thias / puppet-postfix

Puppet Postfix module
Other
17 stars 117 forks source link

v0.3.4 - puppet 4 strict_variables = true #82

Open blackophelia opened 8 years ago

blackophelia commented 8 years ago

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 commented 8 years ago

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