wiki: Use 'python -m' when installing moin packages
Needed for gwikis collab/patch.d/config.multiconfig.py.patch
This commit is contained in:
parent
0a4798d619
commit
b9879bf45b
1 changed files with 1 additions and 1 deletions
|
@ -480,7 +480,7 @@ define wiki::collab::package($source, $config="/srv/wikis/collab/wikis/collab/co
|
||||||
user => "collab",
|
user => "collab",
|
||||||
path => "/bin:/usr/bin:/sbin:/usr/sbin",
|
path => "/bin:/usr/bin:/sbin:/usr/sbin",
|
||||||
environment => "PYTHONPATH=${config}",
|
environment => "PYTHONPATH=${config}",
|
||||||
command => "/bin/sh -c 'umask 007; python ${::pythonsitedir}/MoinMoin/packages.py -u collab i /usr/local/src/${name}'",
|
command => "/bin/sh -c 'umask 007; python -m MoinMoin.packages -u collab i /usr/local/src/${name}'",
|
||||||
refreshonly => true,
|
refreshonly => true,
|
||||||
require => Exec["collab-account-create -f -r collab"]
|
require => Exec["collab-account-create -f -r collab"]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue