Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Lonlone Lee
base
Commits
a0f05978
Commit
a0f05978
authored
Aug 23, 2016
by
Karl Kornel
Browse files
postfix: Use base::postfix::sender
parent
ee4494ef
Changes
1
Hide whitespace changes
Inline
Side-by-side
manifests/postfix.pp
View file @
a0f05978
...
...
@@ -54,11 +54,16 @@ class base::postfix {
'/etc/postfix/recipients'
:
ensure
=>
present
;
'/etc/postfix/senders'
:
content
=>
"root@stanford.edu root@
${::hostname}
\n
"
;
ensure
=>
present
;
'/etc/postfix/transport'
:
source
=>
'puppet:///modules/base/postfix/etc/postfix/transport'
;
}
# Have mail from root@stanford.edu come from root at the local system
base::postfix::sender
{
'root@stanford.edu'
:
ensure
=>
"root@
${::hostname}
"
;
}
# We used to disable and stop sendmail here on Red Hat, but this doesn't
# work if sendmail is not installed. Since we'd rather not have sendmail
# installed, just assume that people are doing this manually.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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