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.
1 parent 44ecb02 commit 95fac9aCopy full SHA for 95fac9a
manifests/requirements.pp
@@ -80,6 +80,8 @@
80
$timeout = 1800,
81
) {
82
83
+ include ::python
84
+
85
if $virtualenv == 'system' and ($owner != 'root' or $group != 'root') {
86
fail('python::pip: root user must be used when virtualenv is system')
87
}
@@ -98,8 +100,8 @@
98
100
99
101
102
$pip_env = $virtualenv ? {
- 'system' => "${python::exec_prefix} pip",
- default => "${python::exec_prefix} ${virtualenv}/bin/pip",
103
+ 'system' => "${::python::exec_prefix} pip",
104
+ default => "${::python::exec_prefix} ${virtualenv}/bin/pip",
105
106
107
$proxy_flag = $proxy ? {
@@ -136,5 +138,4 @@
136
138
subscribe => File[$requirements],
137
139
environment => $environment,
140
-
141
0 commit comments