aboutsummaryrefslogtreecommitdiffstats
path: root/modules/sympa/manifests/list/public_restricted.pp
blob: fed13596d948e9c65610ec37367e8482cc914f04 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# 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,
    }
}