summaryrefslogtreecommitdiff
path: root/manifests/packages.pp
blob: 548b8336d5436f26e0d6253d6ae493fe1712dddc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
class mail::packages {
  # The needed packages
  package { [ 'postgrey', 'amavisd-new', 'spamassassin', 'spamc', 'pflogsumm' ]:
    ensure => installed,
  }

  package { [ 'clamav-base', 'clamav-daemon', 'clamav-freshclam' ]:
    ensure => installed,
  }
}

class mail::packages::virtual {
  package { [ 'libpam-mysql', 'libgsasl7' ]:
    ensure => installed,
  }

  package { [ 'postfix-mysql', 'dovecot-imapd', 'maildrop' ]:
    ensure => installed,
  }

  package { [ 'squirrelmail', 'squirrelmail-locales', 'imp4' ]:
    ensure => installed,
  } 

  package { 'php-crypt-gpg':
    ensure => installed,
  }

  # Squeeze (or newer) packages
  if $lsbdistcodename != 'lenny' {
    package { [ 'roundcube', 'roundcube-sqlite', 'roundcube-plugins', 'roundcube-plugins-extra' ]:
      ensure => latest,
    } 
  }

  # We'll force SSL through the proxy
  package { 'squirrelmail-secure-login':
    ensure => absent,
  }
}

class mail::packages::sympa {
  package { 'sympa':
    ensure => installed,
  } 
}

class mail::packages::schleuder {
  package { 'schleuder':
    ensure => installed,
  } 
}

class mail::packages::mlmmj {
  package { 'mlmmj':
    ensure => installed,
  } 
}

class mail::packages::firma {
  package { 'expect':
    ensure => installed,
  } 
}