mxhero / puppet-dovecot Goto Github PK
View Code? Open in Web Editor NEWPuppet Dovecot Module for Dovecot 2+
License: Other
Puppet Dovecot Module for Dovecot 2+
License: Other
Example should be displayed as:
log_timestamp => '"%Y-%m-%d %H:%M:%S "',
The double quotes are required so the space at the end of the string is included in the formatting.
Trying to use this module renders:
Error 500 on SERVER: {"message":"Server Error: Evaluation Error: Error while evaluating a Function Call, "" is not a boolean. It looks to be a String at /etc/puppetlabs/code/envs/b56v/modules/dovecot/manifests/init.pp:152:5
and same issue on line 191.. you have set "undef" as default value for these 2 vals - which fails the validate_bool test.
I'm assuming this worked at some point.
The current version available via the Puppet forge is quite old now ("Version 0.1.0 released Jul 11th 2013").
Please release a new version. Thanks.
Looks like I jumped the gun from comparing my Dovecot 1.x install and Dovecot 2.x:
2013-07-10 14:16:23imap-login: Fatal: Can't load ssl_cert: There is no valid PEM certificate. (You probably forgot '<' from ssl_cert=</etc/ssl/certs/dovecot.pem). I'm creating this so I remember to go back and revert my changes.
File: https://github.com/mxhero/puppet-dovecot/blob/master/templates/conf.d/10-ssl.conf.erb#L15
They ssl
parameter takes the following parameters: yes, no, required
, but it seems like you're only supplying the ssl_cert
and ssl_key
data when @ssl =~ /yes/
and not also when required
.
Before upgrading to the latest release we used our own plugin file
dovecot::file { 'conf.d/90-plugin.conf':
source => 'puppet:///modules/site/dovecot/90-plugin.conf',
}
Now this file is declared in init.pp and the 90-plugin.conf.erb template doesn't allow custom configuration of plugins. How are we supposed to configure plugins now? E.g. we use the 'autosubscribe' and 'autocreate' plugins.
Cheers!
Hi,
I see that this installs the packages 'dovecot-imapd', 'dovecot-pop3d', 'dovecot-mysql', 'dovecot-lmtpd'
no matter if they are required or not. There already are options for plugins & protocols, why not rely on these for a clean setup?
Commit c8bd86b creates the file /etc/dovecot/conf.d/15-mailboxes.conf which causes Dovecot to fail on start with the error
Fatal: Error in configuration file /etc/dovecot/conf.d/15-mailboxes.conf line 19: Unknown setting: mailbox
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.