Puppet Class: classroom_legacy::agent::postfix_ipv4

Defined in:
manifests/agent/postfix_ipv4.pp

Overview



1
2
3
4
5
6
7
8
9
10
11
12
# File 'manifests/agent/postfix_ipv4.pp', line 1

class classroom_legacy::agent::postfix_ipv4 {
  package {'postfix':
    ensure => present,
  }
  # Set postfix main.cf to only use ipv4
  augeas { 'postfix inet_protocols':
    context => '/files/etc/postfix/main.cf',
    changes => [
      'set /files/etc/postfix/main.cf/inet_protocols ipv4'
    ],
  }
}