/[adm]/puppet/modules/sympa/manifests/init.pp
ViewVC logotype

Diff of /puppet/modules/sympa/manifests/init.pp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 643 by misc, Fri Dec 17 00:50:55 2010 UTC revision 644 by misc, Fri Dec 17 00:50:56 2010 UTC
# Line 173  class sympa { Line 173  class sympa {
173      define list($subject,      define list($subject,
174                  $profile = false,                  $profile = false,
175                  $language = 'en',                  $language = 'en',
176                    $topics = false,
177                  $reply_to = false,                  $reply_to = false,
178                  $sender_email = false,                  $sender_email = false,
179                  $sender_ldap_group = false,                  $sender_ldap_group = false,
# Line 232  class sympa { Line 233  class sympa {
233  #   various types of list that can be directly used  #   various types of list that can be directly used
234  #  #
235  #  #
236      define public_list($subject, $language = 'en') {      define public_list($subject, $language = 'en', $topics = false) {
237          list { $name:          list { $name:
238              subject => $subject,              subject => $subject,
239             # profile => "public",             # profile => "public",
# Line 242  class sympa { Line 243  class sympa {
243    
244      # list where announce are sent by member of ldap_group      # list where announce are sent by member of ldap_group
245      # reply_to is set to $reply_to      # reply_to is set to $reply_to
246      define announce_list_group($subject, $reply_to, $sender_ldap_group, $language = 'en') {      define announce_list_group($subject, $reply_to, $sender_ldap_group, $language = 'en', $topics = false) {
247          # profile + scenario          # profile + scenario
248          list{ $name:          list{ $name:
249              subject => $subject,              subject => $subject,
# Line 256  class sympa { Line 257  class sympa {
257    
258      # list where announce are sent by $email only      # list where announce are sent by $email only
259      # reply_to is set to $reply_to          # reply_to is set to $reply_to    
260      define announce_list_email($subject, $reply_to, $sender_email, $language = 'en') {      define announce_list_email($subject, $reply_to, $sender_email, $language = 'en', $topics = false) {
261         list{ $name:         list{ $name:
262              subject => $subject,              subject => $subject,
263              profile => "",              profile => "",
# Line 268  class sympa { Line 269  class sympa {
269    
270      # list where people cannot subscribe, where people from $ldap_group receive      # list where people cannot subscribe, where people from $ldap_group receive
271      # mail, with public archive      # mail, with public archive
272      define restricted_list($subject, $subscriber_ldap_group, $language = 'en') {      define restricted_list($subject, $subscriber_ldap_group, $language = 'en', $topics = false) {
273         list{ $name:         list{ $name:
274              subject => $subject,              subject => $subject,
275              profile => "",              profile => "",
# Line 279  class sympa { Line 280  class sympa {
280      }      }
281    
282      # same as restricted list, but anybody can post      # same as restricted list, but anybody can post
283      define restricted_list_open($subject, $subscriber_ldap_group, $language = 'en') {      define restricted_list_open($subject, $subscriber_ldap_group, $language = 'en', $topics = false) {
284         list{ $name:         list{ $name:
285              subject => $subject,              subject => $subject,
286              profile => "",              profile => "",
# Line 290  class sympa { Line 291  class sympa {
291      }      }
292    
293      # list with private archive, restricted to member of $ldap_group      # list with private archive, restricted to member of $ldap_group
294      define private_list($subject, $subscriber_ldap_group, $language ='en') {      define private_list($subject, $subscriber_ldap_group, $language ='en', $topics = false) {
295         list{ $name:         list{ $name:
296              subject => $subject,              subject => $subject,
297              profile => "",              profile => "",
# Line 304  class sympa { Line 305  class sympa {
305      # list with private archive, restricted to member of $ldap_group      # list with private archive, restricted to member of $ldap_group
306      # everybody can post      # everybody can post
307      # used for contact alias      # used for contact alias
308      define private_list_open($subject, $subscriber_ldap_group, $language ='en') {      define private_list_open($subject, $subscriber_ldap_group, $language ='en', $topics = false) {
309         list{ $name:         list{ $name:
310              subject => $subject,              subject => $subject,
311              profile => "",              profile => "",
# Line 316  class sympa { Line 317  class sympa {
317    
318      # same as private_list, but post are restricted to $email      # same as private_list, but post are restricted to $email
319      # ( scripting )      # ( scripting )
320      define private_list_email($subject, $subscriber_ldap_group, $sender_email, $language ='en') {      define private_list_email($subject, $subscriber_ldap_group, $sender_email, $language ='en', $topics = false) {
321          list{ $name:          list{ $name:
322              subject => $subject,              subject => $subject,
323              profile => "",              profile => "",

Legend:
Removed from v.643  
changed lines
  Added in v.644

  ViewVC Help
Powered by ViewVC 1.1.30