Puppet Class: sendmail::domaintable::file

Defined in:
manifests/domaintable/file.pp

Overview

Class: sendmail::domaintable::file

Manage the Sendmail domaintable db file.

Parameters:

content

The content of the file resource.

source

The source of the file resource.

Requires:

Nothing.

Sample Usage:

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

Parameters:

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


22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# File 'manifests/domaintable/file.pp', line 22

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'],
  }
}