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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 281 - (hide annotations) (download)
Thu Nov 18 16:58:22 2010 UTC (13 years, 5 months ago) by boklm
File size: 1217 byte(s)
add vhost and webapp conf files
1 dmorgan 234 class sympa {
2    
3     $package_list = ['sympa', 'sympa-www']
4    
5     package { $package_list:
6     ensure => installed;
7     }
8    
9     $password = extlookup("sympa_password")
10 dmorgan 235 $ldappass = extlookup("sympa_ldap")
11 dmorgan 234
12     file { '/etc/sympa/sympa.conf':
13     ensure => present,
14     owner => root,
15     group => root,
16     mode => 644,
17     content => template("sympa/sympa.conf")
18     }
19    
20 dmorgan 235 file { '/etc/sympa/ldap_alias_manager.conf':
21     ensure => present,
22     owner => root,
23     group => root,
24     mode => 644,
25     content => template("sympa/ldap_alias_manager.conf")
26     }
27 dmorgan 239
28     file { '/etc/sympa/auth.conf':
29     ensure => present,
30     owner => root,
31     group => root,
32     mode => 644,
33     content => template("sympa/auth.conf")
34     }
35    
36     file { '/etc/sympa/ldap_alias_entry.tt2':
37     ensure => present,
38     owner => root,
39     group => root,
40     mode => 644,
41     content => template("sympa/ldap_alias_entry.tt2")
42     }
43 boklm 281
44     include apache::mod_fcgid
45     apache::webapp_other{"sympa":
46     webapp_file => "sympa/webapp_sympa.conf",
47     }
48    
49     apache::vhost_other_app { "ml.$domain":
50     vhost_file => "sympa/vhost_sympa.mageia.org.conf",
51     }
52 dmorgan 234 }
53    

  ViewVC Help
Powered by ViewVC 1.1.30