1 |
class transifex { |
class transifex { |
2 |
|
include django_application |
3 |
package { ['transifex','python-psycopg2','python-django-auth-ldap']: |
package { 'transifex': |
4 |
ensure => installed |
ensure => installed |
5 |
} |
} |
6 |
|
|
74 |
notify => Service['apache'] |
notify => Service['apache'] |
75 |
} |
} |
76 |
|
|
|
file { "custom_backend.py": |
|
|
path => "/usr/local/lib/custom_backend.py", |
|
|
ensure => present, |
|
|
owner => root, |
|
|
group => root, |
|
|
mode => 644, |
|
|
source => "puppet:///modules/transifex/custom_backend.py", |
|
|
notify => Service['apache'] |
|
|
} |
|
|
|
|
77 |
subversion::snapshot { $templates_dir: |
subversion::snapshot { $templates_dir: |
78 |
source => "svn://svn.mageia.org/svn/web/templates/transifex/trunk" |
source => "svn://svn.mageia.org/svn/web/templates/transifex/trunk" |
79 |
} |
} |