Chef and PowerShell DSC


#1

Good afternoon,

We are looking to use Chef to help configure our large Windows Development environment. I have been using Chef for several years now so fully understand its benefits. As DSC is now emerging as a system to configure Windows machines I have been looking at the integration between the two.

I have seen the video given (link from http://www.opscode.com/blog/2013/08/19/opscode-chef-delivers-robust-open-source-automation-platform-for-windows-environments/) about how Chef and DSC can be used together. I note that the was a Provider that was shown called ‘dsc_configuration_script’ and I was wondering when this would be available in Chef to use.
I appreciate that someone asked this same question back in September (http://lists.opscode.com/sympa/arc/chef/2013-09/msg00247.html).

There is another slide show that states that Chef and DSC integration should be coming late 2013, on slide 4 - http://www.slideshare.net/opscode/opscode-webinar-cooking-with-chef-on-microsoft-windows but no specific date.

We would really like to integrate the two systems, and preferably using the system that Opscode comes up with rather than rolling our own. Is it possible to have a look at what you are doing and / or help to develop / debug it?

Thank you very much.

Regards,

Russell Seymour
Senior Platform Engineer

07526 495 178 - Mobile
020 7756 1000 - Reception

ASOS is a CarbonNeutral® company

[Description: ASOS]http://www.asos.com/[Description: Facebook]https://www.facebook.com/ASOS?ref=tn_tnmn[Description: cid:image003.png@01CE0EEA.D66CE540]https://plus.google.com/+ASOS/[Description: cid:image004.png@01CE0EEA.D66CE540]http://instagram.com/asos[Description: cid:image005.png@01CE0EEA.D66CE540]http://pinterest.com/asos/[Description: cid:image006.png@01CE0EEA.D66CE540]https://twitter.com/asos[Description: cid:image007.png@01CE0EEA.D66CE540]http://asoslive.tumblr.com/

Registered Office: ASOS.com Ltd, Greater London House, Hampstead Road, London, NW1 7FB
ASOS.com Ltd is a wholly owned subsidiary of ASOS plc. Registered in England 3584121.
The information in this internet email is confidential and is intended solely for the addressee. Access copying or re-use of information in it by anyone else is unauthorised. Any views or opinions presented are solely those of the author and do not necessarily represent those of ASOS plc or any of its affiliates. If you are not the intended recipient please contact the sender.


#2

Hi Russell,

i’am the one who was asking this question back in September. I’m
considering hacking the dsc + chef integration quick-n-dirty , but it
wouldn’t be very flexible and extensible.

Maybe Adam(Edwards) can jump in and told us about the current state. I
would like to contribute/test, too.


Bjoern

2013/11/8 Russell Seymour RussellSeymour@asos.com

Good afternoon,

We are looking to use Chef to help configure our large Windows Development
environment. I have been using Chef for several years now so fully
understand its benefits. As DSC is now emerging as a system to configure
Windows machines I have been looking at the integration between the two.

I have seen the video given (link from
http://www.opscode.com/blog/2013/08/19/opscode-chef-delivers-robust-open-source-automation-platform-for-windows-environments/)
about how Chef and DSC can be used together. I note that the was a
Provider that was shown called ‘dsc_configuration_script’ and I was
wondering when this would be available in Chef to use.

I appreciate that someone asked this same question back in September (
http://lists.opscode.com/sympa/arc/chef/2013-09/msg00247.html).

There is another slide show that states that Chef and DSC integration
should be coming late 2013, on slide 4 -
http://www.slideshare.net/opscode/opscode-webinar-cooking-with-chef-on-microsoft-windowsbut no specific date.

We would really like to integrate the two systems, and preferably using
the system that Opscode comes up with rather than rolling our own. Is it
possible to have a look at what you are doing and / or help to develop /
debug it?

Thank you very much.

Regards,

Russell Seymour

Senior Platform Engineer

07526 495 178 – Mobile

020 7756 1000 – Reception

ASOS is a CarbonNeutral® company

[image: Description: ASOS] http://www.asos.com/[image: Description:
Facebook] https://www.facebook.com/ASOS?ref=tn_tnmn[image: Description:
cid:image003.png@01CE0EEA.D66CE540] https://plus.google.com/+ASOS/[image:
Description: cid:image004.png@01CE0EEA.D66CE540]http://instagram.com/asos[image:
Description: cid:image005.png@01CE0EEA.D66CE540]http://pinterest.com/asos/[image:
Description: cid:image006.png@01CE0EEA.D66CE540]https://twitter.com/asos[image:
Description: cid:image007.png@01CE0EEA.D66CE540]http://asoslive.tumblr.com/

