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

Fix #90 by hard-restarting postfix on configuration changes #94

Closed
wants to merge 3 commits into from
Closed

Fix #90 by hard-restarting postfix on configuration changes #94

wants to merge 3 commits into from

Conversation

rauchrob
Copy link

This is probably the most straight-forward workaround for #90. If the postfix configuration changes, we will do a real restart (meaning stop and start, in general) instead of doing reload, which was the old behaviour.

This also introduces two basic Beaker acceptance tests, to prove it is working. I have successfully tested them with the ubuntu-14.04-x86_64-vagrant.yml nodeset. I also noticed that the centos-6-x86_64-vagrant.yml seems to be broken (it fails already on in the preparational steps of the beaker run).

@@ -0,0 +1 @@
ubuntu-14.04-x86_64-vagrant.yml
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

default.yml is not needed

@mcanevet
Copy link
Member

@rauchrob I suppose removing the restart_cmd from the Service[postfix] resource would do the same. I'm guess that we really want to only reload the service and not restart it.
Maybe the first run does not work because the exim service still runs when puppet tries to reload postfix.

@mcanevet
Copy link
Member

@rauchrob fixed by 5032358

@mcanevet mcanevet closed this Jun 22, 2015
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

Successfully merging this pull request may close these issues.

None yet

2 participants