Puppet Class: sendmail::authinfo::file

Defined in:
manifests/authinfo/file.pp

Summary

Create the Sendmail authinfo db file.

Overview

Examples:

class { 'sendmail::authinfo::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/authinfo/file.pp', line 11

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

  file { $sendmail::params::authinfo_file:
    ensure  => file,
    content => $content,
    source  => $source,
    owner   => 'root',
    group   => $sendmail::params::sendmail_group,
    mode    => '0600',
    notify  => Class['sendmail::makeall'],
  }
}