Defined Type: asterisk::feature::applicationmap

Defined in:
manifests/feature/applicationmap.pp

Summary

Configure a global application map feature

Overview

Parameters:

  • feature (String[1])

    Name of the feature.

  • value (String[1])

    Value given to the feature.

  • ensure (Any) (defaults to: present)

    Set to absent to remove the corresponding file.



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

define asterisk::feature::applicationmap (
  String[1] $feature,
  String[1] $value,
  $ensure = present
) {

  asterisk::dotd::file { "feature__applicationmap_${name}.conf":
    ensure   => $ensure,
    dotd_dir => 'features.applicationmap.d',
    content  => "${feature} => ${value}",
    filename => "${name}.conf",
  }

}