Comments (3)
Great! Glad to help :)
Since supporting this in the module would require incompatible changes, I will close this one until someone finds a use-case that cannot be easily worked around.
from puppet-dovecot.
You're right, this seems not to be supported by the module. You could try putting the passdb entries into consecutive config files (e.g. 10-auth-passdb01
, 10-auth-passdb02
), though I'm not a 100% sure if dovecot supports that.
from puppet-dovecot.
Arghh why didn't I think of that!!
Yes that works, dovecot is showing me the correct config with dovecot -n
after doing a puppet run.
Such a simple workaround, thanks for the nudge in the right direction. For anyone else that wants to do this, I've configured it like so:
'10-auth' => {
disable_plaintext_auth => 'yes',
auth_default_realm => 'domain.co.uk',
auth_username_chars => 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890.-_@\'',
auth_mechanisms => 'plain login',
passdb => {
driver => 'ldap',
args => '/etc/dovecot/dovecot-pass-method1-ldap.conf.ext',
},
userdb => {
driver => 'ldap',
args => '/etc/dovecot/dovecot-user-method1-ldap.conf.ext',
},
},
'10-auth02' => {
passdb => {
driver => 'ldap',
args => '/etc/dovecot/dovecot-pass-method2-ldap.conf.ext',
},
userdb => {
driver => 'ldap',
args => '/etc/dovecot/dovecot-user-method2-ldap.conf.ext',
},
},
Thanks again for such a quick response and handy module.
from puppet-dovecot.
Related Issues (14)
- Add changelog
- Have you planned to make ext files/all config files manageable? HOT 9
- `include_in_main_config` in `create_config_file_resources.pp` is ignored and does nothing HOT 1
- Version dependencv HOT 4
- $extconfigfile missing in init.pp ? HOT 7
- notation for empty section HOT 3
- Hashes in extconfig HOT 7
- Purging config files under conf.d HOT 1
- Stdlib dependency outdated HOT 3
- dovecot::extconfigs just printing additional_content HOT 2
- Release on forge HOT 2
- Update link to Forge HOT 1
- dovecot::sieve does not work with `source` anymore
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from puppet-dovecot.