File tree 2 files changed +5
-4
lines changed 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 18
18
# limitations under the License.
19
19
#
20
20
21
- # Version of python to use when installing distribute/pip
21
+ # Version of python to use when installing distribute
22
22
# default is '', which uses the 'python' binary.
23
23
# example value = '2.6' which will use the python2.6 binary
24
- default [ 'python' ] [ 'base_version ' ] = ''
24
+ default [ 'python' ] [ 'distribute_install_py_version ' ] = ''
25
25
26
26
default [ 'python' ] [ 'install_method' ] = 'package'
27
27
Original file line number Diff line number Diff line change 28
28
not_if "which pip"
29
29
end
30
30
31
- base_version = node [ 'python' ] [ 'base_version' ]
31
+ use_version = node [ 'python' ] [ 'distribute_install_py_version' ]
32
+
32
33
bash "install-pip" do
33
34
cwd Chef ::Config [ :file_cache_path ]
34
35
code <<-EOF
35
- python#{ base_version } distribute_setup.py
36
+ python#{ use_version } distribute_setup.py
36
37
easy_install pip
37
38
EOF
38
39
not_if "which pip"
You can’t perform that action at this time.
0 commit comments