-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added a knife.rb file to prevent that other knife.rb configuration on…
… the system is used
- Loading branch information
Showing
2 changed files
with
9 additions
and
1 deletion.
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# This file exists mainly to ensure we don't pick up knife.rb from anywhere else | ||
config_dir "#{File.expand_path('..', __FILE__)}/" # Wherefore art config_dir, chef? | ||
|
||
# Chef 11.14 binds to "localhost", which interferes with port forwarding on IPv6 machines for some reason | ||
begin | ||
chef_zero.host '127.0.0.1' | ||
rescue | ||
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
.chef | ||
.chef/local-mode-cache/ | ||
*.lock | ||
clients/ | ||
cookbooks/ | ||
|