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

Contents of /puppet/modules/django_application/manifests/add_permission_to_group.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: 564 byte(s)
split and clean the django_application module
1 define django_application::add_permission_to_group( $path,
2 $module,
3 $group,
4 $app='') {
5 exec { "/usr/local/bin/django_add_permission_to_group.py $group $name $app":
6 user => 'root',
7 environment => ["DJANGO_SETTINGS_MODULE=$module.settings",
8 "PYTHONPATH=$path" ],
9 require => Django_application::Script['django_add_permission_to_group.py']
10 }
11 }
12

  ViewVC Help
Powered by ViewVC 1.1.28