Skip to content
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

mynetworks parameter ignored? #88

Closed
mentalblock opened this issue Apr 14, 2015 · 1 comment
Closed

mynetworks parameter ignored? #88

mentalblock opened this issue Apr 14, 2015 · 1 comment

Comments

@mentalblock
Copy link

I haven't delved deeply into the puppet code itself, but I find that the $mynetworks parameter to the main class at https://github.com/camptocamp/puppet-postfix/blob/master/manifests/init.pp#L85 is ignored. I ended up having to specify the 'mynetworks' parameter as a postfix::config item instead. Anyone else having this problem?

I had this snippet in hiera:

postfix::myorigin: '$mydomain'
postfix::mynetworks: '10.90.0.0/16, 10.91.0.0/16, 127.0.0.0/8, 10.96.0.0/16'

The 'mynetworks' parameter was not being created yet the 'myorigin' parameter was.

@mcanevet
Copy link
Member

@mentalblock mynetwork is used here : https://github.com/camptocamp/puppet-postfix/blob/master/manifests/mta.pp#L51 which is included here : https://github.com/camptocamp/puppet-postfix/blob/master/manifests/init.pp#L152, so you have to set mta => true when declaring the postfix class

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants