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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1211 by misc, Thu Feb 24 18:52:53 2011 UTC revision 1212 by misc, Fri Feb 25 18:25:52 2011 UTC
# Line 39  class django_application { Line 39  class django_application {
39          }          }
40      }      }
41    
42      define add_permission_to_group($path,$module,$group) {      define add_permission_to_group($path,$module,$group, $app='') {
43          exec { "/usr/local/bin/django_add_permission_to_group.py $group $name":          exec { "/usr/local/bin/django_add_permission_to_group.py $group $name $app":
44              user => root,              user => root,
45              environment => ["DJANGO_SETTINGS_MODULE=$module.settings",              environment => ["DJANGO_SETTINGS_MODULE=$module.settings",
46                              "PYTHONPATH=$path" ],                              "PYTHONPATH=$path" ],

Legend:
Removed from v.1211  
changed lines
  Added in v.1212

  ViewVC Help
Powered by ViewVC 1.1.30