/[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 1183 - (show annotations) (download)
Wed Feb 23 16:47:14 2011 UTC (13 years, 1 month ago) by misc
File size: 634 byte(s)
add a comment about why this class is required
1 # this class hold the common stuff for all django applications
2 # as we cannot declare the same ressource twice ( ie, python-psycopg2 for example )
3 # it is required to place this in a common class
4 class django_application {
5 package { ['python-django','python-psycopg2','python-django-auth-ldap']:
6 ensure => installed
7 }
8
9 file { "custom_backend.py":
10 path => "/usr/local/lib/custom_backend.py",
11 ensure => present,
12 owner => root,
13 group => root,
14 mode => 644,
15 source => "puppet:///modules/django_application/custom_backend.py",
16 notify => Service['apache']
17 }
18 }

  ViewVC Help
Powered by ViewVC 1.1.30