[chef] Re: Re: Chef Node dummy data


Chronological Thread 
  • From: Nenad Petronijevic < >
  • To:
  • Subject: [chef] Re: Re: Chef Node dummy data
  • Date: Fri, 3 Jul 2015 18:55:35 +0200

Well, I need to generate valid nodes,
with ohai attributes included.

I thought about generating nodes
with ohai attrs filled from fauxhai,
but I still need to update fauxhai data to be unique across all nodes.

On Jul 3, 2015 6:30 PM, "Yoshi Spendiff" < "> > wrote:
Or are you only interested in the ohai generated attributes?

On Fri, Jul 3, 2015 at 9:27 AM, Yoshi Spendiff < " target="_blank"> > wrote:
Have a look at test kitchen, it's essentially the standard test suite for Chef at the moment.

In the suites section of the .kitchen.yml you can specify nodes and each node can have individual node level attributes set.

http://kitchen.ci/
https://github.com/test-kitchen/test-kitchen
https://docs.chef.io/config_yml_kitchen.html

On Fri, Jul 3, 2015 at 7:35 AM, Nenad Petronijevic < " target="_blank"> > wrote:
Hi all.

I need to generate large number of dummy Chef nodes for testing purposes, together with automatic attributes.

Is there any existing way to do that, maybe some testing script in chef repo?
I've looked in chef-server repo but haven't found anything useful.

I can create nodes manually and add ohai attributes from fauxhai,
but it would be great if there is an existing way to do that.

Thanks,
Nenad



--



--



Archive powered by MHonArc 2.6.16.

§