Registered Office: ASOS.com Ltd, Greater London House, Hampstead Road,
London, NW1 7FB

ASOS.com Ltd is a wholly owned subsidiary of ASOS plc. Registered in
England 3584121.

The information in this internet email is confidential and is intended
solely for the addressee. Access copying or re-use of information in it by
anyone else is unauthorised. Any views or opinions presented are solely
those of the author and do not necessarily represent those of ASOS plc or
any of its affiliates. If you are not the intended recipient please contact
the sender.


#3

See also: https://github.com/opscode/test-kitchen/issues/239

Seth Vargo
Solutions Engineer, Opscode
@sethvargo
From: bjunity@gmail.com bjunity@gmail.com
Reply: chef@lists.opscode.com chef@lists.opscode.com
Date: November 8, 2013 at 8:43:30 AM
To: chef@lists.opscode.com chef@lists.opscode.com
Subject: [chef] Re: Chef and PowerShell DSC
Hi Russell,

i’am the one who was asking this question back in September. I’m considering hacking the dsc + chef integration quick-n-dirty , but it wouldn’t be very flexible and extensible.

Maybe Adam(Edwards) can jump in and told us about the current state. I would like to contribute/test, too.


Bjoern

2013/11/8 Russell Seymour RussellSeymour@asos.com
Good afternoon,

We are looking to use Chef to help configure our large Windows Development environment. I have been using Chef for several years now so fully understand its benefits. As DSC is now emerging as a system to configure Windows machines I have been looking at the integration between the two.

