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
ca0e5510
Commit
ca0e5510
authored
May 26, 2009
by
Marc Fournier
Browse files
force ownership/mode of {main,master}.cf
parent
3d31ddce
Changes
1
Hide whitespace changes
Inline
Side-by-side
manifests/classes/postfix.pp
View file @
ca0e5510
...
...
@@ -51,6 +51,8 @@ class postfix {
file
{
"/etc/postfix/master.cf"
:
ensure
=>
present
,
owner
=>
"root"
,
mode
=>
"0644"
,
content
=>
$operatingsystem
?
{
Redhat
=>
template
(
"postfix/master.cf.redhat5.erb"
),
Debian
=>
template
(
"postfix/master.cf.debian-etch.erb"
),
...
...
@@ -61,6 +63,8 @@ class postfix {
file
{
"/etc/postfix/main.cf"
:
ensure
=>
present
,
owner
=>
"root"
,
mode
=>
"0644"
,
source
=>
"puppet:///postfix/main.cf"
,
replace
=>
false
,
notify
=>
Service
[
"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