Skip to content

Commit bc7826f

Browse files
committed
added support to pip install from local directory
1 parent 729ab6c commit bc7826f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

manifests/pip.pp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,9 @@
134134
}
135135

136136
$source = $url ? {
137-
false => $pkgname,
138-
default => "${url}#egg=${egg_name}",
137+
false => $pkgname,
138+
/^(\/|[a-zA-Z]\:)/ => $url,
139+
default => "${url}#egg=${egg_name}",
139140
}
140141

141142
# We need to jump through hoops to make sure we issue the correct pip command

0 commit comments

Comments
 (0)