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
No related branches found
No related tags found
No related merge requests found
...@@ -51,6 +51,8 @@ class postfix { ...@@ -51,6 +51,8 @@ class postfix {
file { "/etc/postfix/master.cf": file { "/etc/postfix/master.cf":
ensure => present, ensure => present,
owner => "root",
mode => "0644",
content => $operatingsystem ? { content => $operatingsystem ? {
Redhat => template("postfix/master.cf.redhat5.erb"), Redhat => template("postfix/master.cf.redhat5.erb"),
Debian => template("postfix/master.cf.debian-etch.erb"), Debian => template("postfix/master.cf.debian-etch.erb"),
...@@ -61,6 +63,8 @@ class postfix { ...@@ -61,6 +63,8 @@ class postfix {
file { "/etc/postfix/main.cf": file { "/etc/postfix/main.cf":
ensure => present, ensure => present,
owner => "root",
mode => "0644",
source => "puppet:///postfix/main.cf", source => "puppet:///postfix/main.cf",
replace => false, replace => false,
notify => Service["postfix"], notify => Service["postfix"],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment