-
-
Notifications
You must be signed in to change notification settings - Fork 174
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
Module fails with blank mydestination on a satellite #339
Comments
|
@kenyon I read that section several times before submitting the bug report. I do not see how that can be inferred from the text. I have found this example in their documentation which shows Maybe I'm confused exactly what this module means by |
I also use this module to configure postfix in satellite mode. I leave puppet-postfix/manifests/satellite.pp Lines 34 to 37 in f51bf0e
root_mail_recipient as shown in the example at https://github.com/voxpupuli/puppet-postfix/blob/master/REFERENCE.md#configure-postfix-as-satellite.
I guess if you want to do it differently, a patch may be needed. |
@kenyon thanks for the pointer to Reference.md, that has more detail than is showing on puppet forge. Reading that, satellite is not what I want, I should configure I do still think it's a bug that it fails with |
Hmm, mta has the same issue https://github.com/voxpupuli/puppet-postfix/blob/master/manifests/mta.pp#L16 |
Looking at my configs I am using this in my common.yaml: postfix::mydestination: 'blank'
postfix::mta: true
postfix::relayhost: '[mail.OMIT]' This is what forces all Postfix mail through my site's relay host. The relay host then is responsible for sending mail: postfix::mta: true
postfix::relayhost: 'direct'
postfix::mydestination: 'pcre:/etc/postfix/hpc_hosts.pcre' |
@treydock That is basically the workaround I'm using: postfix::mydestination: '-' and just proves my point. Postfix allows for and recommends using an empty Thanks. Jeff |
+1 |
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
This should be a minimal configuration that will recreate the issue.
What are you seeing
What behaviour did you expect instead
Setting
$mydestination
to an empty value w/o a puppet Evaluation ErrorOutput log
See above
Any additional information you'd like to impart
I'm trying to configure a satellite relay with no local delivery, hence setting
mydestination
to an empty string. This causes the pick() command to fail as I have not specifiedsatellite::mydestination
. It seems that this is not a good use of pick.The text was updated successfully, but these errors were encountered: