Skip to content
Snippets Groups Projects
Commit ca0e5510 authored by Marc Fournier's avatar Marc Fournier
Browse files

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

parent 3d31ddce
Branches
Tags
No related merge requests found
......@@ -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"],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment