29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# File 'manifests/voicemail.pp', line 29
define asterisk::voicemail (
String[1] $context,
Sensitive[String[1]] $password,
$ensure = present,
Optional[String[1]] $user_name = undef,
Optional[String[1]] $email = undef,
Optional[String[1]] $pager_email = undef,
Hash[String,String] $options = {}
) {
asterisk::dotd::file{ "${context}-${name}.conf":
ensure => $ensure,
content => template('asterisk/snippet/voicemail.erb'),
dotd_dir => 'voicemail.d',
}
}
|