I have seen the video given (link from http://www.opscode.com/blog/2013/08/19/opscode-chef-delivers-robust-open-source-automation-platform-for-windows-environments/) about how Chef and DSC can be used together. I note that the was a Provider that was shown called ‘dsc_configuration_script’ and I was wondering when this would be available in Chef to use.

I appreciate that someone asked this same question back in September (http://lists.opscode.com/sympa/arc/chef/2013-09/msg00247.html).

There is another slide show that states that Chef and DSC integration should be coming late 2013, on slide 4 - http://www.slideshare.net/opscode/opscode-webinar-cooking-with-chef-on-microsoft-windows but no specific date.

We would really like to integrate the two systems, and preferably using the system that Opscode comes up with rather than rolling our own. Is it possible to have a look at what you are doing and / or help to develop / debug it?

Thank you very much.

Regards,

Russell Seymour

Senior Platform Engineer

07526 495 178 – Mobile

020 7756 1000 – Reception

ASOS is a CarbonNeutral® company

Registered Office: ASOS.com Ltd, Greater London House, Hampstead Road, London, NW1 7FB

ASOS.com Ltd is a wholly owned subsidiary of ASOS plc. Registered in England 3584121.

The information in this internet email is confidential and is intended solely for the addressee. Access copying or re-use of information in it by anyone else is unauthorised. Any views or opinions presented are solely those of the author and do not necessarily represent those of ASOS plc or any of its affiliates. If you are not the intended recipient please contact the sender.


#4

Hi Bjoern,

Adam Edwards and I were just talking about this last week, and we have a
fair amount of work to do before the DSC integration is in a decent shape
to release. The demo earlier this year was very much a PoC … you know how
it goes :slight_smile:

We also have to deal with issues like getting PowerShell 4.0 onto boxes.
You’re welcome to hack on that part if you want (extending the Powershell
cookbook for it)

We hope to have some time to work on it in December, with a release in
January.

  • Julian

On Fri, Nov 8, 2013 at 11:43 AM, bjunity@gmail.com bjunity@gmail.comwrote:

Hi Russell,

i’am the one who was asking this question back in September. I’m
considering hacking the dsc + chef integration quick-n-dirty , but it
wouldn’t be very flexible and extensible.

Maybe Adam(Edwards) can jump in and told us about the current state. I
would like to contribute/test, too.


Bjoern

2013/11/8 Russell Seymour RussellSeymour@asos.com

Good afternoon,

We are looking to use Chef to help configure our large Windows
Development environment. I have been using Chef for several years now so
fully understand its benefits. As DSC is now emerging as a system to
configure Windows machines I have been looking at the integration between
the two.

I have seen the video given (link from
http://www.opscode.com/blog/2013/08/19/opscode-chef-delivers-robust-open-source-automation-platform-for-windows-environments/)
about how Chef and DSC can be used together. I note that the was a
Provider that was shown called ‘dsc_configuration_script’ and I was
wondering when this would be available in Chef to use.

I appreciate that someone asked this same question back in September (
http://lists.opscode.com/sympa/arc/chef/2013-09/msg00247.html).

There is another slide show that states that Chef and DSC integration
should be coming late 2013, on slide 4 -
http://www.slideshare.net/opscode/opscode-webinar-cooking-with-chef-on-microsoft-windowsbut no specific date.

We would really like to integrate the two systems, and preferably using
the system that Opscode comes up with rather than rolling our own. Is it
possible to have a look at what you are doing and / or help to develop /
debug it?

Thank you very much.

Regards,

Russell Seymour

Senior Platform Engineer

07526 495 178 – Mobile

020 7756 1000 – Reception

ASOS is a CarbonNeutral® company

[image: Description: ASOS] http://www.asos.com/[image: Description:
Facebook] https://www.facebook.com/ASOS?ref=tn_tnmn[image:
Description: cid:image003.png@01CE0EEA.D66CE540]https://plus.google.com/+ASOS/[image:
Description: cid:image004.png@01CE0EEA.D66CE540]http://instagram.com/asos[image:
Description: cid:image005.png@01CE0EEA.D66CE540]http://pinterest.com/asos/[image:
Description: cid:image006.png@01CE0EEA.D66CE540]https://twitter.com/asos[image:
Description: cid:image007.png@01CE0EEA.D66CE540]http://asoslive.tumblr.com/

Registered Office: ASOS.com Ltd, Greater London House, Hampstead Road,
London, NW1 7FB

ASOS.com Ltd is a wholly owned subsidiary of ASOS plc. Registered in
England 3584121.

The information in this internet email is confidential and is intended
solely for the addressee. Access copying or re-use of information in it by
anyone else is unauthorised. Any views or opinions presented are solely
those of the author and do not necessarily represent those of ASOS plc or
any of its affiliates. If you are not the intended recipient please contact
the sender.


