diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2010-08-08 14:24:16 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2010-08-08 14:24:16 -0300 |
commit | 82c3be1f0df3daca9a4dde6e2ec3da645da18b7a (patch) | |
tree | 9cda5a2b6a45bb99431e93f66ab1a07818f819cb | |
parent | 974b129713a307674d5a847d71ea44069919dab7 (diff) | |
download | puppet-mail-82c3be1f0df3daca9a4dde6e2ec3da645da18b7a.tar.gz puppet-mail-82c3be1f0df3daca9a4dde6e2ec3da645da18b7a.tar.bz2 |
Correct ownership for sql cf files
-rw-r--r-- | manifests/postfixadmin.pp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/manifests/postfixadmin.pp b/manifests/postfixadmin.pp index f2eeb77..8cbcf54 100644 --- a/manifests/postfixadmin.pp +++ b/manifests/postfixadmin.pp @@ -32,14 +32,14 @@ class mail::postfixadmin { # file { "/etc/postfix/sql": ensure => directory, - owner => root, + owner => postfix, group => root, mode => 0755, } file { "/etc/postfix/sql/mysql_virtual_domains_maps.cf": ensure => present, - owner => root, + owner => postfix, mode => 0600, content => template('mail/postfix/sql/mysql_virtual_domains_maps.cf.erb'), require => File['/etc/postfix/sql'], @@ -47,7 +47,7 @@ class mail::postfixadmin { file { "/etc/postfix/sql/mysql_virtual_alias_maps.cf": ensure => present, - owner => root, + owner => postfix, mode => 0600, content => template('mail/postfix/sql/mysql_virtual_alias_maps.cf.erb'), require => File['/etc/postfix/sql'], @@ -55,7 +55,7 @@ class mail::postfixadmin { file { "/etc/postfix/sql/mysql_virtual_alias_domain_maps.cf": ensure => present, - owner => root, + owner => postfix, mode => 0600, content => template('mail/postfix/sql/mysql_virtual_alias_domain_maps.cf.erb'), require => File['/etc/postfix/sql'], @@ -63,7 +63,7 @@ class mail::postfixadmin { file { "/etc/postfix/sql/mysql_virtual_alias_domain_catchall_maps.cf": ensure => present, - owner => root, + owner => postfix, mode => 0600, content => template('mail/postfix/sql/mysql_virtual_alias_domain_catchall_maps.cf.erb'), require => File['/etc/postfix/sql'], @@ -71,7 +71,7 @@ class mail::postfixadmin { file { "/etc/postfix/sql/mysql_virtual_mailbox_maps.cf": ensure => present, - owner => root, + owner => postfix, mode => 0600, content => template('mail/postfix/sql/mysql_virtual_mailbox_maps.cf.erb'), require => File['/etc/postfix/sql'], @@ -79,7 +79,7 @@ class mail::postfixadmin { file { "/etc/postfix/sql/mysql_virtual_alias_domain_mailbox_maps.cf": ensure => present, - owner => root, + owner => postfix, mode => 0600, content => template('mail/postfix/sql/mysql_virtual_alias_domain_mailbox_maps.cf.erb'), require => File['/etc/postfix/sql'], @@ -101,7 +101,7 @@ class mail::postfixadmin { # #file { "/etc/postfix/mysql_virtual_mailbox_limit_maps.cf": # ensure => present, - # owner => root, + # owner => postfix, # mode => 0600, # content => template('mail/postfix/sql/mysql_virtual_mailbox_limit_maps.cf.erb'), # require => File['/etc/postfix/sql'], |