diff options
author | Michael Scherer <misc@mageia.org> | 2011-03-22 15:17:58 +0000 |
---|---|---|
committer | Michael Scherer <misc@mageia.org> | 2011-03-22 15:17:58 +0000 |
commit | d09633a8bb68778d64ac5799a60b4f5e912d1892 (patch) | |
tree | c7211300f4d8bb097de8deaa78b31683fa1c9f5b /modules/postfix/manifests | |
parent | 5086281539f67e317ffd8bf833fb5f847beb662a (diff) | |
download | puppet-d09633a8bb68778d64ac5799a60b4f5e912d1892.tar puppet-d09633a8bb68778d64ac5799a60b4f5e912d1892.tar.gz puppet-d09633a8bb68778d64ac5799a60b4f5e912d1892.tar.bz2 puppet-d09633a8bb68778d64ac5799a60b4f5e912d1892.tar.xz puppet-d09633a8bb68778d64ac5799a60b4f5e912d1892.zip |
add aliases for the board, and for root
Diffstat (limited to 'modules/postfix/manifests')
-rw-r--r-- | modules/postfix/manifests/init.pp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/modules/postfix/manifests/init.pp b/modules/postfix/manifests/init.pp index 70dfe119..3f74a5e6 100644 --- a/modules/postfix/manifests/init.pp +++ b/modules/postfix/manifests/init.pp @@ -71,8 +71,22 @@ class postfix { mode => 644, content => template("postfix/ldap_aliases.conf"), } + + file { '/etc/postfix/virtual_aliases': + ensure => present, + owner => root, + group => root, + mode => 644, + content => template("postfix/virtual_aliases"), + } + + exec { "postmap /etc/postfix/virtual_aliases": + refreshonly => true, + subscribe => File['/etc/postfix/virtual_aliases'], + } } + class secondary_smtp inherits smtp_server { } |