Unverified Commit 84a211ba authored by Ewoud Kohl van Wijngaarden's avatar Ewoud Kohl van Wijngaarden Committed by Tim Meusel
Browse files

Remove camptocamp/augeas dependency

This places the lenses in lib/augeas/lenses so Puppet automatically
loads them. This removes the need for the unmaintained camptocamp/augeas
module.
parent 194e18dc
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -12,7 +12,6 @@

#### Private Classes

* `postfix::augeas`: Provides augeas lenses for postfix files
* `postfix::files`: Manages the Postfix related files
* `postfix::ldap`: Provides the Postfix LDAP support
* `postfix::mailman`: Configure Postfix to work with mailman

manifests/augeas.pp

deleted100644 → 0
+0 −16
Original line number Diff line number Diff line
# @summary Provides augeas lenses for postfix files
#
# This class provides the augeas lenses used by the postfix class
#
# @api private
#
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"),
  }
}
+0 −1
Original line number Diff line number Diff line
@@ -43,7 +43,6 @@ define postfix::canonical (
  String[1]                $lookup_table_suffix = 'db',
) {
  include postfix
  include postfix::augeas

  $_file = pick($file, "${postfix::confdir}/canonical")

Loading