Defined Type: storm::webdav::drop_in_file

Defined in:
manifests/webdav/drop_in_file.pp

Summary

Use this define to inject one or more .conf files into `/etc/systemd/system/storm-webdav.service.d` directory.

Overview

Examples:

class { 'storm::webdav':
  # storm webdav parameters
}
storm::webdav::drop_in_file { 'override.conf':
  source => '/path/to/my/override.conf',
}

Parameters:

  • source (String)

    The source of file resource. It can be an absolute path or a Puppet module relative path.



15
16
17
18
19
20
21
22
23
24
25
26
27
# File 'manifests/webdav/drop_in_file.pp', line 15

define storm::webdav::drop_in_file (
  String $source,
) {
  file { "/etc/systemd/system/storm-webdav.service.d/${title}":
    ensure  => file,
    source  => $source,
    owner   => 'root',
    group   => 'root',
    mode    => '0644',
    require => [Class['storm::webdav::install']],
    notify  => [Service['storm-webdav']],
  }
}