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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2679 - (hide annotations) (download)
Sat Mar 24 15:27:19 2012 UTC (9 years, 6 months ago) by misc
File size: 637 byte(s)
split and clean the django_application module
1 misc 1183 # this class hold the common stuff for all django applications
2 misc 2679 # 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 misc 1141 class django_application {
6 misc 2679 package {['python-django',
7     'python-psycopg2',
8     'python-django-auth-ldap']: }
9 misc 1141
10 misc 2679 file { '/usr/local/lib/custom_backend.py':
11     source => 'puppet:///modules/django_application/custom_backend.py',
12 misc 1141 notify => Service['apache']
13     }
14 misc 1196
15 misc 2679 django_application::script { ['django_create_group.py',
16     'django_add_permission_to_group.py']: }
17 misc 1196
18 misc 1141 }

  ViewVC Help
Powered by ViewVC 1.1.28