[chef] Where to keep your .json files?

Chronological Thread 
  • From: Torben Knerr < >
  • To:
  • Subject: [chef] Where to keep your <node>.json files?
  • Date: Mon, 23 Apr 2012 08:36:26 +0200

Ohai Chefs,

where do you keep your <node>.json files?

My approach is to use `knife node upload from file <node>.json` whenever I need to change something on the node. Ideally, I would want to make sure that whatever I upload from-file must be already commited to version control for traceability reasons (I've seen some approaches to ensure this, but don't quite remember them...).

But where do you keep these files? I was considering to put them under chef-repo/nodes as the chef-repo git repo seems to be the right place for me. But since there is no such directory in the default chef-repo structure I was wondering if you guys know a better place for it?


Archive powered by MHonArc 2.6.16.