Commit 50323588 authored by Mickaël Canévet's avatar Mickaël Canévet
Browse files

Restart postfix instead of reload after package installation (Fixes #90)

parent e97da20a
class postfix::service {
exec { 'restart postfix after packages install':
command => regsubst($::postfix::params::restart_cmd, 'reload', 'restart'),
refreshonly => true,
subscribe => Package['postfix'],
require => Class['postfix::files'],
}
service { 'postfix':
ensure => running,
enable => true,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment