Commit ca0e5510 authored by Marc Fournier's avatar Marc Fournier
Browse files

force ownership/mode of {main,master}.cf

parent 3d31ddce
......@@ -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"],
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment