|
153 | 153 | command => "${pip_env} wheel --help > /dev/null 2>&1 && { ${pip_env} wheel --version > /dev/null 2>&1 || wheel_support_flag='--no-use-wheel'; } ; { ${pip_env} --log ${cwd}/pip.log install ${install_args} \$wheel_support_flag ${proxy_flag} ${install_args} ${install_editable} ${source}==${ensure} || ${pip_env} --log ${cwd}/pip.log install ${install_args} ${proxy_flag} ${install_args} ${install_editable} ${source}==${ensure} ;}", |
154 | 154 | unless => "${pip_env} freeze | grep -i -e ${grep_regex}", |
155 | 155 | user => $owner, |
| 156 | + cwd => $cwd, |
156 | 157 | environment => $environment, |
157 | 158 | path => ['/usr/local/bin','/usr/bin','/bin', '/usr/sbin'], |
158 | 159 | timeout => $timeout, |
|
165 | 166 | command => "${pip_env} wheel --help > /dev/null 2>&1 && { ${pip_env} wheel --version > /dev/null 2>&1 || wheel_support_flag='--no-use-wheel'; } ; { ${pip_env} --log ${cwd}/pip.log install \$wheel_support_flag ${proxy_flag} ${install_args} ${install_editable} ${source} || ${pip_env} --log ${cwd}/pip.log install ${proxy_flag} ${install_args} ${install_editable} ${source} ;}", |
166 | 167 | unless => "${pip_env} freeze | grep -i -e ${grep_regex}", |
167 | 168 | user => $owner, |
| 169 | + cwd => $cwd, |
168 | 170 | environment => $environment, |
169 | 171 | path => ['/usr/local/bin','/usr/bin','/bin', '/usr/sbin'], |
170 | 172 | timeout => $timeout, |
|
177 | 179 | command => "${pip_env} wheel --help > /dev/null 2>&1 && { ${pip_env} wheel --version > /dev/null 2>&1 || wheel_support_flag='--no-use-wheel'; } ; { ${pip_env} --log ${cwd}/pip.log install --upgrade \$wheel_support_flag ${proxy_flag} ${install_args} ${install_editable} ${source} || ${pip_env} --log ${cwd}/pip.log install --upgrade ${proxy_flag} ${install_args} ${install_editable} ${source} ;}", |
178 | 180 | unless => "${pip_env} search ${source} | grep -i INSTALLED | grep -i latest", |
179 | 181 | user => $owner, |
| 182 | + cwd => $cwd, |
180 | 183 | environment => $environment, |
181 | 184 | path => ['/usr/local/bin','/usr/bin','/bin', '/usr/sbin'], |
182 | 185 | timeout => $timeout, |
|
189 | 192 | command => "echo y | ${pip_env} uninstall ${uninstall_args} ${proxy_flag}", |
190 | 193 | onlyif => "${pip_env} freeze | grep -i -e ${grep_regex}", |
191 | 194 | user => $owner, |
| 195 | + cwd => $cwd, |
192 | 196 | environment => $environment, |
193 | 197 | path => ['/usr/local/bin','/usr/bin','/bin', '/usr/sbin'], |
194 | 198 | timeout => $timeout, |
|
0 commit comments