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

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

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

revision 624 by misc, Wed Dec 15 12:24:46 2010 UTC revision 628 by misc, Wed Dec 15 12:56:34 2010 UTC
# Line 7  class transifex { Line 7  class transifex {
7    $pgsql_password = extlookup("transifex_pgsql",'x')    $pgsql_password = extlookup("transifex_pgsql",'x')
8    $ldap_password = extlookup("transifex_ldap",'x')    $ldap_password = extlookup("transifex_ldap",'x')
9    
10      $templates_dir = "/var/lib/transifex/templates"
11    
12    @@postgresql::user { 'transifex':    @@postgresql::user { 'transifex':
13          password => $pgsql_password,          password => $pgsql_password,
14    }    }
# Line 61  class transifex { Line 63  class transifex {
63      notify => Service['apache']      notify => Service['apache']
64    }    }
65    
66      file { "50-apps.conf":
67        path => "/etc/transifex/50-apps.conf",
68        ensure => present,
69        owner => root,
70        group => root,
71        mode => 644,
72        content => template("transifex/50-apps.conf"),
73        require => Package['transifex'],
74        notify => Service['apache']
75      }
76    
77      svn::snapshot { $templates_dir:
78        source => "svn://svn.mageia.org/svn/web/templates/transifex/trunk"
79      }
80    
81    apache::vhost_django_app { "transifex.$domain":    apache::vhost_django_app { "transifex.$domain":
82      module => "transifex",      module => "transifex",
83      use_ssl => true,      use_ssl => true,

Legend:
Removed from v.624  
changed lines
  Added in v.628

  ViewVC Help
Powered by ViewVC 1.1.30