Skip to content

Commit

Permalink
added postfix reload and postmap virtual execs
Browse files Browse the repository at this point in the history
  • Loading branch information
dysinger committed Oct 16, 2008
1 parent a1b3a41 commit 1ecc12a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions modules/postfix/manifests/init.pp
@@ -1,5 +1,13 @@
class postfix {
portage::use { "postfix": category => "mail-mta", use => "sasl" }
package { "postfix": category => "mail-mta", before => Service["postfix"] }
exec { "postfix-reload":
command => "/usr/sbin/postfix reload", refreshonly => true
}
exec { "postmap-virt":
command => "/usr/sbin/postmap /etc/postfix/virtual",
refreshonly => true,
notify => Exec["postfix-reload"]
}
service { "postfix": enable => true, ensure => running }
}

0 comments on commit 1ecc12a

Please sign in to comment.