Puppet Class: sendmail::domaintable::file

Defined in:
manifests/domaintable/file.pp

Summary

Manage the Sendmail domaintable db file.

Overview

Examples:

class { 'sendmail::domaintable::file': }

Parameters:

  • content (Optional[String]) (defaults to: undef)

    The content of the file resource.

  • source (Optional[String]) (defaults to: undef)

    The source of the file resource.



11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# File 'manifests/domaintable/file.pp', line 11

class sendmail::domaintable::file (
  Optional[String] $content = undef,
  Optional[String] $source  = undef,
) {
  include sendmail::params
  include sendmail::makeall

  file { $sendmail::params::domaintable_file:
    ensure  => file,
    content => $content,
    source  => $source,
    owner   => $sendmail::params::sendmail_user,
    group   => $sendmail::params::sendmail_group,
    mode    => '0640',
    notify  => Class['sendmail::makeall'],
  }
}