Defined Type: asterisk::feature
- Defined in:
- manifests/feature.pp
Summary
Configure an asterisk feature application map groupingOverview
This resource will define an application map grouping. It can be used to set dynamic features with the DYNAMIC_FEATURES variable: instead of listing all of the application maps that need to be enabled in DYNAMIC_FEATURES, you can use the name of a group to enable them all.
To configure global features, see the features_general
parameter to the main class, asterisk
.
TODO:
list specific options as params instead of using an options hash
29 30 31 32 33 34 35 36 37 38 39 40 41 |
# File 'manifests/feature.pp', line 29
define asterisk::feature (
Hash $options,
$ensure = present
) {
asterisk::dotd::file { "featuremap_group_${name}.conf":
ensure => $ensure,
dotd_dir => 'features.d',
content => template('asterisk/snippet/feature.erb'),
filename => "${name}.conf",
}
}
|