From ca0e5510b8eed63dfdaf55936d395987d407fb7f Mon Sep 17 00:00:00 2001 From: Marc Fournier Date: Tue, 26 May 2009 12:52:54 +0200 Subject: force ownership/mode of {main,master}.cf --- manifests/classes/postfix.pp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'manifests/classes') 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"], -- cgit v1.2.3