/[adm]/puppet/modules/sympa/manifests/init.pp
ViewVC logotype

Diff of /puppet/modules/sympa/manifests/init.pp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 574 by misc, Fri Dec 10 20:17:40 2010 UTC revision 576 by misc, Fri Dec 10 20:17:43 2010 UTC
# Line 75  class sympa { Line 75  class sympa {
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,
# Line 97  class sympa { Line 109  class sympa {
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/":

Legend:
Removed from v.574  
changed lines
  Added in v.576

  ViewVC Help
Powered by ViewVC 1.1.30