You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am receiving multiple warnings and error messages which seem to be related to Augeas (see end of ticket). Since I am new to puppet and have never worked with Augeas before I am unable to solve (even understand) the problem. Here is the puppet code I am trying to execute:
.../puppet/modules/my_mail/manifests/dovecot.pp
class my_mail::dovecot {
include dovecot
class { dovecot::ssl:
ssl => 'yes',
ssl_keyfile => '/etc/ssl/private/ssl-cert-snakeoil.key',
ssl_certfile => '/etc/ssl/certs/ssl-cert-snakeoil.pem',
}
include dovecot::sieve
class { dovecot::master:
postfix => yes
}
include dovecot::mail
class { dovecot::lda:
postmaster_address => '[email protected]'
}
include dovecot::imap
include dovecot::base
include dovecot::auth
}
Anything I can do to fix the problem? I will be happy to test and provide further information. Thanks in advance for any help you can provide.
Cheers,
Bernd
Error: /Stage[main]/Dovecot::Master/Dovecot::Config::Dovecotcfmulti[/etc/dovecot/conf.d/10-master.conf-userdblistener0]/Augeas[dovecot /etc/dovecot/conf.d/10-master.conf /etc/dovecot/conf.d/10-master.conf-userdblistener0]: Could not evaluate: unknown error - Failed to initialize Augeas
Error: /Stage[main]/Dovecot::Sieve/Dovecot::Config::Dovecotcfmulti[plugin]/Augeas[dovecot /etc/dovecot/conf.d/90-plugin.conf plugin]: Could not evaluate: unknown error - Failed to initialize Augeas
Error: /Stage[main]/Dovecot::Master/Dovecot::Config::Dovecotcfsingle[service[ . = "auth-worker"]/group]/Augeas[dovecot /etc/dovecot/conf.d/10-master.conf service[ . = "auth-worker"]/group]: Could not evaluate: unknown error - Failed to initialize Augeas
Error: /Stage[main]/Dovecot::Imap/Dovecot::Config::Dovecotcfmulti[imap]/Augeas[dovecot /etc/dovecot/conf.d/20-imap.conf imap]: Could not evaluate: unknown error - Failed to initialize Augeas
Error: /Stage[main]/Dovecot::Mail/Dovecot::Config::Dovecotcfmulti[mail]/Augeas[dovecot /etc/dovecot/conf.d/10-mail.conf mail]: Could not evaluate: unknown error - Failed to initialize Augeas
...
Warning: /Stage[main]/Dovecot::Master/Dovecot::Config::Dovecotcfmulti[/etc/dovecot/conf.d/10-master.conf-userdblistener1]/Augeas[dovecot /etc/dovecot/conf.d/10-master.conf /etc/dovecot/conf.d/10-master.conf-userdblistener1]: Skipping because of failed dependencies
Error: /Stage[main]/Dovecot::Lda/Dovecot::Config::Dovecotcfmulti[lda]/Augeas[dovecot /etc/dovecot/conf.d/15-lda.conf lda]: Could not evaluate: unknown error - Failed to initialize Augeas
Error: /Stage[main]/Dovecot::Ssl/Dovecot::Config::Dovecotcfsingle[ssl_ca]/Augeas[dovecot /etc/dovecot/conf.d/10-ssl.conf ssl_ca]: Could not evaluate: unknown error - Failed to initialize Augeas
Error: /Stage[main]/Dovecot::Ssl/Dovecot::Config::Dovecotcfsingle[ssl_key]/Augeas[dovecot /etc/dovecot/conf.d/10-ssl.conf ssl_key]: Could not evaluate: unknown error - Failed to initialize Augeas
Error: /Stage[main]/Dovecot::Ssl/Dovecot::Config::Dovecotcfsingle[ssl_key_password]/Augeas[dovecot /etc/dovecot/conf.d/10-ssl.conf ssl_key_password]: Could not evaluate: unknown error - Failed to initialize Augeas
Error: /Stage[main]/Dovecot::Ssl/Dovecot::Config::Dovecotcfsingle[ssl]/Augeas[dovecot /etc/dovecot/conf.d/10-ssl.conf ssl]: Could not evaluate: unknown error - Failed to initialize Augeas
Error: /Stage[main]/Dovecot::Ssl/Dovecot::Config::Dovecotcfsingle[ssl_cert]/Augeas[dovecot /etc/dovecot/conf.d/10-ssl.conf ssl_cert]: Could not evaluate: unknown error - Failed to initialize Augeas
Error: /Stage[main]/Dovecot::Base/Dovecot::Config::Dovecotcfmulti[base]/Augeas[dovecot /etc/dovecot/dovecot.conf base]: Could not evaluate: unknown error - Failed to initialize Augeas
Error: /Stage[main]/Dovecot::Auth/Dovecot::Config::Dovecotcfmulti[auth]/Augeas[dovecot /etc/dovecot/conf.d/10-auth.conf auth]: Could not evaluate: unknown error - Failed to initialize Augeas
Error: /Stage[main]/Dovecot::Master/Dovecot::Config::Dovecotcfsingle[service[ . = "auth-worker"]/user]/Augeas[dovecot /etc/dovecot/conf.d/10-master.conf service[ . = "auth-worker"]/user]: Could not evaluate: unknown error - Failed to initialize Augeas
The text was updated successfully, but these errors were encountered:
In the meanwhile I have found out that the problem was exclusively augeas related. A broken lense ("yum.aug") prevented augeas from starting properly. In the presence of this lense, the following error messages were returned by augtool:
I am receiving multiple warnings and error messages which seem to be related to Augeas (see end of ticket). Since I am new to puppet and have never worked with Augeas before I am unable to solve (even understand) the problem. Here is the puppet code I am trying to execute:
.../puppet/modules/my_mail/manifests/dovecot.pp
class my_mail::dovecot {
include dovecot
class { dovecot::ssl:
ssl => 'yes',
ssl_keyfile => '/etc/ssl/private/ssl-cert-snakeoil.key',
ssl_certfile => '/etc/ssl/certs/ssl-cert-snakeoil.pem',
}
include dovecot::sieve
class { dovecot::master:
postfix => yes
}
include dovecot::mail
class { dovecot::lda:
postmaster_address => '[email protected]'
}
include dovecot::imap
include dovecot::base
include dovecot::auth
}
.../puppet/manifests/site.pp
class { 'my_mail::dovecot' : }
Some facts about my setup:
OS: Debian Jessie (Raspbian)
Puppet: 3.7.2-4
mjhas/dovecot: latest (2016-03-19)
Postfix: 2.11.3-1
Anything I can do to fix the problem? I will be happy to test and provide further information. Thanks in advance for any help you can provide.
Cheers,
Bernd
Error: /Stage[main]/Dovecot::Master/Dovecot::Config::Dovecotcfmulti[/etc/dovecot/conf.d/10-master.conf-userdblistener0]/Augeas[dovecot /etc/dovecot/conf.d/10-master.conf /etc/dovecot/conf.d/10-master.conf-userdblistener0]: Could not evaluate: unknown error - Failed to initialize Augeas
Error: /Stage[main]/Dovecot::Sieve/Dovecot::Config::Dovecotcfmulti[plugin]/Augeas[dovecot /etc/dovecot/conf.d/90-plugin.conf plugin]: Could not evaluate: unknown error - Failed to initialize Augeas
Error: /Stage[main]/Dovecot::Master/Dovecot::Config::Dovecotcfsingle[service[ . = "auth-worker"]/group]/Augeas[dovecot /etc/dovecot/conf.d/10-master.conf service[ . = "auth-worker"]/group]: Could not evaluate: unknown error - Failed to initialize Augeas
Error: /Stage[main]/Dovecot::Imap/Dovecot::Config::Dovecotcfmulti[imap]/Augeas[dovecot /etc/dovecot/conf.d/20-imap.conf imap]: Could not evaluate: unknown error - Failed to initialize Augeas
Error: /Stage[main]/Dovecot::Mail/Dovecot::Config::Dovecotcfmulti[mail]/Augeas[dovecot /etc/dovecot/conf.d/10-mail.conf mail]: Could not evaluate: unknown error - Failed to initialize Augeas
...
Warning: /Stage[main]/Dovecot::Master/Dovecot::Config::Dovecotcfmulti[/etc/dovecot/conf.d/10-master.conf-userdblistener1]/Augeas[dovecot /etc/dovecot/conf.d/10-master.conf /etc/dovecot/conf.d/10-master.conf-userdblistener1]: Skipping because of failed dependencies
Error: /Stage[main]/Dovecot::Lda/Dovecot::Config::Dovecotcfmulti[lda]/Augeas[dovecot /etc/dovecot/conf.d/15-lda.conf lda]: Could not evaluate: unknown error - Failed to initialize Augeas
Error: /Stage[main]/Dovecot::Ssl/Dovecot::Config::Dovecotcfsingle[ssl_ca]/Augeas[dovecot /etc/dovecot/conf.d/10-ssl.conf ssl_ca]: Could not evaluate: unknown error - Failed to initialize Augeas
Error: /Stage[main]/Dovecot::Ssl/Dovecot::Config::Dovecotcfsingle[ssl_key]/Augeas[dovecot /etc/dovecot/conf.d/10-ssl.conf ssl_key]: Could not evaluate: unknown error - Failed to initialize Augeas
Error: /Stage[main]/Dovecot::Ssl/Dovecot::Config::Dovecotcfsingle[ssl_key_password]/Augeas[dovecot /etc/dovecot/conf.d/10-ssl.conf ssl_key_password]: Could not evaluate: unknown error - Failed to initialize Augeas
Error: /Stage[main]/Dovecot::Ssl/Dovecot::Config::Dovecotcfsingle[ssl]/Augeas[dovecot /etc/dovecot/conf.d/10-ssl.conf ssl]: Could not evaluate: unknown error - Failed to initialize Augeas
Error: /Stage[main]/Dovecot::Ssl/Dovecot::Config::Dovecotcfsingle[ssl_cert]/Augeas[dovecot /etc/dovecot/conf.d/10-ssl.conf ssl_cert]: Could not evaluate: unknown error - Failed to initialize Augeas
Error: /Stage[main]/Dovecot::Base/Dovecot::Config::Dovecotcfmulti[base]/Augeas[dovecot /etc/dovecot/dovecot.conf base]: Could not evaluate: unknown error - Failed to initialize Augeas
Error: /Stage[main]/Dovecot::Auth/Dovecot::Config::Dovecotcfmulti[auth]/Augeas[dovecot /etc/dovecot/conf.d/10-auth.conf auth]: Could not evaluate: unknown error - Failed to initialize Augeas
Error: /Stage[main]/Dovecot::Master/Dovecot::Config::Dovecotcfsingle[service[ . = "auth-worker"]/user]/Augeas[dovecot /etc/dovecot/conf.d/10-master.conf service[ . = "auth-worker"]/user]: Could not evaluate: unknown error - Failed to initialize Augeas
The text was updated successfully, but these errors were encountered: