Skip to content

Commit

Permalink
Fix Travis-CI Build failed
Browse files Browse the repository at this point in the history
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!
  • Loading branch information
shivapoudel committed Aug 13, 2014
1 parent 5bc76fd commit f6d4b30
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions manifests/virtualenv.pp
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@

if $requirements {
exec { "python_requirements_initial_install_${requirements}_${venv_dir}":
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",
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}",
refreshonly => true,
timeout => $timeout,
user => $owner,
Expand All @@ -166,14 +166,14 @@
}

python::requirements { "${requirements}_${venv_dir}":
requirements => $requirements,
virtualenv => $venv_dir,
proxy => $proxy,
owner => $owner,
group => $group,
cwd => $cwd,
require => Exec["python_virtualenv_${venv_dir}"],
extra_pip_args => $extra_pip_args,
requirements => $requirements,
virtualen => $venv_dir,
proxy => $proxy,
owner => $owner,
group => $group,
cwd => $cwd,
require => Exec["python_virtualenv_${venv_dir}"],
extra_pip_args => $extra_pip_args,
}
}
} elsif $ensure == 'absent' {
Expand Down

0 comments on commit f6d4b30

Please sign in to comment.