74 |
notify => Service['apache'] |
notify => Service['apache'] |
75 |
} |
} |
76 |
|
|
77 |
|
file { "custom_backend.py": |
78 |
|
path => "/usr/local/lib/custom_backend.py", |
79 |
|
ensure => present, |
80 |
|
owner => root, |
81 |
|
group => root, |
82 |
|
mode => 644, |
83 |
|
source => "puppet:///modules/transifex/custom_backend.py", |
84 |
|
notify => Service['apache'] |
85 |
|
} |
86 |
|
|
87 |
subversion::snapshot { $templates_dir: |
subversion::snapshot { $templates_dir: |
88 |
source => "svn://svn.mageia.org/svn/web/templates/transifex/trunk" |
source => "svn://svn.mageia.org/svn/web/templates/transifex/trunk" |
89 |
} |
} |
91 |
apache::vhost_django_app { "transifex.$domain": |
apache::vhost_django_app { "transifex.$domain": |
92 |
module => "transifex", |
module => "transifex", |
93 |
use_ssl => true, |
use_ssl => true, |
94 |
module_path => ["/usr/share/transifex","/usr/share"] |
module_path => ["/usr/share/transifex","/usr/share","/usr/local/lib/"] |
95 |
} |
} |
96 |
|
|
97 |
apache::vhost_redirect_ssl { "transifex.$domain": } |
apache::vhost_redirect_ssl { "transifex.$domain": } |