Fixed group permissions in hastymail module

This commit is contained in:
Ossi Salmi 2011-01-11 17:03:09 +02:00 committed by Timo Mkinen
parent 031eb802bd
commit 44808208b4

View file

@ -19,7 +19,10 @@ class hastymail {
ensure => directory,
mode => 0750,
owner => root,
group => "www-data",
group => $operatingsystem ? {
ubuntu => "www-data",
default => "httpsd",
},
}
file { "/etc/hastymail2/hastymail2.conf":
ensure => present,
@ -27,7 +30,10 @@ class hastymail {
"puppet:///files/mail/hastymail2.conf", ],
mode => 0640,
owner => root,
group => "www-data",
group => $operatingsystem ? {
ubuntu => "www-data",
default => "httpsd",
},
require => File["/etc/hastymail2"],
}
exec { "rm /etc/hastymail2/hastymail2.rc && php /usr/local/share/hastymail/install_scripts/install_config.php /etc/hastymail2/hastymail2.conf /etc/hastymail2/hastymail2.rc":
@ -41,7 +47,10 @@ class hastymail {
ensure => present,
mode => 0640,
owner => root,
group => "www-data",
group => $operatingsystem ? {
ubuntu => "www-data",
default => "httpsd",
},
}
}