5. Now configure knife to work with the webui key and you should be solid.
OPSCODE_USER="chef-webui";export OPSCODE_USER
OPSCODE_KEY="/etc/chef/webui.pem";export OPSCODE_KEY
Thanks
Dikang
Hello,This document has not been updated for the current HEAD, which is Chef 0.8http://wiki.opscode.com/display/chef/Installing+Chef+from+HEAD. But I meet the problems when trying to following command:
cd ~/chefI got the following error:
sudo gem install merb-core
rake installThe following error is from missing debian/ubuntu package libruby1.8-dev, if I recall correctly.
:~/temp/chef$ rake install
(in /home/dikang/temp/chef)
rake install
(in /home/dikang/temp/chef/chef)
mkdir -p pkg
WARNING: no rubyforge_project specified
WARNING: description and summary are identical
Successfully built RubyGem
Name: chef
Version: 0.8.0
File: chef-0.8.0.gem
mv chef-0.8.0.gem pkg/chef-0.8.0.gem
sudo gem install pkg/chef-0.8.0 --no-rdoc --no-ri
Building native extensions. This could take a while...
ERROR: Error installing pkg/chef-0.8.0:
ERROR: Failed to build gem native extension.
/usr/bin/ruby1.8 extconf.rb
extconf.rb:1:in `require': no such file to load -- mkmf (LoadError)
from extconf.rb:1
Gem files will remain installed in /var/lib/gems/1.8/gems/json-1.2.0 for inspection.
Results logged to /var/lib/gems/1.8/gems/json-1.2.0/ext/json/ext/generator/gem_make.out
rake aborted!
Command failed with status (1): [sudo gem install pkg/chef-0.8.0 --no-rdoc ...]
/home/dikang/temp/chef/chef/Rakefile:44
(See full trace by running task with --trace)
rake aborted!
Command failed with status (1): [rake install...]
/home/dikang/temp/chef/Rakefile:17
(See full trace by running task with --trace)
Could you give me any advices about that?
Happy new Year!
Dikang
Regards,AJ
Archive powered by MHonArc 2.6.16.