blob: 8f04c5a8b4d2e29634fffe73a49363a885f5a341 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
class django_application {
package { ['python-django','python-psycopg2','python-django-auth-ldap']:
ensure => installed
}
file { "custom_backend.py":
path => "/usr/local/lib/custom_backend.py",
ensure => present,
owner => root,
group => root,
mode => 644,
source => "puppet:///modules/django_application/custom_backend.py",
notify => Service['apache']
}
}
|