/[adm]/puppet/modules/django_application/manifests/init.pp
ViewVC logotype

Contents of /puppet/modules/django_application/manifests/init.pp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2679 - (show annotations) (download)
Sat Mar 24 15:27:19 2012 UTC (9 years, 4 months ago) by misc
File size: 637 byte(s)
split and clean the django_application module
1 # this class hold the common stuff for all django applications
2 # as we cannot declare the same ressource twice ( ie,
3 # python-psycopg2 for example )
4 # it is required to place this in a common class
5 class django_application {
6 package {['python-django',
7 'python-psycopg2',
8 'python-django-auth-ldap']: }
9
10 file { '/usr/local/lib/custom_backend.py':
11 source => 'puppet:///modules/django_application/custom_backend.py',
12 notify => Service['apache']
13 }
14
15 django_application::script { ['django_create_group.py',
16 'django_add_permission_to_group.py']: }
17
18 }

  ViewVC Help
Powered by ViewVC 1.1.28