/[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 378 by misc, Mon Nov 22 02:04:06 2010 UTC revision 614 by misc, Wed Dec 15 01:39:30 2010 UTC
# Line 1  Line 1 
1  class transifex {  class transifex {
2    package { 'transifex':    package { ['transifex','python-psycopg2']:
3      ensure => installed      ensure => installed
4    }    }
5    
6    $password = extlookup("transifex_password",'x')    $password = extlookup("transifex_password",'x')
7    
8      @@postgresql::user { 'transifex':
9            password => $password,
10      }
11    
12      @@postgresql::database { 'transifex':
13            description => "Transifex database",
14            user => "transifex",
15            require => Postgresql::User['transifex']
16      }
17    
18    file { "20-engines.conf":    file { "20-engines.conf":
19      path => "/etc/transifex/20-engines.conf",      path => "/etc/transifex/20-engines.conf",
20      ensure => present,      ensure => present,
21      owner => root,      owner => root,
22      group => apache,      group => apache,
23      mode => 640,      mode => 640,
24      content => template("transifex/20-engines.conf")      content => template("transifex/20-engines.conf"),
25        require => Package['transifex']
26    }    }
27    
28    file { "30-site.conf":    file { "30-site.conf":
# Line 19  class transifex { Line 31  class transifex {
31      owner => root,      owner => root,
32      group => root,      group => root,
33      mode => 644,      mode => 644,
34      content => template("transifex/30-site.conf")      content => template("transifex/30-site.conf"),
35        require => Package['transifex']
36    }    }
37    
38  #  apache::vhost_django_app { "transifex.$domain":  #  apache::vhost_django_app { "transifex.$domain":

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

  ViewVC Help
Powered by ViewVC 1.1.30