python: Set umask for pip install command
This commit is contained in:
parent
ac54349a2e
commit
bf9889c5d8
1 changed files with 1 additions and 1 deletions
|
@ -183,7 +183,7 @@ define python::pip::install($source=undef) {
|
|||
exec { "pip-install-${name}":
|
||||
refreshonly => true,
|
||||
path => '/bin:/usr/bin:/usr/local/bin:/sbin:/usr/sbin:/usr/local/sbin',
|
||||
command => "pip install --no-index /usr/local/src/${name}",
|
||||
command => "/bin/sh -c 'umask 022; pip install --no-index /usr/local/src/${name}'",
|
||||
subscribe => File["/usr/local/src/${name}"],
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Add table
Reference in a new issue