aboutsummaryrefslogtreecommitdiffstats
path: root/modules/sympa/manifests/list/public_restricted.pp
blob: 5c3163682530e9132c4ebc9c0b9337add42b8c53 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# list where only people from the ldap_group can post, and where
# they are subscribed by default, but anybody else can subscribe
# to read and receive messages
define sympa::list::public_restricted($subject,
                                      $subscriber_ldap_group,
                                      $language = 'en',
                                      $topics = false) {
    list { $name:
        subject               => $subject,
        topics                => $topics,
        language              => $language,
        subscriber_ldap_group => $subscriber_ldap_group,
        sender_ldap_group     => $subscriber_ldap_group,
        subscription_open     => true,
        reply_to              => "${name}@${sympa::variable::vhost}",
    }
}