-
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.
Merge pull request #13 from thmttch/conflict-with-python-cookbook
Conflict with python cookbook
- Loading branch information
Showing
6 changed files
with
58 additions
and
0 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
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
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 |
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,9 @@ | ||
#!/usr/bin/env bash | ||
|
||
echo "Don't know how to automate this (creds), so here are the instructions:" | ||
echo "" | ||
|
||
echo 'knife cookbook site share anaconda "Programming Languages" --cookbook-path PATH --config KNIFE.RB' | ||
echo "" | ||
|
||
echo "https://docs.getchef.com/knife_cookbook_site.html#share" |
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