/[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 613 by misc, Wed Dec 15 01:39:28 2010 UTC revision 617 by misc, Wed Dec 15 01:39:33 2010 UTC
# Line 4  class transifex { Line 4  class transifex {
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,
# Line 11  class transifex { Line 22  class transifex {
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']      require => Package['transifex'],
26        notify => Service['apache']
27    }    }
28    
29    file { "30-site.conf":    file { "30-site.conf":
# Line 21  class transifex { Line 33  class transifex {
33      group => root,      group => root,
34      mode => 644,      mode => 644,
35      content => template("transifex/30-site.conf"),      content => template("transifex/30-site.conf"),
36      require => Package['transifex']      require => Package['transifex'],
37        notify => Service['apache']
38      }
39    
40      file { "40-apps.conf":
41        path => "/etc/transifex/40-apps.conf",
42        ensure => present,
43        owner => root,
44        group => root,
45        mode => 644,
46        content => template("transifex/40-apps.conf"),
47        require => Package['transifex'],
48        notify => Service['apache']
49    }    }
50    
51  #  apache::vhost_django_app { "transifex.$domain":    apache::vhost_django_app { "transifex.$domain":
52  #    module => "transifex"      module => "transifex",
53  #  }        module_path => ["/usr/share/transifex","/usr/share"]
54      }  
55  }  }

Legend:
Removed from v.613  
changed lines
  Added in v.617

  ViewVC Help
Powered by ViewVC 1.1.30