aboutsummaryrefslogtreecommitdiff
path: root/manifests/utils/network/mail.pp
blob: 281ced105ccbf4bba0db208d5de49cac187fa0b2 (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
class nodo::utils::network::mail (
  $ensure = 'installed',
) {
  # Mail
  package { [
    'mutt',
    'mutt-patched',
    'muttprofile',
    'notmuch-mutt',
    'offlineimap',
    'bogofilter',
    'fetchmail',
    'procmail',
    'msmtp',
  ]:
    ensure => $ensure,
  }

  # Fix: ensure that fetchmail is not a service
  service { 'fetchmail':
    ensure  => stopped,
    enable  => false,
    require => Package['fetchmail'],
  }
}