[Mageia-sysadm] [588] create the scenari for subscription ( web only )
root at mageia.org
root at mageia.org
Tue Dec 14 00:55:08 CET 2010
Revision: 588
Author: misc
Date: 2010-12-14 00:55:08 +0100 (Tue, 14 Dec 2010)
Log Message:
-----------
create the scenari for subscription ( web only )
Modified Paths:
--------------
puppet/modules/sympa/manifests/init.pp
Added Paths:
-----------
puppet/modules/sympa/files/
puppet/modules/sympa/files/scenari/
puppet/modules/sympa/files/scenari/open_web_only_notify
Added: puppet/modules/sympa/files/scenari/open_web_only_notify
===================================================================
--- puppet/modules/sympa/files/scenari/open_web_only_notify (rev 0)
+++ puppet/modules/sympa/files/scenari/open_web_only_notify 2010-12-13 23:55:08 UTC (rev 588)
@@ -0,0 +1,6 @@
+title.gettext anyone on the web, notification is sent to list owner
+
+# do not notify if it is just an update
+is_subscriber([listname],[sender]) smtp,smime,md5 -> do_it
+true() md5 -> do_it,notify
+
Modified: puppet/modules/sympa/manifests/init.pp
===================================================================
--- puppet/modules/sympa/manifests/init.pp 2010-12-13 23:55:07 UTC (rev 587)
+++ puppet/modules/sympa/manifests/init.pp 2010-12-13 23:55:08 UTC (rev 588)
@@ -85,6 +85,15 @@
mode => 755,
}
+ file { ["/etc/sympa/scenari/subscribe.open_web_only_notify",
+ "/etc/sympa/scenari/unsubscribe.open_web_only_notify"]:
+ ensure => present,
+ owner => root,
+ group => root,
+ mode => 755,
+ source => "puppet:///modules/sympa/scenari/open_web_only_notify",
+ }
+
define ldap_search_filter {
file { "/etc/sympa/search_filters/ldap-$name.ldap":
ensure => present,
@@ -206,7 +215,6 @@
reply_to => $reply_to,
sender_ldap_group => $sender_ldap_group,
}
-
}
@@ -282,6 +290,5 @@
public_archive => false,
}
}
-
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20101214/86813f56/attachment.html>
More information about the Mageia-sysadm
mailing list