Skip to content

Commit

Permalink
Add umask parameter to pip execs
Browse files Browse the repository at this point in the history
  • Loading branch information
jstaph committed Apr 22, 2017
1 parent 0a03cf2 commit 4e461af
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions manifests/pip.pp
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@
$url = false,
$owner = 'root',
$group = 'root',
$umask = undef,
$index = false,
$proxy = false,
$egg = false,
Expand Down Expand Up @@ -195,6 +196,7 @@
unless => "${pip_env} freeze | grep -i -e ${grep_regex}",
user => $owner,
group => $group,
umask => $umask,
cwd => $cwd,
environment => $environment,
timeout => $timeout,
Expand All @@ -206,6 +208,7 @@
unless => "${pip_env} freeze | grep -i -e ${grep_regex}",
user => $owner,
group => $group,
umask => $umask,
cwd => $cwd,
environment => $environment,
timeout => $timeout,
Expand All @@ -222,6 +225,7 @@
unless => "${pip_env} freeze | grep -i -e ${grep_regex} || ${pip_env} list | sed -e 's/[ ]\\+/==/' -e 's/[()]//g' | grep -i -e ${grep_regex}",
user => $owner,
group => $group,
umask => $umask,
cwd => $cwd,
environment => $environment,
timeout => $timeout,
Expand All @@ -236,6 +240,7 @@
unless => "${pip_env} freeze | grep -i -e ${grep_regex} || ${pip_env} list | sed -e 's/[ ]\\+/==/' -e 's/[()]//g' | grep -i -e ${grep_regex}",
user => $owner,
group => $group,
umask => $umask,
cwd => $cwd,
environment => $environment,
timeout => $timeout,
Expand All @@ -250,6 +255,7 @@
unless => "${pip_env} search ${pypi_search_index} ${proxy_flag} ${source} | grep -i INSTALLED.*latest",
user => $owner,
group => $group,
umask => $umask,
cwd => $cwd,
environment => $environment,
timeout => $timeout,
Expand All @@ -264,6 +270,7 @@
onlyif => "${pip_env} freeze | grep -i -e ${grep_regex}",
user => $owner,
group => $group,
umask => $umask,
cwd => $cwd,
environment => $environment,
timeout => $timeout,
Expand Down

0 comments on commit 4e461af

Please sign in to comment.