[chef] RE: Unit Testing chef Cookbook


Chronological Thread 
  • From: "Malli Pulla Reddy" < >
  • To: " " < >
  • Cc: " " < >
  • Subject: [chef] RE: Unit Testing chef Cookbook
  • Date: Tue, 28 Oct 2014 02:16:52 -0700
  • Accept-language: en-US
  • Acceptlanguage: en-US

Hi,

 

sudo knife bootstrap <ipaddress> --sudo -x <username> -P <password> -r "recipe [your_cookbook_name]"

 

above command will do bootstrap and it will install cookbook.

 

Regards,

PullaReddy

From: Sachin Gupta [mailto:
Sent: Tuesday, October 28, 2014 2:15 PM
To:
Cc: sachin kumar
Subject: [chef] Unit Testing chef Cookbook

 

Hi All,

I would like to know how to do unit testing of chef cookbooks. I have heard about chefSpec but not  very much familiar and used to ..

 

My team had developed few cookbooks and would like to know the code coverage,  etc.

Any help would be highly appreciated.

Thanks & Regards,
Sachin Gupta




Archive powered by MHonArc 2.6.16.

§