/[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 615 by misc, Wed Dec 15 01:39:31 2010 UTC revision 618 by misc, Wed Dec 15 01:39:35 2010 UTC
# Line 1  Line 1 
1  class transifex {  class transifex {
2    package { ['transifex','python-psycopg2']:    
3      package { ['transifex','python-psycopg2','python-django-auth-ldap']:
4      ensure => installed      ensure => installed
5    }    }
6    
7    $password = extlookup("transifex_password",'x')    $password = extlookup("transifex_password",'x')
8      $ldap_password = extlookup("transifex_ldap",'x')
9    
10    @@postgresql::user { 'transifex':    @@postgresql::user { 'transifex':
11          password => $password,          password => $password,
# Line 37  class transifex { Line 39  class transifex {
39      notify => Service['apache']      notify => Service['apache']
40    }    }
41    
42  #  apache::vhost_django_app { "transifex.$domain":    file { "40-apps.conf":
43  #    module => "transifex"      path => "/etc/transifex/40-apps.conf",
44  #  }        ensure => present,
45        owner => root,
46        group => root,
47        mode => 644,
48        content => template("transifex/40-apps.conf"),
49        require => Package['transifex'],
50        notify => Service['apache']
51      }
52    
53      file { "45-ldap.conf":
54        path => "/etc/transifex/45-ldap.conf",
55        ensure => present,
56        owner => root,
57        group => root,
58        mode => 644,
59        content => template("transifex/45-ldap.conf"),
60        require => Package['transifex'],
61        notify => Service['apache']
62      }
63    
64      apache::vhost_django_app { "transifex.$domain":
65        module => "transifex",
66        module_path => ["/usr/share/transifex","/usr/share"]
67      }  
68  }  }

Legend:
Removed from v.615  
changed lines
  Added in v.618

  ViewVC Help
Powered by ViewVC 1.1.30