Puppet Class: postfix

Defined in:
manifests/init.pp

Overview



1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# File 'manifests/init.pp', line 1

class postfix {
  package { 'postfix':
    ensure  => installed,
    before  => Exec['postfix'],
  }

  exec { 'postfix':
    command     => 'echo "postfix packages are installed"',
    path        => '/usr/sbin:/bin:/usr/bin:/sbin',
    logoutput   => true,
    refreshonly => true,
  }
  service { 'postfix':
    ensure  => 'running',
    require => Exec['postfix']
  }
}