Skip to content

Commit

Permalink
[#12] fix, attempt 1
Browse files Browse the repository at this point in the history
  • Loading branch information
thmttch committed Sep 7, 2014
1 parent 2623f40 commit 0ba4985
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions recipes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@
version = node.anaconda.version
flavor = node.anaconda.flavor

# hack: the standard python cookbook gets confused and tries to upgrade
# setuptools since it can't find it; this will break the chef run.
# explicitly set version to trick python into not upgrading setuptools
node.force_default.python.setuptools_version = '3.6'

anaconda_install_dir = "#{node.anaconda.install_root}/#{version}"
installer = "Anaconda-#{version}-Linux-#{flavor}.sh"
installer_path = "#{Chef::Config[:file_cache_path]}/#{installer}"
Expand Down

0 comments on commit 0ba4985

Please sign in to comment.