Skip to content

Commit 4def2fa

Browse files
committed
Merge pull request #5 from ripcurld00d/bugfix
Fix the 'index-url' and the 'install' bugs
2 parents 8e13f67 + 6221135 commit 4def2fa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

manifests/install.pp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
present, installed: {
1616
$index_url_arg = $index_url ? {
1717
undef => '',
18-
defaults => "--index_url=${index_url}",
18+
default => "--index-url=${index_url}",
1919
}
2020

2121
if $version != undef {
@@ -29,6 +29,7 @@
2929
exec { "install-${package}":
3030
command => "pip${python_version} install ${index_url_arg} ${package_with_version}",
3131
unless => "pip${python_version} freeze | grep '${grep_for}'",
32+
require => Exec["install-pip${python_version}"],
3233
}
3334
}
3435

0 commit comments

Comments
 (0)