We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8e13f67 + 6221135 commit 4def2faCopy full SHA for 4def2fa
manifests/install.pp
@@ -15,7 +15,7 @@
15
present, installed: {
16
$index_url_arg = $index_url ? {
17
undef => '',
18
- defaults => "--index_url=${index_url}",
+ default => "--index-url=${index_url}",
19
}
20
21
if $version != undef {
@@ -29,6 +29,7 @@
29
exec { "install-${package}":
30
command => "pip${python_version} install ${index_url_arg} ${package_with_version}",
31
unless => "pip${python_version} freeze | grep '${grep_for}'",
32
+ require => Exec["install-pip${python_version}"],
33
34
35
0 commit comments