aboutsummaryrefslogtreecommitdiffstats
path: root/modules/sympa/manifests/public_restricted_list.pp
blob: fec079f7ad017090841b129d76c31d5ed6ad86f2 (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, ad where
# they are subscribed by default, but anybody else can subscribe
# to read and receive messages
define sympa::public_restricted_list( $subject,
                                      $subscriber_ldap_group,
                                      $language = 'en',
                                      $topics = false) {
    list { $name:
        subject               => $subject,
        profile               => '',
        topics                => $topics,
        language              => $language,
        subscriber_ldap_group => $subscriber_ldap_group,
        sender_ldap_group     => $subscriber_ldap_group,
        subscription_open     => true,
    }
}