Skip to content
This repository was archived by the owner on Feb 5, 2025. It is now read-only.

Commit f6d4b30

Browse files
committed
Fix Travis-CI Build failed
WARNING: variable not enclosed in {} on line 159 ERROR: tab character found on line 176 ERROR: two-space soft tabs not used on line 176 WARNING: indentation of => is not properly aligned on line 176 rake aborted!
1 parent 5bc76fd commit f6d4b30

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

manifests/virtualenv.pp

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@
156156

157157
if $requirements {
158158
exec { "python_requirements_initial_install_${requirements}_${venv_dir}":
159-
command => "${venv_dir}/bin/pip wheel --help > /dev/null 2>&1 && { ${venv_dir}/bin/pip wheel --version > /dev/null 2>&1 || wheel_support_flag='--no-use-wheel'; } ; ${venv_dir}/bin/pip --log ${venv_dir}/pip.log install ${pypi_index} ${proxy_flag} \$wheel_support_flag -r ${requirements} $extra_pip_args",
159+
command => "${venv_dir}/bin/pip wheel --help > /dev/null 2>&1 && { ${venv_dir}/bin/pip wheel --version > /dev/null 2>&1 || wheel_support_flag='--no-use-wheel'; } ; ${venv_dir}/bin/pip --log ${venv_dir}/pip.log install ${pypi_index} ${proxy_flag} \$wheel_support_flag -r ${requirements} ${extra_pip_args}",
160160
refreshonly => true,
161161
timeout => $timeout,
162162
user => $owner,
@@ -166,14 +166,14 @@
166166
}
167167

168168
python::requirements { "${requirements}_${venv_dir}":
169-
requirements => $requirements,
170-
virtualenv => $venv_dir,
171-
proxy => $proxy,
172-
owner => $owner,
173-
group => $group,
174-
cwd => $cwd,
175-
require => Exec["python_virtualenv_${venv_dir}"],
176-
extra_pip_args => $extra_pip_args,
169+
requirements => $requirements,
170+
virtualen => $venv_dir,
171+
proxy => $proxy,
172+
owner => $owner,
173+
group => $group,
174+
cwd => $cwd,
175+
require => Exec["python_virtualenv_${venv_dir}"],
176+
extra_pip_args => $extra_pip_args,
177177
}
178178
}
179179
} elsif $ensure == 'absent' {

0 commit comments

Comments
 (0)