aboutsummaryrefslogtreecommitdiffstats
path: root/modules/sympa
diff options
context:
space:
mode:
Diffstat (limited to 'modules/sympa')
-rw-r--r--modules/sympa/manifests/init.pp17
1 files changed, 16 insertions, 1 deletions
diff --git a/modules/sympa/manifests/init.pp b/modules/sympa/manifests/init.pp
index 008ef26b..ab88e42b 100644
--- a/modules/sympa/manifests/init.pp
+++ b/modules/sympa/manifests/init.pp
@@ -75,13 +75,28 @@ class sympa {
source => "svn://svn.mageia.org/svn/web/templates/sympa/trunk"
}
- file { "/etc/sympa/lists_xml/":
+ file { ["/etc/sympa/lists_xml/","/etc/sympa/data_sources/"]:
ensure => directory,
owner => root,
group => root,
mode => 755,
}
+ define ldap_group_datasource {
+ file { "/etc/sympa/data_sources/ldap-$name.incl":
+ ensure => present,
+ owner => root,
+ group => root,
+ mode => 755,
+ content => template('sympa/ldap_group.incl')
+ }
+ }
+ # add each group that could be used in a sympa ml either as
+ # - owner
+ # - editor ( moderation )
+ ldap_group_datasource { "mga-sysadm": }
+ ldap_group_datasource { "mga-ml_moderators": }
+
# directory that will hold the list data
# i am not sure of the name ( misc, 09/12/10 )
file { "/var/lib/sympa/expl/":