File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1818# limitations under the License.
1919#
2020
21- # Version of python to use when installing distribute/pip
21+ # Version of python to use when installing distribute
2222# default is '', which uses the 'python' binary.
2323# example value = '2.6' which will use the python2.6 binary
24- default [ 'python' ] [ 'base_version ' ] = ''
24+ default [ 'python' ] [ 'distribute_install_py_version ' ] = ''
2525
2626default [ 'python' ] [ 'install_method' ] = 'package'
2727
Original file line number Diff line number Diff line change 2828 not_if "which pip"
2929end
3030
31- base_version = node [ 'python' ] [ 'base_version' ]
31+ use_version = node [ 'python' ] [ 'distribute_install_py_version' ]
32+
3233bash "install-pip" do
3334 cwd Chef ::Config [ :file_cache_path ]
3435 code <<-EOF
35- python#{ base_version } distribute_setup.py
36+ python#{ use_version } distribute_setup.py
3637 easy_install pip
3738 EOF
3839 not_if "which pip"
You can’t perform that action at this time.
0 commit comments