75 |
source => "svn://svn.mageia.org/svn/web/templates/sympa/trunk" |
source => "svn://svn.mageia.org/svn/web/templates/sympa/trunk" |
76 |
} |
} |
77 |
|
|
78 |
file { "/etc/sympa/lists_xml/": |
file { ["/etc/sympa/lists_xml/","/etc/sympa/data_sources/"]: |
79 |
ensure => directory, |
ensure => directory, |
80 |
owner => root, |
owner => root, |
81 |
group => root, |
group => root, |
82 |
mode => 755, |
mode => 755, |
83 |
} |
} |
84 |
|
|
85 |
|
define ldap_group_datasource { |
86 |
|
file { "/etc/sympa/data_sources/ldap-$name.incl": |
87 |
|
ensure => present, |
88 |
|
owner => root, |
89 |
|
group => root, |
90 |
|
mode => 755, |
91 |
|
content => template('sympa/ldap_group.incl') |
92 |
|
} |
93 |
|
} |
94 |
|
# add each group that could be used in a sympa ml either as |
95 |
|
# - owner |
96 |
|
# - editor ( moderation ) |
97 |
|
ldap_group_datasource { "mga-sysadm": } |
98 |
|
ldap_group_datasource { "mga-ml_moderators": } |
99 |
|
|
100 |
# directory that will hold the list data |
# directory that will hold the list data |
101 |
# i am not sure of the name ( misc, 09/12/10 ) |
# i am not sure of the name ( misc, 09/12/10 ) |
102 |
file { "/var/lib/sympa/expl/": |
file { "/var/lib/sympa/expl/": |