Defined Type: dovecot::file
- Defined in:
- manifests/file.pp
Summary
Simple file resource that notifies the dovecot service.Overview
20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 |
# File 'manifests/file.pp', line 20
define dovecot::file (
String $content,
Stdlib::Absolutepath $path,
Variant[Integer, String] $group = 0,
Variant[Integer, String] $mode = '0644',
Variant[Integer, String] $owner = 'root',
) {
file { "dovecot file ${title}":
path => $path,
owner => $owner,
group => $group,
mode => $mode,
content => $content,
require => Class['dovecot::install'],
notify => Class['dovecot::service'],
}
}
|