creating cookbooks and roles with out chef-server
Posted
by
Josh Nankin
on Server Fault
See other posts from Server Fault
or by Josh Nankin
Published on 2012-04-24T16:57:42Z
Indexed on
2012/06/17
9:17 UTC
Read the original article
Hit count: 256
I want to run:
knife role create blah
I use chef-solo and don't need knife to connect to a server. I just would like to run these commands for helping me prepopulate the files quickly. Everytime I run of these commands it attempts to connect to a server.
This does not happen for
knife cookbook create blah
Double-ewe tee eff.
Update:
I've noticed this is the case for databags and environments as well. I've read elsewhere that knife is primarily intended for use with the chef-server API, but it seems ridiculous that something like this can't be done. It just needs to save the darn file.
© Server Fault or respective owner