[chef] Re: Re: Re: Re: Minitest chef handler tests for windows/IIS


Chronological Thread 
  • From: Kenneth Barry < >
  • To: " " < >
  • Subject: [chef] Re: Re: Re: Re: Minitest chef handler tests for windows/IIS
  • Date: Tue, 15 Apr 2014 07:22:11 -0700

There is an iis cookbook, but it's not of beta. Yes it work. Yes it will handle everything it says it can handle, but that doesn't include anything other than the basic iis configuration. 

The good news is opscode has plans for making it more better fastly

On Apr 14, 2014, at 10:02 PM, "steve ." < "> > wrote:

Not sure if you mean me or the OP, Kenneth, but I'll answer just in case:

I don't personally configure IIS with Chef but we do have a cookbook with that capability for people who are so inclined.


On Mon, Apr 14, 2014 at 2:51 PM, Kenneth Barry < " target="_blank"> > wrote:
We made tools to perform healthchecks which are installed via chef, and kicked off periodically.

Also, are you not configuring iis with chef?


On Sun, Apr 13, 2014 at 12:00 AM, steve . < " target="_blank"> > wrote:
Depending on how they're written, minitests should run equally well on Windows and Linux.  We have a few cross-platform cookbooks that we test with minitest-chef-handler ... and many more that are primarily intended for Linux and don't get as much attention on other platforms.  However, I do have counterparts who work regularly in Windows and they don't seem to have any problems writing and running minitests for Windows.  So I can personally attest that the minitest handler does run on Windows.

I haven't dug too deeply into Serverspec (it's hard enough convincing people to adopt Chef and testing methodologies, let alone throwing a whole new independent framework into the mix...), but my limited tire-kicking and code review suggests that Serverspec relies on SSH or local execution, but is otherwise a Ruby implementation relying on Specinfra, which claims to have Windows support.

So "on paper" Serverspec should work for you.

I really wish Windows were easier to test / work with from a non-Windows host.  Pondering the idea of having a dedicated Parallels (Virtuozzo) host to spin up and converge Windows containers (running minitests, of course).  From a really distant "I haven't installed this anywhere yet" perspective, it seems like a good idea.


On Fri, Apr 11, 2014 at 5:18 PM, Alex Myasnikov < " target="_blank"> > wrote:

Hello,

 

I am looking to automate functional checks post chef-client run on a windows node. For instance is IIS running? configured up to spec? needed files/dirs., web.config settings are in place? etc…

 

Is minitest chef handler a viable approach for windows, any examples out there for windows? Or does it depend case by case, assertion by assertion?

 

Are there any alternative methods? Checked Opscode’s IIS cookbook and didn’t see any explicit tests.

 

Serverspec seems to be for  *nux only.

Thank you in advance.


Alex







Archive powered by MHonArc 2.6.16.

§