[ Julian C. Dunn jdunn@aquezada.com * Sorry, I’m ]
[ WWW: http://www.aquezada.com/staff/julian * only Web 1.0 ]
[ gopher://sdf.org/1/users/keymaker/ * compliant! ]
[ PGP: 91B3 7A9D 683C 7C16 715F 442C 6065 D533 FDC2 05B9 ]


#5

I believe that last months windows release ( 6.3 ) ships with Powershell
4.0. I updated veewee for Server 2012 R2, so that might be a good place to
start; otherwise Windows Management Framework 4.0 will need to be installed.

-Greg

On Mon, Nov 18, 2013 at 12:28 PM, Julian C. Dunn jdunn@aquezada.com wrote:

Hi Bjoern,

Adam Edwards and I were just talking about this last week, and we have a
fair amount of work to do before the DSC integration is in a decent shape
to release. The demo earlier this year was very much a PoC … you know how
it goes :slight_smile:

We also have to deal with issues like getting PowerShell 4.0 onto boxes.
You’re welcome to hack on that part if you want (extending the Powershell
cookbook for it)

We hope to have some time to work on it in December, with a release in
January.

  • Julian

On Fri, Nov 8, 2013 at 11:43 AM, bjunity@gmail.com bjunity@gmail.comwrote:

Hi Russell,

i’am the one who was asking this question back in September. I’m
considering hacking the dsc + chef integration quick-n-dirty , but it
wouldn’t be very flexible and extensible.

Maybe Adam(Edwards) can jump in and told us about the current state. I
would like to contribute/test, too.


Bjoern

2013/11/8 Russell Seymour RussellSeymour@asos.com

Good afternoon,

We are looking to use Chef to help configure our large Windows
Development environment. I have been using Chef for several years now so
fully understand its benefits. As DSC is now emerging as a system to
configure Windows machines I have been looking at the integration between
the two.

I have seen the video given (link from
http://www.opscode.com/blog/2013/08/19/opscode-chef-delivers-robust-open-source-automation-platform-for-windows-environments/)
about how Chef and DSC can be used together. I note that the was a
Provider that was shown called ‘dsc_configuration_script’ and I was
wondering when this would be available in Chef to use.

I appreciate that someone asked this same question back in September (
http://lists.opscode.com/sympa/arc/chef/2013-09/msg00247.html).

There is another slide show that states that Chef and DSC integration
should be coming late 2013, on slide 4 -
http://www.slideshare.net/opscode/opscode-webinar-cooking-with-chef-on-microsoft-windowsbut no specific date.

We would really like to integrate the two systems, and preferably using
the system that Opscode comes up with rather than rolling our own. Is it
possible to have a look at what you are doing and / or help to develop /
debug it?

Thank you very much.

Regards,

Russell Seymour

Senior Platform Engineer

07526 495 178 – Mobile

020 7756 1000 – Reception

ASOS is a CarbonNeutral® company

[image: Description: ASOS] http://www.asos.com/[image: Description:
Facebook] https://www.facebook.com/ASOS?ref=tn_tnmn[image:
Description: cid:image003.png@01CE0EEA.D66CE540]https://plus.google.com/+ASOS/[image:
Description: cid:image004.png@01CE0EEA.D66CE540]http://instagram.com/asos[image:
Description: cid:image005.png@01CE0EEA.D66CE540]http://pinterest.com/asos/[image:
Description: cid:image006.png@01CE0EEA.D66CE540]https://twitter.com/asos[image:
Description: cid:image007.png@01CE0EEA.D66CE540]http://asoslive.tumblr.com/

Registered Office: ASOS.com Ltd, Greater London House, Hampstead
Road, London, NW1 7FB

ASOS.com Ltd is a wholly owned subsidiary of ASOS plc. Registered in
England 3584121.

The information in this internet email is confidential and is
intended solely for the addressee. Access copying or re-use of information
in it by anyone else is unauthorised. Any views or opinions presented are
solely those of the author and do not necessarily represent those of ASOS
plc or any of its affiliates. If you are not the intended recipient please
contact the sender.


