07 12 / 2011
I was stupid enough on how to manage multiple chef clients for multiple chef servers.
I played with Opscode hosted chef servers. Actually, I was astonished with chef through those guys presentations/talks. And later I installed one local chef-server to play around.
But I was always confused on what are the files do I need to change while switching to the previous or another one. Should I keep them(3 files; client key, organization validator key and knife.rb) in
But, today I find this approach simple and simple.
cd inside any folder that you’re managing for different servers. Make one directory named
.chef and put your
orgnization validator kye,
Now when you run any
knife -h commands being inside that folder, the configuration will be read first from the
It made me much simpler, should have known before!!
Permalink 42 notes