IIS7 / 7.5 Website LWRP


#1

Hi All.

I’ve created a chef LWRP for configuring websites in IIS 7 / 7.5

It is pretty basic but it does enough for my needs. Hopefully someone else will get some usage out of it too.

Cheers,
Dave.
David Leaver
Senior Software Engineer

DDI +64 7 857 0805 | M +64 21 876684 | E dave@smartrak.co.nzmailto:dave@smartrak.co.nz | T +64 7 857 0800 | F +64 7 857 0801
Waikato Innovation Park, Ruakura Rd | PO Box 7239, Hamilton 3247, NZ | www.smartrak.co.nzhttp://www.smartrak.co.nz/

[Description: smartrak_banner]http://www.smartrak.co.nz/


#2

Wicked, have you considered packaging these up as cookbooks and distributing
on the community site?

Cheers,

–AJ

On 6 July 2011 18:07, David Leaver dave@smartrak.co.nz wrote:

Hi All.****


I’ve created a chef LWRP for configuring websites in IIS 7 / 7.5****

https://github.com/danzel/chef-cookbooks/tree/master/iis7****


It is pretty basic but it does enough for my needs. Hopefully someone else
will get some usage out of it too.****


Cheers,****

Dave.****

David Leaver
Senior Software Engineer

*DDI *+64 7 857 0805 | *M *+64 21 876684 | *E *dave@smartrak.co.nz
*| * T +64 7 857 0800 *| *F +64 7 857 0801
Waikato Innovation Park, Ruakura Rd *| * PO Box 7239, Hamilton 3247, NZ *|

[image: Description: smartrak_banner] http://www.smartrak.co.nz/****


#3

Very cool!

On Wed, Jul 6, 2011 at 6:07 PM, David Leaver dave@smartrak.co.nz wrote:

Hi All.****


I’ve created a chef LWRP for configuring websites in IIS 7 / 7.5****

https://github.com/danzel/chef-cookbooks/tree/master/iis7****


It is pretty basic but it does enough for my needs. Hopefully someone else
will get some usage out of it too.****


Cheers,****

Dave.****

David Leaver
Senior Software Engineer

*DDI *+64 7 857 0805 | *M *+64 21 876684 | *E *dave@smartrak.co.nz
*| * T +64 7 857 0800 *| *F +64 7 857 0801
Waikato Innovation Park, Ruakura Rd *| * PO Box 7239, Hamilton 3247, NZ *|

[image: Description: smartrak_banner] http://www.smartrak.co.nz/****


Opscode, Inc.
Adam Jacob, Chief Product Officer
T: (206) 619-7151 E: adam@opscode.com


#4

This is really cool and awesome that you’re sharing it with the community. It comes at a perfect time for us because we’re in the middle of planning our chef deployment on window.

Without having dug too much into the code itself, any reason this only supports IIS7+? Or is it because of powershell? What could I expect running this on a 2k3 server with powershell and IIS6?

  • Ryan

On Jul 6, 2011, at 6:08 PM, “David Leaver” dave@smartrak.co.nz wrote:

Hi All.

I’ve created a chef LWRP for configuring websites in IIS 7 / 7.5

https://github.com/danzel/chef-cookbooks/tree/master/iis7

It is pretty basic but it does enough for my needs. Hopefully someone else will get some usage out of it too.

Cheers,

Dave.

David Leaver
Senior Software Engineer

DDI +64 7 857 0805 | M +64 21 876684 | E dave@smartrak.co.nz | T +64 7 857 0800 | F +64 7 857 0801
Waikato Innovation Park, Ruakura Rd | PO Box 7239, Hamilton 3247, NZ | www.smartrak.co.nz

<image001.jpg>


#5

Nice Dave! Added it to Lightweight Resources and
Providershttp://wiki.opscode.com/display/chef/Lightweight+Resources+and+Providers+(LWRP)
in
the “Custom LWRPs From The Community” call out on the right side of the
page, and to Installation on
Windowshttp://wiki.opscode.com/display/chef/Installation+on+Windows
pages on
the Chef Wiki for exposure and love…

  • Tom

On Wed, Jul 6, 2011 at 6:07 PM, David Leaver dave@smartrak.co.nz wrote:

Hi All.****


I’ve created a chef LWRP for configuring websites in IIS 7 / 7.5****

https://github.com/danzel/chef-cookbooks/tree/master/iis7****


It is pretty basic but it does enough for my needs. Hopefully someone else
will get some usage out of it too.****


Cheers,****

Dave.****

David Leaver
Senior Software Engineer

*DDI *+64 7 857 0805 | *M *+64 21 876684 | *E *dave@smartrak.co.nz
*| * T +64 7 857 0800 *| *F +64 7 857 0801
Waikato Innovation Park, Ruakura Rd *| * PO Box 7239, Hamilton 3247, NZ *|

[image: Description: smartrak_banner] http://www.smartrak.co.nz/****


#6

Awesome thanks guys :slight_smile:

It won’t work on IIS6, you’d need to make something using adsutil.vbs or WMI from the sounds of things (http://forums.iis.net/t/1150007.aspx).
Will look at packaging it up once I’ve deployed a few more servers with it and are more confident it won’t break :wink:

Cheers,
Dave.

From: Tom Thomas [mailto:tom@opscode.com]
Sent: Thursday, 7 July 2011 6:34 p.m.
To: chef@lists.opscode.com
Subject: [chef] Re: IIS7 / 7.5 Website LWRP

Nice Dave! Added it to Lightweight Resources and Providershttp://wiki.opscode.com/display/chef/Lightweight+Resources+and+Providers+(LWRP) in the “Custom LWRPs From The Community” call out on the right side of the page, and to Installation on Windowshttp://wiki.opscode.com/display/chef/Installation+on+Windows pages on the Chef Wiki for exposure and love…

  • Tom

On Wed, Jul 6, 2011 at 6:07 PM, David Leaver <dave@smartrak.co.nzmailto:dave@smartrak.co.nz> wrote:
Hi All.

I’ve created a chef LWRP for configuring websites in IIS 7 / 7.5

It is pretty basic but it does enough for my needs. Hopefully someone else will get some usage out of it too.

Cheers,
Dave.
David Leaver
Senior Software Engineer

DDI +64 7 857 0805tel:%2B64%207%20857%200805 | M +64 21 876684tel:%2B64%2021%20876684 | E dave@smartrak.co.nzmailto:dave@smartrak.co.nz | T +64 7 857 0800tel:%2B64%207%20857%200800 | F +64 7 857 0801tel:%2B64%207%20857%200801
Waikato Innovation Park, Ruakura Rd | PO Box 7239, Hamilton 3247, NZ | www.smartrak.co.nzhttp://www.smartrak.co.nz/

http://www.smartrak.co.nz/
http://www.smartrak.co.nz/