[ Julian C. Dunn jdunn@aquezada.com * Sorry, I’m ]
[ WWW: http://www.aquezada.com/staff/julian * only Web 1.0 ]
[ gopher://sdf.org/1/users/keymaker/ * compliant! ]
[ PGP: 91B3 7A9D 683C 7C16 715F 442C 6065 D533 FDC2 05B9 ]


#6

Yes, I believe WMF 4.0 is also available for Server 2008 and Server 2008R2,
but the Powershell cookbook at present does not support adding this. We
would take patches to allow it to do so. :slight_smile:

The bento project also has an updated definition for Server 2012R2.

  • Julian

On Sun, Nov 17, 2013 at 6:54 PM, Greg Zapp greg.zapp@gmail.com wrote:

I believe that last months windows release ( 6.3 ) ships with Powershell
4.0. I updated veewee for Server 2012 R2, so that might be a good place to
start; otherwise Windows Management Framework 4.0 will need to be installed.

-Greg

On Mon, Nov 18, 2013 at 12:28 PM, Julian C. Dunn jdunn@aquezada.comwrote:

Hi Bjoern,

Adam Edwards and I were just talking about this last week, and we have a
fair amount of work to do before the DSC integration is in a decent shape
to release. The demo earlier this year was very much a PoC … you know how
it goes :slight_smile:

We also have to deal with issues like getting PowerShell 4.0 onto boxes.
You’re welcome to hack on that part if you want (extending the Powershell
cookbook for it)

We hope to have some time to work on it in December, with a release in
January.

  • Julian

On Fri, Nov 8, 2013 at 11:43 AM, bjunity@gmail.com bjunity@gmail.comwrote:

Hi Russell,

i’am the one who was asking this question back in September. I’m
considering hacking the dsc + chef integration quick-n-dirty , but it
wouldn’t be very flexible and extensible.

Maybe Adam(Edwards) can jump in and told us about the current state. I
would like to contribute/test, too.


Bjoern

2013/11/8 Russell Seymour RussellSeymour@asos.com

Good afternoon,

We are looking to use Chef to help configure our large Windows
Development environment. I have been using Chef for several years now so
fully understand its benefits. As DSC is now emerging as a system to
configure Windows machines I have been looking at the integration between
the two.

I have seen the video given (link from
http://www.opscode.com/blog/2013/08/19/opscode-chef-delivers-robust-open-source-automation-platform-for-windows-environments/)
about how Chef and DSC can be used together. I note that the was a
Provider that was shown called ‘dsc_configuration_script’ and I was
wondering when this would be available in Chef to use.

I appreciate that someone asked this same question back in September (
http://lists.opscode.com/sympa/arc/chef/2013-09/msg00247.html).

There is another slide show that states that Chef and DSC integration
should be coming late 2013, on slide 4 -
http://www.slideshare.net/opscode/opscode-webinar-cooking-with-chef-on-microsoft-windowsbut no specific date.

We would really like to integrate the two systems, and preferably using
the system that Opscode comes up with rather than rolling our own. Is it
possible to have a look at what you are doing and / or help to develop /
debug it?

Thank you very much.

Regards,

Russell Seymour

Senior Platform Engineer

07526 495 178 – Mobile

020 7756 1000 – Reception

ASOS is a CarbonNeutral® company

[image: Description: ASOS] http://www.asos.com/[image: Description:
Facebook] https://www.facebook.com/ASOS?ref=tn_tnmn[image:
Description: cid:image003.png@01CE0EEA.D66CE540]https://plus.google.com/+ASOS/[image:
Description: cid:image004.png@01CE0EEA.D66CE540]http://instagram.com/asos[image:
Description: cid:image005.png@01CE0EEA.D66CE540]http://pinterest.com/asos/[image:
Description: cid:image006.png@01CE0EEA.D66CE540]https://twitter.com/asos[image:
Description: cid:image007.png@01CE0EEA.D66CE540]http://asoslive.tumblr.com/

Registered Office: ASOS.com Ltd, Greater London House, Hampstead
Road, London, NW1 7FB

ASOS.com Ltd is a wholly owned subsidiary of ASOS plc. Registered in
England 3584121.

The information in this internet email is confidential and is
intended solely for the addressee. Access copying or re-use of information
in it by anyone else is unauthorised. Any views or opinions presented are
solely those of the author and do not necessarily represent those of ASOS
plc or any of its affiliates. If you are not the intended recipient please
contact the sender.


[ Julian C. Dunn jdunn@aquezada.com * Sorry, I’m ]
[ WWW: http://www.aquezada.com/staff/julian * only Web 1.0 ]
[ gopher://sdf.org/1/users/keymaker/ * compliant! ]
[ PGP: 91B3 7A9D 683C 7C16 715F 442C 6065 D533 FDC2 05B9 ]


[ Julian C. Dunn jdunn@aquezada.com * Sorry, I’m ]
[ WWW: http://www.aquezada.com/staff/julian * only Web 1.0 ]
[ gopher://sdf.org/1/users/keymaker/ * compliant! ]
[ PGP: 91B3 7A9D 683C 7C16 715F 442C 6065 D533 FDC2 05B9 ]