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
77aa4172
Commit
77aa4172
authored
Jul 22, 2013
by
Raphaël Pinson
Browse files
Don't pass parameters to postfix::files, get them from postfix
parent
c9be1c57
Changes
2
Hide whitespace changes
Inline
Side-by-side
manifests/files.pp
View file @
77aa4172
class
postfix::files
(
$smtp_listen
,
$root_mail_recipient
,
$use_amavisd
,
$use_dovecot_lda
,
$use_schleuder
,
$use_sympa
,
$mail_user
,
$myorigin
,
$inet_interfaces
,
$master_smtp
,
$master_smtps
,
$master_submission
,
)
{
class
postfix::files
{
include
postfix::params
$inet_interfaces
=
$postfix::inet_interfaces
$mail_user
=
$postfix::mail_user
$master_smtp
=
$postfix::master_smtp
$master_smtps
=
$postfix::master_smtps
$master_submission
=
$postfix::master_submission
$myorigin
=
$postfix::myorigin
$root_mail_recipient
=
$postfix::root_mail_recipient
$smtp_listen
=
$postfix::smtp_listen
$use_amavisd
=
$postfix::use_amavisd
$use_dovecot_lda
=
$postfix::use_dovecot_lda
$use_schleuder
=
$postfix::use_schleuder
$use_sympa
=
$postfix::use_sympa
file
{
'/etc/mailname'
:
ensure
=>
present
,
content
=>
"
${::fqdn}
\n
"
,
...
...
manifests/init.pp
View file @
77aa4172
...
...
@@ -97,20 +97,7 @@ class postfix (
}
class
{
'postfix::packages'
:
}
->
class
{
'postfix::files'
:
inet_interfaces
=>
$inet_interfaces
,
mail_user
=>
$mail_user
,
master_smtp
=>
$master_smtp
,
master_smtps
=>
$master_smtps
,
master_submission
=>
$master_submission
,
myorigin
=>
$myorigin
,
root_mail_recipient
=>
$root_mail_recipient
,
smtp_listen
=>
$_smtp_listen
,
use_amavisd
=>
$use_amavisd
,
use_dovecot_lda
=>
$use_dovecot_lda
,
use_schleuder
=>
$use_schleuder
,
use_sympa
=>
$use_sympa
,
}
~>
class
{
'postfix::files'
:
}
~>
class
{
'postfix::service'
:
}
->
Class
[
'postfix'
]
...
...
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