Puppet Class: mailhog::config

Defined in:
manifests/config.pp

Overview

Class to configure mailhog.



4
5
6
7
8
9
10
11
12
13
14
15
16
# File 'manifests/config.pp', line 4

class mailhog::config {
  file { 'mailhog-config':
    path    => $mailhog::config_file,
    content => template('mailhog/mailhog-config.erb'),
    mode    => '0644',
  }

  if $mailhog::manage_service {
    File['mailhog-config'] {
      notify  => Service['mailhog'],
    }
  }
}