[Mageia-sysadm] [690] - disable list creation request by the web interface, as this would bypass puppet

root at mageia.org root at mageia.org
Fri Jan 7 03:15:53 CET 2011


Revision: 690
Author:   misc
Date:     2011-01-07 03:15:53 +0100 (Fri, 07 Jan 2011)
Log Message:
-----------
- disable list creation request by the web interface, as this would bypass puppet
completly

Modified Paths:
--------------
    puppet/modules/sympa/manifests/init.pp
    puppet/modules/sympa/templates/sympa.conf

Added Paths:
-----------
    puppet/modules/sympa/files/scenari/forbidden

Added: puppet/modules/sympa/files/scenari/forbidden
===================================================================
--- puppet/modules/sympa/files/scenari/forbidden	                        (rev 0)
+++ puppet/modules/sympa/files/scenari/forbidden	2011-01-07 02:15:53 UTC (rev 690)
@@ -0,0 +1,2 @@
+title nobody
+true()                         smtp,md5,smime -> reject

Modified: puppet/modules/sympa/manifests/init.pp
===================================================================
--- puppet/modules/sympa/manifests/init.pp	2011-01-07 01:58:33 UTC (rev 689)
+++ puppet/modules/sympa/manifests/init.pp	2011-01-07 02:15:53 UTC (rev 690)
@@ -105,6 +105,15 @@
             source => "puppet:///modules/sympa/scenari/subscriber_moderated",
         }
 
+        file { ["/etc/sympa/scenari/create_list.forbidden"]:
+            ensure => present,
+            owner => root,
+            group => root,
+            mode => 755,
+            source => "puppet:///modules/sympa/scenari/forbidden",
+        }
+
+
         file { ["/etc/sympa/topics.conf"]:
             ensure => present,
             owner => root,

Modified: puppet/modules/sympa/templates/sympa.conf
===================================================================
--- puppet/modules/sympa/templates/sympa.conf	2011-01-07 01:58:33 UTC (rev 689)
+++ puppet/modules/sympa/templates/sympa.conf	2011-01-07 02:15:53 UTC (rev 690)
@@ -98,7 +98,7 @@
 
 ## Who is able to create lists
 ## This parameter is a scenario, check sympa documentation about scenarios if you want to define one
-create_list     public_listmaster
+create_list     forbidden
 
 edit_list       owner
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20110107/63ae946f/attachment.html>


More information about the Mageia-sysadm mailing list