Skip to content

Instantly share code, notes, and snippets.

@manoot
Created November 9, 2010 22:35
Show Gist options
  • Select an option

  • Save manoot/669970 to your computer and use it in GitHub Desktop.

Select an option

Save manoot/669970 to your computer and use it in GitHub Desktop.
[root@chef attributes]# knife node edit CentOSBase.millicorp.com
/usr/lib/ruby/gems/1.8/gems/chef-0.9.8/lib/chef/knife.rb:333:in `edit_data': Please set EDITOR environment variable (RuntimeError)
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.8/lib/chef/knife.rb:409:in `edit_object'
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.8/lib/chef/knife/node_edit.rb:38:in `run'
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.8/lib/chef/knife.rb:127:in `run'
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.8/lib/chef/application/knife.rb:118:in `run'
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/knife:25
from /usr/bin/knife:19:in `load'
from /usr/bin/knife:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment