Skip to content
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

Typo in auth-passwdfile.conf.ext.erb? #2

Closed
tanordheim opened this issue Jul 19, 2013 · 2 comments
Closed

Typo in auth-passwdfile.conf.ext.erb? #2

tanordheim opened this issue Jul 19, 2013 · 2 comments

Comments

@tanordheim
Copy link

Hi!

I'm testing this cookbook out using a simple passwd file authentication mechanism for now, and I ran into some weird stuff in the auth-passwdfile.conf.ext.erb configuration template.

Look at line 17, the conditional checks for @auth['userwdfile'], but I strongly suspect that this is supposed to check against @auth['passwdfile'], as it's not working as expected right now.

Using the documented way of enabling the auth module, like this;

node.override["dovecot"]["auth"]["passwdfile"] = {
  "passdb" => {
    "args" => "/etc/passwd" 
  },
  "userdb" => {                                                                                                                                                                                                                              
    "args" => "/etc/passwd"
  }
}

This gives me the expected passdb section in the config file after running Chef, but the userdb section contains the default configuration and not the settings I specified.

Have I missed something in the docs here or is it a typo?

@zuazo
Copy link
Owner

zuazo commented Jul 19, 2013

Seems a typo. I'll fix it. Thanks for reporting.

@zuazo zuazo closed this as completed in 7395a8c Jul 19, 2013
@zuazo
Copy link
Owner

zuazo commented Jul 19, 2013

I uploaded version 0.1.1 with the fix.

zuazo pushed a commit that referenced this issue Apr 6, 2016
zuazo pushed a commit that referenced this issue Mar 9, 2017
zuazo pushed a commit that referenced this issue Aug 31, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants