aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2010-11-10 21:54:59 +0100
committerintrigeri <intrigeri@boum.org>2010-11-10 21:55:43 +0100
commit78c5fbe9f2abf6dd0f15ff84d6e166022a1c016e (patch)
treef482c18bbb29bf9615353af063eedcecd393663c /manifests
parent127d2972fa0f6a7a971782b0b0b168a6d1b3725c (diff)
downloadpuppet-postfix-78c5fbe9f2abf6dd0f15ff84d6e166022a1c016e.tar.gz
puppet-postfix-78c5fbe9f2abf6dd0f15ff84d6e166022a1c016e.tar.bz2
mailx is a virtual package in Squeeze. Better install heirloom-mailx.
This one is a real package, available in Lenny and Squeeze.
Diffstat (limited to 'manifests')
-rw-r--r--manifests/classes/postfix.pp4
1 files changed, 4 insertions, 0 deletions
diff --git a/manifests/classes/postfix.pp b/manifests/classes/postfix.pp
index 5084fa6..038f155 100644
--- a/manifests/classes/postfix.pp
+++ b/manifests/classes/postfix.pp
@@ -64,6 +64,10 @@ class postfix {
ensure => installed
}
+ if $operatingsystem == 'debian' {
+ Package[mailx] { name => 'heirloom-mailx' }
+ }
+
service { "postfix":
ensure => running,
require => Package["postfix"],