-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#12] wip: kinda understand the issue, documenting and working on fix
- Loading branch information
Showing
4 changed files
with
31 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,3 +6,5 @@ gem 'chefspec' | |
gem 'kitchen-vagrant' | ||
|
||
gem 'foodcritic' | ||
|
||
gem 'chef-rewind' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# | ||
# Cookbook Name:: anaconda | ||
# Recipe:: python_workaround | ||
# | ||
# Copyright (C) 2014 Matt Chu | ||
# | ||
# All rights reserved - Do Not Redistribute | ||
# | ||
|
||
# https://github.com/thmttch/chef-continuum-anaconda/issues/12 | ||
|
||
# hack: the standard python cookbook gets confused and tries to upgrade | ||
# setuptools since it can't find it (TODO actually, i think because it's not | ||
# the latest version); this will break the chef run. | ||
Chef::Log.warn 'Applying the python workaround: https://github.com/thmttch/chef-continuum-anaconda/issues/12' | ||
|
||
chef_gem 'chef-rewind' | ||
require 'chef/rewind' | ||
|
||
unwind 'python_pip[setuptools]' do | ||
ignore_failure true | ||
end |