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