Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Projets publics
Puppet Camptocamp Postfix
Commits
50323588
Commit
50323588
authored
Jun 22, 2015
by
Mickaël Canévet
Browse files
Restart postfix instead of reload after package installation (Fixes #90)
parent
e97da20a
Changes
1
Hide whitespace changes
Inline
Side-by-side
manifests/service.pp
View file @
50323588
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
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment