diff --git a/.chef/knife.rb b/.chef/knife.rb new file mode 100644 index 0000000..bc77d2d --- /dev/null +++ b/.chef/knife.rb @@ -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 diff --git a/.gitignore b/.gitignore index b55c093..48467c5 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ -.chef +.chef/local-mode-cache/ *.lock clients/ cookbooks/