Skip to content

Commit 6ad7774

Browse files
committed
Add /usr/local/bin to path for pyenv and virtualenv
/usr/local/bin is where get-pip puts pip and virtualenv. We install using get-pip so that we get a consistent experience across all modern operating systems.
1 parent b4bda67 commit 6ad7774

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

manifests/pyvenv.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
$owner = 'root',
5656
$group = 'root',
5757
$mode = '0755',
58-
$path = [ '/bin', '/usr/bin', '/usr/sbin' ],
58+
$path = [ '/bin', '/usr/bin', '/usr/sbin', '/usr/local/bin' ],
5959
$environment = [],
6060
) {
6161

manifests/virtualenv.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
$mode = '0755',
8484
$proxy = false,
8585
$environment = [],
86-
$path = [ '/bin', '/usr/bin', '/usr/sbin' ],
86+
$path = [ '/bin', '/usr/bin', '/usr/sbin', '/usr/local/bin' ],
8787
$cwd = undef,
8888
$timeout = 1800,
8989
$extra_pip_args = '',

0 commit comments

Comments
 (0)