Created
April 3, 2010 06:42
-
-
Save veszig/354196 to your computer and use it in GitHub Desktop.
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
# simple knife config that let's you act as the webui user | |
mkdir -p /root/.chef/checksums | |
cat > /root/.chef/knife.rb <<\EOF | |
log_level :info | |
log_location STDOUT | |
node_name "chef-webui" | |
client_key "/etc/chef/webui.pem" | |
validation_client_name "chef-validator" | |
validation_key "/etc/chef/validation.pem" | |
chef_server_url "http://127.0.0.1:4000" | |
cache_type "BasicFile" | |
cache_options( :path => "/root/.chef/checksums" ) | |
cookbook_path [ "/var/lib/chef/cookbooks" ] | |
EOF | |
knife client list |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment