aboutsummaryrefslogtreecommitdiffstats
path: root/modules/django_application/manifests/create_group.pp
blob: 1931205f2e7dfe4ab53681104b9279a9a68a7173 (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']
    }
}