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
03b84c43
Commit
03b84c43
authored
Sep 05, 2017
by
Emmanuel Gelati
Committed by
Raphaël Pinson
Sep 20, 2017
Browse files
Added postfix::service_ensure and postfix::service_enabled
parent
17d9d6ee
Changes
2
Hide whitespace changes
Inline
Side-by-side
manifests/init.pp
View file @
03b84c43
...
...
@@ -108,6 +108,8 @@ class postfix (
Boolean
$
use_sympa
=
false
,
#
postfix_use_sympa
String
$
postfix_ensure
=
'present'
,
String
$
mailx_ensure
=
'present'
,
String
$
service_ensure
=
'running'
,
Boolean
$
service_enabled
=
true
,
)
inherits
postfix
::
params
{
$_smtp_listen = $mailman ? {
...
...
manifests/service.pp
View file @
03b84c43
...
...
@@ -6,8 +6,8 @@ class postfix::service {
require
=>
Class
[
'postfix::files'
],
}
service
{
'postfix'
:
ensure
=>
running
,
enable
=>
true
,
ensure
=>
$::postfix::service_ensure
,
enable
=>
$::postfix::service_enabled
,
hasstatus
=>
true
,
restart
=>
$::postfix::params::restart_cmd
,
}
...
...
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