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/","/etc/sympa/data_sources/"]: |
file { ["/etc/sympa/lists_xml/", |
79 |
|
"/etc/sympa/data_sources/", |
80 |
|
"/etc/sympa/search_filters/"]: |
81 |
ensure => directory, |
ensure => directory, |
82 |
owner => root, |
owner => root, |
83 |
group => root, |
group => root, |
84 |
mode => 755, |
mode => 755, |
85 |
} |
} |
86 |
|
|
87 |
|
define ldap_search_filter { |
88 |
|
file { "/etc/sympa/search_filters/ldap-$name.ldap": |
89 |
|
ensure => present, |
90 |
|
owner => root, |
91 |
|
group => root, |
92 |
|
mode => 755, |
93 |
|
content => template('sympa/group.ldap') |
94 |
|
} |
95 |
|
} |
96 |
|
|
97 |
define ldap_group_datasource { |
define ldap_group_datasource { |
98 |
file { "/etc/sympa/data_sources/ldap-$name.incl": |
file { "/etc/sympa/data_sources/ldap-$name.incl": |
99 |
ensure => present, |
ensure => present, |
109 |
ldap_group_datasource { "mga-sysadm": } |
ldap_group_datasource { "mga-sysadm": } |
110 |
ldap_group_datasource { "mga-ml_moderators": } |
ldap_group_datasource { "mga-ml_moderators": } |
111 |
|
|
112 |
|
ldap_search_filter { "mga-board": } |
113 |
|
|
114 |
# directory that will hold the list data |
# directory that will hold the list data |
115 |
# i am not sure of the name ( misc, 09/12/10 ) |
# i am not sure of the name ( misc, 09/12/10 ) |
116 |
file { "/var/lib/sympa/expl/": |
file { "/var/lib/sympa/expl/": |