forked from jiuka/puppet-postfix
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
Postfix doesn't reload when settings change #7
Comments
This sounds about right, nice catch. Looks like the relation is a left-over from the original project this module was forked from. |
There you go! |
Thanks @oxc! I appreciate the new release you made so I can start using it right away. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
First of all, thanks for this useful module!
I noticed postfix isn't reloaded or restarted after some settings have changed.
This is on Ubuntu 14.04 with Puppet 4.10 and Hiera 5.
Version 1.0.1 of the oxc-postfix module, configure via Hiera.
At first I though that perhaps service_manage was disabled, but according to Hiera lookup it definitely is 'true' and the restart_cmd is set correctly for Ubuntu.
The agent's debug logs shows there's a refresh event propagated but appears it's never acted upon.
Here's another example from
puppet agent -t
. Some obvious changes, but no reload.I haven't looked into this in detail yet, shouldn't the relationship between the postfix::config and postfix::service classes have a notify "~>" instead of a require "->"?
So in
init.pp
:should become:
Let me know what you think please?
The text was updated successfully, but these errors were encountered: