Open pier4r opened 1 year ago
Did you enable either mta
or satellite
in class { 'postfix':
?
One of these must be set to true
(both are false
by default) for any actual setup to take place.
No I didn't, thank you (and sorry for the late answer).
In the meantime I found a workaround with configs => { mynetworks => { value => 'networks_here' }}
but apparently is the lesser way.
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
Simply try to use in your manifest
What are you seeing
The
mynetworks
value is not set in/etc/postfix/main.cf
What behaviour did you expect instead
That the
mynetworks
value would be set in/etc/postfix/main.cf
I achieved the result via
file_line
as follows:Output log
Any additional information you'd like to impart
Maybe
mynetworks
shouldn't be set viainit.pp
, but then why is the attribute there? How can I set the networks?