1 |
dmorgan |
177 |
class transifex { |
2 |
|
|
package { 'transifex': |
3 |
|
|
ensure => installed |
4 |
|
|
} |
5 |
dmorgan |
240 |
|
6 |
misc |
378 |
$password = extlookup("transifex_password",'x') |
7 |
misc |
191 |
file { "20-engines.conf": |
8 |
dmorgan |
177 |
path => "/etc/transifex/20-engines.conf", |
9 |
|
|
ensure => present, |
10 |
|
|
owner => root, |
11 |
misc |
340 |
group => apache, |
12 |
|
|
mode => 640, |
13 |
misc |
455 |
content => template("transifex/20-engines.conf"), |
14 |
|
|
require => Package['transifex'] |
15 |
dmorgan |
177 |
} |
16 |
misc |
265 |
|
17 |
dmorgan |
295 |
file { "30-site.conf": |
18 |
|
|
path => "/etc/transifex/30-site.conf", |
19 |
|
|
ensure => present, |
20 |
|
|
owner => root, |
21 |
|
|
group => root, |
22 |
misc |
340 |
mode => 644, |
23 |
misc |
455 |
content => template("transifex/30-site.conf"), |
24 |
|
|
require => Package['transifex'] |
25 |
dmorgan |
295 |
} |
26 |
|
|
|
27 |
misc |
270 |
# apache::vhost_django_app { "transifex.$domain": |
28 |
|
|
# module => "transifex" |
29 |
|
|
# } |
30 |
dmorgan |
177 |
} |