aboutsummaryrefslogtreecommitdiffstats
path: root/modules/sympa/manifests/list/announce.pp
blob: 6d9858bf950d42e11c8a89ca735c8cee4660a131 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# list where announce are sent by $email or $ldap_group only
# reply_to is set to $reply_to
define sympa::list::announce($subject,
                                  $reply_to,
                                  $sender_email = false,
                                  $sender_ldap_group = false,
                                  $subscriber_ldap_group = false,
                                  $language = 'en',
                                  $topics = false) {
    list { $name:
        subject               => $subject,
        language              => $language,
        topics                => $topics,
        reply_to              => $reply_to,
        sender_email          => $sender_email,
        sender_ldap_group     => $sender_ldap_group,
        subscriber_ldap_group => $subscriber_ldap_group,
        critical              => $critical
    }
}