Fixed group permissions in hastymail module
This commit is contained in:
parent
031eb802bd
commit
44808208b4
1 changed files with 12 additions and 3 deletions
|
@ -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",
|
||||
},
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue