[chef] Testing and chef best practices


Chronological Thread 
  • From: "Sean Farrow" < >
  • To: < >
  • Subject: [chef] Testing and chef best practices
  • Date: Tue, 16 Jun 2015 04:22:28 +0100

Hi,

 

I am writing a recipe that cretes a windows service. Is it better to have a hard-coded service name or parameterize this in some way? I the latter, what method is better, databags or is ther something else?

Also should I write a unit test using ChefSpec for this or is just an integration test sufficient?

What are people’s testing preferences around uses of third-party cookbooks?

Kind regards

Sean.




Archive powered by MHonArc 2.6.16.

§