-
-
Notifications
You must be signed in to change notification settings - Fork 154
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Recipe Compile Error in /tmp/chef/cookbooks/postfix/recipes/sasl_auth.rb #76
Comments
That more of less makes sense if you ask me. As |
Let me put it another way, if you don't explicitly set smtp_sasl_auth_enable or set it to 'no'; what is the expected behaviour? Right now; the behaviour is |
Well... Personally I don't see why you would want to include the Of course there could (and maybe should) be a check/guard around the recipe that checks if you are trying to configure your postfix to use sasl auth (e.g. you have But still it wouldn't make much sense to call the Or am I totally missing something here? Not a postfix guru, so maybe you know something I don't? |
The following code in a wrapper cookbook will cause this error:
|
This bit me, too. The only way I could get it to compile is to set the node.postfix.sasl_password_file attribute in my wrapper cookbook: default['postfix']['sasl_password_file'] = "#{node['postfix']['conf_dir']}/sasl_passwd" This cookbook used to work in my old hosted chef repo. Not sure what's going on now. |
ive done several testing and this issue looks to be resolved by commit 489bfaa, @CloCkWeRX please close this. |
Closing this out since @chasebolt reports it has been fixed |
By default, the recipe doesn't work unless you override attributes to enable
smtp_sasl_auth_enable => 'yes'
This is likely due to the conditional configuration of
sasl_password_file
The text was updated successfully, but these errors were encountered: