Puppet Class: postfix::augeas

Defined in:
manifests/augeas.pp

Summary

Provides augeas lenses for postfix files

Overview

This class provides the augeas lenses used by the postfix class



7
8
9
10
11
12
13
14
15
16
# File 'manifests/augeas.pp', line 7

class postfix::augeas {
  assert_private()

  $module_path = get_module_path($module_name)
  augeas::lens { 'postfix_canonical':
    ensure       => present,
    lens_content => file("${module_path}/files/lenses/postfix_canonical.aug"),
    test_content => file("${module_path}/files/lenses/test_postfix_canonical.aug"),
  }
}