/[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 378 by misc, Mon Nov 22 02:04:06 2010 UTC revision 529 by misc, Tue Dec 7 02:40:28 2010 UTC
# Line 9  class sympa { Line 9  class sympa {
9      $password = extlookup("sympa_password",'x')      $password = extlookup("sympa_password",'x')
10      $ldappass = extlookup("sympa_ldap",'x')      $ldappass = extlookup("sympa_ldap",'x')
11    
12        @@postgresql::user { 'sympa':
13            password => $password,
14        }
15    
16      file { '/etc/sympa/sympa.conf':      file { '/etc/sympa/sympa.conf':
17          ensure => present,          ensure => present,
18          # should be cleaner to have it root owned, but puppet do not support acl          # should be cleaner to have it root owned, but puppet do not support acl
# Line 33  class sympa { Line 37  class sympa {
37          webapp_file => "sympa/webapp_sympa.conf",          webapp_file => "sympa/webapp_sympa.conf",
38      }      }
39    
40     apache::vhost_other_app { "ml.$domain":      apache::vhost_other_app { "ml.$domain":
41          vhost_file => "sympa/vhost_ml.conf",          vhost_file => "sympa/vhost_ml.conf",
42     }      }
43    
44        @@postgresql::database { 'sympa':
45            description => "Sympa database",
46            user => "sympa",
47            require => Postgresql::User["sympa"]
48        }
49    
50    
51  }  }
52    

Legend:
Removed from v.378  
changed lines
  Added in v.529

  ViewVC Help
Powered by ViewVC 1.1.30