diff options
Diffstat (limited to 'modules/django_application/manifests/init.pp')
-rw-r--r-- | modules/django_application/manifests/init.pp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/django_application/manifests/init.pp b/modules/django_application/manifests/init.pp index d8bedbef..ae7e7cbc 100644 --- a/modules/django_application/manifests/init.pp +++ b/modules/django_application/manifests/init.pp @@ -39,8 +39,8 @@ class django_application { } } - define add_permission_to_group($path,$module,$group) { - exec { "/usr/local/bin/django_add_permission_to_group.py $group $name": + define add_permission_to_group($path,$module,$group, $app='') { + exec { "/usr/local/bin/django_add_permission_to_group.py $group $name $app": user => root, environment => ["DJANGO_SETTINGS_MODULE=$module.settings", "PYTHONPATH=$path" ], |