Defined Type: asterisk::dotd::nullfile

Defined in:
manifests/dotd/nullfile.pp

Summary

Create a file in .d directories to avoid service start issues

Overview

The name of the resouce should be the path to create the file in.

This defined type is not intended to be used directly.



9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# File 'manifests/dotd/nullfile.pp', line 9

define asterisk::dotd::nullfile () {
  assert_private()

  include asterisk::install
  include asterisk::service

  file { "${name}/null.conf":
    ensure  => present,
    owner   => 'root',
    group   => 'asterisk',
    mode    => '0640',
    require => Class['asterisk::install'],
    notify  => Class['asterisk::service'],
  }
}