aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'manifests')
-rw-r--r--manifests/classes/postfix.pp4
1 files changed, 4 insertions, 0 deletions
diff --git a/manifests/classes/postfix.pp b/manifests/classes/postfix.pp
index fa2c249..bf1b8f8 100644
--- a/manifests/classes/postfix.pp
+++ b/manifests/classes/postfix.pp
@@ -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"],