aboutsummaryrefslogtreecommitdiffstats
path: root/modules/django_application/manifests/create_group.pp
blob: 26a9a8116b006065d060f67cb8aae348a367ddce (plain)
1
2
3
4
5
6
7
8
9
10
define django_application::create_group($path, $module) {
    exec { "/usr/local/bin/django_create_group.py $name":
        user        => 'root',
        environment => ["DJANGO_SETTINGS_MODULE=$module.settings",
                        "PYTHONPATH=$path" ],
        require     => Django_application::Script['django_create_group.py']
    }
}