Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 71ef44b

Browse files
author
Jason Schadel
committed
Break up distribute_options_download_base attribute
Change the `distribute_options_download_base` attribute to `['distribute_options']['download_base']`.
1 parent e2b3cb1 commit 71ef44b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

attributes/default.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,4 @@
3939
default['python']['configure_options'] = %W{--prefix=#{python['prefix_dir']}}
4040

4141
default['python']['distribute_script_url'] = 'http://python-distribute.org/distribute_setup.py'
42-
default['python']['distribute_option_download_base'] = 'https://pypi.python.org/packages/source/d/distribute/'
42+
default['python']['distribute_option']['download_base'] = 'https://pypi.python.org/packages/source/d/distribute/'

recipes/pip.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
execute "install-pip" do
4040
cwd Chef::Config[:file_cache_path]
4141
command <<-EOF
42-
#{node['python']['binary']} distribute_setup.py --download-base=#{node['python']['distribute_option_download_base']}
42+
#{node['python']['binary']} distribute_setup.py --download-base=#{node['python']['distribute_option']['download_base']}
4343
#{::File.dirname(pip_binary)}/easy_install pip
4444
EOF
4545
not_if { ::File.exists?(pip_binary) }

0 commit comments

Comments
 (0)